summaryrefslogtreecommitdiffstats
path: root/system/database
AgeCommit message (Collapse)AuthorFilesLines
2011-08-10Typecast limit and offset in the Database Driver to integers. Fixes ↵Phil Sturgeon1-2/+2
https://bitbucket.org/ellislab/codeigniter-reactor/issue/341/active-record-limit-function-have-sql#comment-597403
2011-08-10Fixed typo in ActiveRecord.Phil Sturgeon1-1/+1
2011-08-10Added field name wrappers (") in ↵Esen Sagynov2-6/+6
insert/update/replace/_process_fields/_create_table functions to avoid reserved word conflicts.
2011-08-10Added CUBRID Database DriverEsen Sagynov6-1/+1378
2011-08-10Fixed a bug where using this->db->select_max(), this->db->select_min(), etc ↵Phil Sturgeon1-1/+2
could throw notices. Thanks to w43l for the patch.
2011-08-09Merge pull request #29 from darkhouse/developPhil Sturgeon2-4/+12
Minor change to MySQL and MySQLi drivers.
2011-07-23Fixed having method to insert quotes.Adam Jackett1-1/+1
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.