summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
AgeCommit message (Collapse)AuthorFilesLines
2011-09-06Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into developTimothy Warren1-8/+11
2011-08-30Fixed issue #105 SQL log errorsNiklas Nilsson1-8/+11
Enabled logging database query errors even if $db_debug is not enabled.
2011-08-24Updated version function to use PDO constantTimothy Warren1-1/+1
2011-08-10Added CUBRID Database DriverEsen Sagynov1-1/+1
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-17/+17
broke the Typography class's string replacements, for instance
2011-04-25Fixed double-space typo.Razican1-17/+17
2011-04-19Removing internal references to the EXT constant. Additionally, marked the ↵Greg Aker1-3/+3
constant as deprecated. Use ".php" instead. Also adding upgrade notes from 2.0.2 to 2.0.3.
2011-02-14Whitespace cleanup in db classesPascal Kriete1-6/+6
2011-01-05Hey look, it's 2011Greg Aker1-1/+1
2010-11-10Updating PHP requirements in files 5.1.6Greg Aker1-1/+1
2010-10-04Cleanup of stray spaces and tabsBarry Mieny1-166/+166
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-03-03whitespace and changes to load_class() to use coreDerek Jones1-9/+9
2010-01-26Fixing bug in DB Driver where identifiers could be escaped in some drivers ↵Greg Aker1-1/+1
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 Jones1-1/+1
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-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-04-22updated copyrights to 2009Derek Jones1-1/+1
2009-02-20fixed docblockDerek Jones1-1/+1
2009-02-20added LIKE condition escaping to all drivers and Active RecordDerek Jones1-1/+18
updated all DB drivers to accept arrays in escape_str()
2009-02-11switched from gettype() to is_* for testing type in escape()Derek Jones1-9/+12
2009-02-10fixed a bug in the regex pattern to converts tabs and spaces into a single spaceDerek Jones1-1/+1
http://codeigniter.com/bug_tracker/bug/6662/
2009-02-03DB count_all() not returns an integer alwaysDerek Allard1-6/+21
Added some syntactical improvements within DB (braces) Fixed a bug when doing 'random' on order_by() (#5706). Fixed a bug where adding a primary key through Forge could fail (#5731). Fixed a bug when using DB cache on multiple databases (#5737).
2008-12-15Fixed a bug in database escaping where a compound statement (ie: SUM()) ↵Derek Allard1-11/+11
wasn't handled correctly with database prefixes.
2008-11-13Changing EOL style to LFDerek Allard1-1318/+1318
2008-10-26Fixed a bug in which identifers were not being escaped properly when ↵Rick Ellis1-1/+1
reserved characters were used
2008-10-26Fixed some typosRick Ellis1-1/+1
2008-10-22Fixed a bug in the table_exists functionRick Ellis1-1/+1
2008-10-17Fixed bug: 5043Rick Ellis1-1/+1
2008-10-17Fixed an error reporting bug: 4900Rick Ellis1-1/+1
2008-10-17Fixed a number of bug reports related to table/db names not being escaped or ↵Rick Ellis1-112/+222
prefixed correctly.
2008-10-09moved call to $RES->num_rows() further down in code so that oracle-specific ↵Derek Jones1-1/+3
class variables would be set properly as needed before executing
2008-10-07Fixed a bug (#2985) in which multiple queries using a single request were ↵Rick Ellis1-0/+1
not being honored
2008-09-30Added backticks to column names when using insert_string and update_string. ↵Rick Ellis1-3/+2
Relates to this bug report: http://codeigniter.com/bug_tracker/bug/4509/
2008-09-13updated copyrightRick Ellis1-1/+1
2008-08-21whitespace fixesDerek Allard1-12/+12
a minor re-ordering of the changelog
2008-05-18Moved the _has_operators() function into DB_driver from DB_active_rec.Derek Allard1-0/+22
2008-05-14set $DB->char_set and $DB->dbcollat defaults to utf8 and utf8_general_ci ↵Derek Jones1-2/+2
respectively
2008-05-14fixed bug #3419 where the 'database' setting for DSN connections was using ↵Derek Jones1-0/+2
the host portion of the URL instead of the path. Added ability to set other db config values in DSN connections via query string
2008-05-13hotfix for a bug in database error display introduced by 1.6.2 fix for bugs ↵Derek Jones1-3/+8
#4451, #4299, and #4339
2008-05-13Some sweeping syntax changes for consistency:Derek Jones1-4/+4
(! foo) changed to ( ! foo) || changed to OR changed newline standardization code in various places from preg_replace to str_replace
2008-05-12(no commit message)Rick Ellis1-22/+57
2008-05-12passed db object by reference to DB Cache class, and changed the cache class ↵Derek Jones1-1/+1
to use that db object instead of $CI->db, to support returned db objects and multiple db connections http://codeigniter.com/bug_tracker/bug/4223/
2008-05-12changed class instantiations to reference global $LANG and fetch existing ↵Derek Jones1-14/+7
Exceptions class, and added language variable for database error heading http://codeigniter.com/bug_tracker/bug/4421/
2008-05-11Removed closing PHP tags, replaced with a comment block identifying the end ↵Derek Jones1-1/+3
of the file
2008-05-11Undoing change committed in r1115Derek Jones1-0/+1
2008-05-11removed closing PHP tag from all framework filesDerek Jones1-1/+0
2008-05-08added SET to the list of write type queriesDerek Jones1-1/+1
2008-05-07Added checks for objects in DB driver instead of just resources to ↵Derek Jones1-2/+2
accommodate MySQLi, and fixed check in mysqli_result.php checking for a resource. http://codeigniter.com/bug_tracker/bug/3461/
2008-05-05Added get_dir_file_info(), get_file_info(), and get_mime_by_extension() to ↵Derek Allard1-20/+20
the File Helper. Changed ( ! condition) into (! condition) within the code