summaryrefslogtreecommitdiffstats
path: root/system/database
AgeCommit message (Collapse)AuthorFilesLines
2011-07-23Fixed mysql and mysqli drivers to set NOT NULL as default for creating ↵Adam Jackett2-4/+12
fields. All other drivers were correct.
2011-07-16Fixed missing table prefixes in Database Forge Class rename_table() methodZac Wasielewski1-1/+1
2011-07-15... set_dbprefix(). Programatically set the prefix, great for multi-site ↵Phil Sturgeon1-0/+15
systems that "namespace" with prefixes.
2011-07-15Was working on this file so PHP5ified the method visibility scopes. ↵Phil Sturgeon1-154/+106
Pointless, but was adding...
2011-07-02hand merged remaining unresolved files following the backout of ↵Derek Jones5-67/+96
648b42a75739, which was a NON-trivial whitespace commit
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones35-241/+241
broke the Typography class's string replacements, for instance
2011-07-02hand merged remaining unresolved files following the backout of ↵Derek Jones35-203/+203
648b42a75739, which was a NON-trivial whitespace commit
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones35-241/+241
broke the Typography class's string replacements, for instance
2011-06-15Merged Alex Bilbies MSSQL changes.philsturgeon35-280/+330
2011-05-20modified the 'use_set_names' variable in the MySQL/i drivers to be a class ↵Derek Jones2-10/+12
property instead of static, in case multiple database servers are connected to in a single request. Also clarified description of the 'dbcollat' setting in the configuration files
2011-05-06Fix #275 -- regression in db::_compile_select(). Thanks @patwork for the patchGreg Aker1-11/+15
2011-04-27merging in changesGreg Aker35-242/+247
2011-04-27Added insert_batch() function to the PostgreSQL database driver. Thanks to ↵Greg Aker1-0/+18
epallerols for the patch.
2011-04-25Fixed double-space typo.Razican35-241/+241
2011-04-23typo in modification to MySQLi driver. Fixes #236Derek Jones1-1/+1
2011-04-20Fixed a bug (Core #340) where when passing in the second parameter to ↵Greg Aker1-12/+8
$this->db->select(), column names in subsequent queries would not be properly escaped.
2011-04-19modified MySQL and MySQLi drivers to address a potential SQL injection ↵Derek Jones2-2/+32
attack vector when multi-byte character set connections are employed. (Does not impact Latin-1, UTF-8, etc. encodings)
2011-04-19Removing internal references to the EXT constant. Additionally, marked the ↵Greg Aker2-9/+9
constant as deprecated. Use ".php" instead. Also adding upgrade notes from 2.0.2 to 2.0.3.
2011-04-25Fixing up a tabs vs spaces inconsistency in DB_ResultGreg Aker1-39/+44
2011-04-06Made Environment Support optional. Comment out or delete the constant to ↵Phil Sturgeon1-9/+4
stop environment checks.
2011-04-02Fixed issue #153 Escape Str Bug in MSSQL driverPhil Sturgeon1-3/+5
2011-03-25Fixed merge.Phil Sturgeon1-3/+3
2011-03-22->db->count_all_results() will now return an integer instead of a string.Phil Sturgeon1-2/+2
2011-03-18UpdatesAlex Bilbie2-145/+81
2011-03-18Renamed some classes in the driverAlex Bilbie4-8/+8
2011-03-13Updated affected_rowsAlex Bilbie1-1/+1
2011-03-13Added flag to return dates as strings instead of PHP date objects. Updated ↵Alex Bilbie1-3/+3
db_select
2011-03-10Think I've finished converting mssql commands to sqlsrv where appropriateAlex Bilbie2-11/+9
2011-03-10Added sqlsrv folder, added necessary files, started altering queries in ↵Alex Bilbie5-0/+1179
sqlsrv_driver.php
2011-03-08Fixed bug in escaping underscores etc in MSSQL LIKE conditions.davidhart1-3/+3
2011-02-15Better potential fix for escaping MySQL keywords with backticks on ↵Phil Sturgeon1-2/+2
insert/update.
2011-02-14Whitespace cleanup in db classesPascal Kriete12-33/+33
2011-02-14Uppercasing some stray lowercase keywords for code consistencyPascal Kriete2-7/+7
2011-02-09Reverted recent MySQL backtick escaping as some queries were double-escaping.Phil Sturgeon1-4/+4
2011-02-08MySQL Driver will now wrap field names for insert(), update() and replace() ↵Phil Sturgeon1-8/+8
with backticks (`) so fields like "default" and "order" will not cause SQL errors.
2011-02-02Merged recent changes and tweaked multi-env changes.Phil Sturgeon35-61/+244
2011-01-27Automated merge with https://bitbucket.org/ellislab/codeigniterPhil Sturgeon3-15/+99
2011-01-16Changed loading process for database config to check for config for the set ↵joelcox1-1/+15
environment first.
2011-01-16sharing some work on model instancesJohn Crepezzi1-11/+74
2011-01-07Automated merge with http://hg.ellislab.com/CodeIgniter2Pascal Kriete35-50/+101
2011-01-07Adding batch insert and batch update to the mysqli driver.Pascal Kriete1-0/+69
2011-01-05Hey look, it's 2011Greg Aker35-35/+35
2011-01-05Use arrays in DBForge for constraint for things like decimal, float, ↵Phil Sturgeon1-4/+19
numeric, enum and set.
2010-12-21Fix #93 Updating postgres dbforge create table method. Thanks to James ↵Greg Aker1-15/+66
Gifford for the patch. http://codeigniter.com/forums/viewthread/73392/
2010-12-15Name can be omiitted from ->dbforge->modify_column()'s 2nd param if you ↵Phil Sturgeon1-0/+6
aren't changing the name.
2010-11-10Removing instantiate_class(), which was needed to make php 4 and 5.3 play ↵Pascal Kriete1-1/+1
together nicely. Removed all instantiations by reference.
2010-11-10Updating PHP requirements in files 5.1.6Greg Aker35-35/+35
2010-10-04Cleanup of stray spaces and tabsBarry Mieny32-1162/+1162
2010-09-16Added $ar_keys clearing out to _reset_write().Robin Sowell1-2/+4
2010-08-25Modified the database driver's display_error() method to show the filename ↵Pascal Kriete1-0/+18
and line number of the failed query.