summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
AgeCommit message (Collapse)AuthorFilesLines
2016-10-31Merge pull request #4886 from tianhe1986/develop_dbdriver_quoteAndrey Andreev1-1/+1
Detect double-quoted strings in DB::compile_binds()
2016-10-22Allow binding 0, null out of array in query()Andrey Andreev1-1/+1
2016-02-04[ci skip] fix commentClaudio Galdiolo1-1/+1
2016-01-27Fix #4401Andrey Andreev1-4/+4
2016-01-11[ci skip] Update ellislab.com links to https tooAndrey Andreev1-1/+1
2016-01-11[ci skip] Update codeigniter.com links to httpsAndrey Andreev1-2/+2
2016-01-11[ci skip] Bump year to 2016Andrey Andreev1-2/+2
2016-01-11Merge pull request #4369 from galdiolo/patch-12Andrey Andreev1-10/+6
Optimize transactions check in CI_DB_driver::query()
2015-12-14Close #4313Andrey Andreev1-0/+12
2015-11-09Merge pull request #4223 from j0inty/developAndrey Andreev1-1/+4
CI_DB_driver->simple_query() to check initialize() return value
2015-10-19Fix #4171 and a number of other transaction bugsAndrey Andreev1-24/+91
2015-09-14Fix #4032Andrey Andreev1-5/+8
2015-09-03Fix #4096Andrey Andreev1-1/+1
2015-09-01There was an extra = sign in this fileMarco Monteiro1-1/+1
2015-08-31Fix #4086Andrey Andreev1-13/+13
2015-08-20Fix #4065Andrey Andreev1-1/+1
2015-08-07[ci skip] Partial patch for #2284Andrey Andreev1-2/+5
The issue description is about update_string(), which I'm not sure if can be fixed at all. This patch only addresses protect_identifiers().
2015-08-05Fix #4026Andrey Andreev1-1/+4
2015-08-03[ci skip] Normalize tabs/spacesAndrey Andreev1-3/+3
Partial changes from PR #4016
2015-06-29Close #3934Andrey Andreev1-1/+1
2015-04-29Add list_fields() support for SQLite3Andrey Andreev1-1/+1
2015-02-19Fix postgre driver configAndrey Andreev1-1/+0
2015-02-19Remove 'autoinit' DB settingAndrey Andreev1-9/+1
It doesn't make sense to do a load->database() call but not connect to the database. IIRC there was more stuff in CI_DB_driver::initialize() at some point, so that was probably the reason why the setting existed in the first place. However, now it only results in users making invalid bug reports because they don't understand the feature ... Examples during just the past 2 weeks: #3571 #3601 #3607
2015-02-04Fixed inconsistent return typesGabriel Potkány1-1/+1
2015-01-29fix typo in commentsClaudio Galdiolo1-1/+1
2015-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-20[ci skip] Change some log messages' levelAndrey Andreev1-1/+1
'Class Loaded' type of messages flood log files when log_threshold is set to 2 (debug). They're now logged as 'info' level. This is manually applying PR #1528, which was created to do the same thing, but became outdated.
2015-01-09Bulk (mostly documentation) updateAndrey Andreev1-3/+3
- Remove PHP version from license notices - Bump year number in copyright notices - Recommend PHP 5.4 or newer to be used - Tell Travis-CI to test on PHP 5.3.0 instead of the latest 5.3 version Related: #3450
2015-01-05Fix #3460Andrey Andreev1-1/+1
2015-01-05Polish changes following PR #3416Andrey Andreev1-22/+26
2014-12-16User Guide - DB Driver ReferenceJames L Parry1-5/+5
First stab at DB driver reference. Methods are listed in order encountered in the source file. Parameter or return types in DB_driver updated as needed, and reflected here. TOC entry added to bottom of database index page. Signed-off-by:James L Parry <jim_parry@bcit.ca>
2014-12-02Regressions ... #3380 #3194 ab9217e316a79bc8fab2840c8f5bd2b9bc7a4dc0Andrey Andreev1-2/+3
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
2014-10-20Escape the array elements separately and join them in compile_binds()clawoo1-2/+7
2014-10-18Escape arrays sent as binding values for database queries.clawoo1-1/+6
2014-09-17Fix #3238Andrey Andreev1-3/+2
Close #3239
2014-04-30Added `_trans_failure` property to fix PHP Warning.Ahmedul Haque Abid1-0/+9
2014-04-09Removed BOMEtki1-1/+1
2014-04-09MicrofixEtki1-7/+1
cleaned `return true; return true;` construction
2014-03-13Partially revert PR #2190Andrey Andreev1-1/+1
The core shouldn't depend on constants that are not defined by itself
2014-02-27Call db_connect(TRUE) instead of db_pconnect() + some style changesAndrey Andreev1-18/+22
2014-02-26More removal of error suppression usageAndrey Andreev1-7/+4
2014-02-25Make db_pconnect an alias for db_connect(TRUE) and reduce code repetitionAndrey Andreev1-0/+12
2014-02-112013 > 2014darwinel1-1/+1
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2014-01-07A tiny regexp improvement for CI_DB_driver::is_write_type()Andrey Andreev1-1/+1
2013-12-20Polishing changes from #PR #2781Andrey Andreev1-3/+3
Looks like an unnecessary commit was made by the author just as I was clicking the Merge button. :)
2013-12-19so we need \sNOT EXISTSTufan Barış YILDIRIM1-1/+1
2013-12-19changed EXISTS / NOT EXISTS patternTufan Barış YILDIRIM1-3/+3
@narfbg "It has parenthesis, so use the IN / NOT IN pattern as a base."
2013-12-19EXISTS / NOT EXISTS clause support for DB_driverTufan Barış YILDIRIM1-3/+3
2013-12-19EXISTS / NOT EXISTS clause support for DB_driverTufan Barış YILDIRIM1-2/+4