summaryrefslogtreecommitdiffstats
path: root/system/database
AgeCommit message (Collapse)AuthorFilesLines
2014-02-25Remove error suppression usage from db_connect()Andrey Andreev6-10/+10
2014-02-25Make db_pconnect an alias for db_connect(TRUE) and reduce code repetitionAndrey Andreev13-214/+51
2014-02-20Don't use error suppression with ini_set()Andrey Andreev1-1/+1
2014-02-112013 > 2014darwinel79-79/+79
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2014-02-09Style Guidedarwinel1-1/+1
Logical Operators Use of || is discouraged as its clarity on some output devices is low (looking like the number 11 for instance). && is preferred over AND but either are acceptable, and a space should always precede and follow !
2014-02-06Typo FixVivek Dinesh1-1/+1
Signed-off-by: Vivek Dinesh <vivekdinesh5@gmail.com>
2014-02-05Fix #2856Andrey Andreev1-1/+1
2014-01-30Previous 2 commits were just dumbAndrey Andreev1-1/+1
2014-01-30Fix a syntax error from last commitAndrey Andreev1-1/+1
2014-01-30Some fail-safe pdo_pgsql adjustmentsAndrey Andreev2-2/+7
2014-01-23Fix #2836Andrey Andreev1-1/+1
2014-01-21Merge branch 'feature/dbforge_table_attributes' into developAndrey Andreev4-23/+103
2014-01-21SQLSRV improvementsAndrey Andreev2-3/+66
Mainly for performance (issue #2474), but also added a 'scrollable' configuration flag and auto-detection for SQLSRV_CURSOR_CLIENT_BUFFERED (only available since SQLSRV 3).
2014-01-20Add support for optional table attributes to CI_DB_forge::create_table()Andrey Andreev4-23/+103
Supersedes PRs #989, #2776 Related issue: #41
2014-01-08Optimize get_instance() calls/assignmentsAndrey Andreev1-2/+1
2014-01-07A tiny regexp improvement for CI_DB_driver::is_write_type()Andrey Andreev3-3/+3
2014-01-06Fix #2579: Query Builder's "no escape" functionality didn't work properly ↵Andrey Andreev1-4/+17
with query cache
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
2013-12-19EXISTS / NOT EXISTS clause support for DB_query_builder.Tufan Barış YILDIRIM1-2/+4
2013-12-18Use table name as a prefix for index namesmjnaderi1-3/+2
2013-12-18Cleanup DB_forge _process_indexesmjnaderi1-1/+2
2013-12-18Cleanup DB_forge _process_indexesmjnaderi1-1/+0
2013-12-14DB call_function() bug : funny typo -or- smart autocomplete?Kakysha1-1/+1
2013-12-10Fix a bug where DB() tried to set the MySQL-specific 'sql_mode' on all driversAndrey Andreev4-5/+49
Supersedes PR #2756
2013-11-27[ci skip] Remove a few more spacesAndrey Andreev1-1/+1
2013-11-17Small docblock fixvlakoff1-1/+1
2013-11-12[ci skip] Remove some whitespace charsAndrey Andreev1-3/+2
2013-11-11Cleanup PR #2719GDmac1-5/+2
for Fix #2406 query builder cache Signed-off-by: GDmac <grdalenoort@gmail.com>
2013-11-08Fix #2406 query builder cacheGDmac1-6/+10
Signed-off-by: GDmac <grdalenoort@gmail.com>
2013-10-29Fix a bug when multiple calls to QB's _compile_wh() or _compile_group_by() ↵Andrey Andreev1-1/+12
are required
2013-10-28Really fix #2703Andrey Andreev1-1/+1
2013-10-28Fix #2703Andrey Andreev1-1/+17
2013-10-28Fixing the dumbest parser error everAndrey Andreev1-1/+1
2013-10-28Fix CI_DB_query_builder::_merge_cache() triggering E_WARNINGsAndrey Andreev1-3/+5
Kudos to kakysha for noting the bug & providing initial fix in PR #2698
2013-10-21Fix #2691Andrey Andreev1-1/+8
2013-10-17Replace the last rand() with mt_rand()vlakoff1-1/+1
Better entropy, faster. Also fixed a few "it's" typos.
2013-09-13Fix a PostgreSQL string escaping bug and use pg_escape_literal() when possibleAndrey Andreev1-2/+6
2013-09-13Update MySQLi to use the PHP API for transactions, where possibleAndrey Andreev1-9/+18
2013-09-11Really fix #2490, rel: #2629Andrey Andreev2-2/+2
2013-09-10Add support for UPDATE ... RETURNING statements in PostgreSQLAndrey Andreev2-2/+2
An improved version of PR #2629. Also removes REPLACE from the regular expression, as it is not supported by PostgreSQL.
2013-09-08Merge pull request #2627 from vlakoff/develop-3Andrey Andreev3-3/+3
Adjust a few phpdoc in query builder code
2013-09-08Adjust a few phpdoc in query builder codevlakoff3-3/+3
2013-09-08Code cleanup in db->order_by()vlakoff1-1/+1
2013-08-06Various typos and tabs adjustmentsvlakoff2-2/+2
2013-08-06Fix #2585Andrey Andreev1-1/+1
2013-08-06Fix #2501 & another -related bugAndrey Andreev2-1/+4