summaryrefslogtreecommitdiffstats
path: root/system/database
AgeCommit message (Collapse)AuthorFilesLines
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.
2010-08-06Removed deprecated _drop_database() and _create_database() functions from db ↵Greg Aker7-267/+0
utility drivers.
2010-08-06Removing the following deprecated database methods: orwhere, orlike, ↵Greg Aker1-73/+1
groupby, orhaving, orderby, getwhere.
2010-04-15Fixing a bug where odbc/mssql/oci8 db drivers would encounter a PHP error ↵Greg Aker3-12/+3
due to a function being moved from the input to security class. Moving remove_invisible_characters() to Common.php so the entire class does not need to be instantiated in those database drivers.
2010-03-30fixed a fatal PHP error in SQLite Forge _create_table()Derek Jones1-1/+1
2010-03-11full on scaffolding removalDerek Jones1-2/+2
2010-03-03added stricton db config item to force strict mode - good for ensuring ↵Derek Jones1-0/+5
strict sql during development
2010-03-03added batch insert/update and replace methods to MySQL driverDerek Jones1-0/+92
2010-03-03whitespaceDerek Jones1-2/+3
2010-03-03whitespace and changes to load_class() to use coreDerek Jones1-9/+9
2010-03-03added batch insert/update and a replace method to active recordDerek Jones1-2/+325
2010-02-05display_error in driver needs no db referenceDerek Allard2-4/+4
2010-02-04fixing a series of errors in (ironically) error display in some database driversDerek Allard3-5/+5
2010-02-04database_exists extension to allow for databases without list_databases() ↵Derek Allard1-2/+13
functionality
2010-02-04database exists function in dbutilDerek Allard1-0/+14
2010-01-26Misspelled class property in db class. _like_escape_chr, not _like_escape_charGreg Aker6-6/+6
http://codeigniter.com/bug_tracker/bug/9518/
2010-01-26Fixing bug in DB Driver where identifiers could be escaped in some drivers ↵Greg Aker3-3/+3
that can't accept it in the list_fields() function. http://codeigniter.com/bug_tracker/bug/5865/ http://codeigniter.com/bug_tracker/bug/11218/
2010-01-05updated copyrightsDerek Jones35-35/+35
2009-12-16Change to CI's db->version() function to allow a list of exceptions for dbs ↵Derek Allard1-5/+11
with functions to return version string, vs SQL queries to return version strings. Currently this list only includes Oracle and SQLite.
2009-12-05fixed bug where active record override wasn't being honored properlyDerek Jones1-3/+3
2009-10-13numerous changes from DIR_WRITE_MODE to FILE_WRITE_MODEDerek Jones1-1/+1
chmod operations on files were using the DIR_ constant permisisons
2009-08-24updating xml_from_result to check for list_fields instead of field_namesPascal Kriete1-1/+1
2009-08-17Modified MSSQL driver to use mssql_get_last_message() for error messages.Derek Allard1-2/+1
2009-07-29PHP 5.3.0 compatibility changesDerek Jones1-1/+1
2009-07-11fixed a bug with _protect_identifiers() and db/swap prefixes. It was ↵Derek Jones1-1/+13
appending the prefix, but not accounting for the need to swap
2009-05-03bug fix and typo fixesDerek Allard1-1/+1
2009-04-22updated copyrights to 2009Derek Jones35-35/+35
2009-03-04Altered modify_column and add_column to loop through multiple fields rather ↵Robin Sowell1-18/+38
than returning after first field.
2009-02-27added reconnect() method to db driversDerek Jones7-0/+121
2009-02-20updated _list_tables() in db drivers to escape the db prefix for LIKE wildcardsDerek Jones7-7/+7
2009-02-20fixed docblockDerek Jones1-1/+1
2009-02-20added LIKE condition escaping to all drivers and Active RecordDerek Jones9-26/+211
updated all DB drivers to accept arrays in escape_str()
2009-02-20$CI->_remove_invisible_characters($str);Derek Jones1-1/+1
fixed to $CI->input->_remove_invisible_characters($str);