summaryrefslogtreecommitdiffstats
path: root/system/database
AgeCommit message (Collapse)AuthorFilesLines
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-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-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.
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