Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-02-09 | Fixed PDO | Taufan Aditya | 1 | -14/+13 | |
2012-01-27 | Improve the MySQLi database driver | Andrey Andreev | 1 | -1/+1 | |
2012-01-02 | Updating copyright date to 2012 | Greg Aker | 1 | -1/+1 | |
2011-12-01 | This fixes issue #725 | Repox | 1 | -1/+8 | |
2011-11-29 | The DB_driver can now use failover databases if specified | Felix Balfoort | 1 | -5/+32 | |
The DB_driver can now use failover databases if specified. If the main connection shouldn't connect for some reason the DB_driver will now try to connect to specified connections in the failover config. Example config: $db['default']['hostname'] = 'localhost'; $db['default']['username'] = ''; $db['default']['password'] = ''; $db['default']['database'] = ''; $db['default']['dbdriver'] = 'mysql'; $db['default']['dbprefix'] = ''; $db['default']['pconnect'] = TRUE; $db['default']['db_debug'] = TRUE; $db['default']['cache_on'] = FALSE; $db['default']['cachedir'] = ''; $db['default']['char_set'] = 'utf8'; $db['default']['dbcollat'] = 'utf8_general_ci'; $db['default']['swap_pre'] = ''; $db['default']['autoinit'] = TRUE; $db['default']['stricton'] = FALSE; $db['default']['failover'] = array(); $db['default']['failover'][0]['hostname'] = 'localhost1'; $db['default']['failover'][0]['username'] = ''; $db['default']['failover'][0]['password'] = ''; $db['default']['failover'][0]['database'] = ''; $db['default']['failover'][0]['dbdriver'] = 'mysql'; $db['default']['failover'][0]['dbprefix'] = ''; $db['default']['failover'][0]['pconnect'] = TRUE; $db['default']['failover'][0]['db_debug'] = TRUE; $db['default']['failover'][0]['cache_on'] = FALSE; $db['default']['failover'][0]['cachedir'] = ''; $db['default']['failover'][0]['char_set'] = 'utf8'; $db['default']['failover'][0]['dbcollat'] = 'utf8_general_ci'; $db['default']['failover'][0]['swap_pre'] = ''; $db['default']['failover'][0]['autoinit'] = TRUE; $db['default']['failover'][0]['stricton'] = FALSE; $db['default']['failover'][0]['failover'] = array(); $db['default']['failover'][1]['hostname'] = 'localhost2'; $db['default']['failover'][1]['username'] = ''; $db['default']['failover'][1]['password'] = ''; $db['default']['failover'][1]['database'] = ''; $db['default']['failover'][1]['dbdriver'] = 'mysql'; $db['default']['failover'][1]['dbprefix'] = ''; $db['default']['failover'][1]['pconnect'] = TRUE; $db['default']['failover'][1]['db_debug'] = TRUE; $db['default']['failover'][1]['cache_on'] = FALSE; $db['default']['failover'][1]['cachedir'] = ''; $db['default']['failover'][1]['char_set'] = 'utf8'; $db['default']['failover'][1]['dbcollat'] = 'utf8_general_ci'; $db['default']['failover'][1]['swap_pre'] = ''; $db['default']['failover'][1]['autoinit'] = TRUE; $db['default']['failover'][1]['stricton'] = FALSE; $db['default']['failover'][1]['failover'] = array(); Signed-off-by: Felix Balfoort <fhjbalfoort@gmail.com> | |||||
2011-11-22 | Updated trans_start() and trans_complete() so that _trans_depth increments ↵ | Jacob Terry | 1 | -0/+5 | |
correctly Fix for issue #159 and #163. | |||||
2011-10-20 | adding new license file (OSL 3.0) and updating readme to ReST | Derek Jones | 1 | -4/+16 | |
added notice of license to all source files. OSL to all except the few files we ship inside of the application folder, those are AFL. Updated license in user guide. incrementing next dev version to 3.0 due to licensing change | |||||
2011-10-10 | Converted database constructors to PHP5 type | Timothy Warren | 1 | -1/+1 | |
2011-09-28 | Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into develop | Timothy Warren | 1 | -2/+3 | |
2011-09-24 | Skip is_array() check | Andrey Andreev | 1 | -1/+1 | |
2011-09-24 | Fix a variable type mismatch (issue #89) in system/database/DB_driver.php | Andrey Andreev | 1 | -1/+1 | |
2011-09-24 | Escape WHERE clause field names in the DB update_string() method | Andrey Andreev | 1 | -1/+2 | |
2011-09-06 | Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into develop | Timothy Warren | 1 | -8/+11 | |
2011-08-30 | Fixed issue #105 SQL log errors | Niklas Nilsson | 1 | -8/+11 | |
Enabled logging database query errors even if $db_debug is not enabled. | |||||
2011-08-24 | Updated version function to use PDO constant | Timothy Warren | 1 | -1/+1 | |
2011-08-10 | Added CUBRID Database Driver | Esen Sagynov | 1 | -1/+1 | |
2011-07-02 | backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵ | Derek Jones | 1 | -17/+17 | |
broke the Typography class's string replacements, for instance | |||||
2011-04-25 | Fixed double-space typo. | Razican | 1 | -17/+17 | |
2011-04-19 | Removing internal references to the EXT constant. Additionally, marked the ↵ | Greg Aker | 1 | -3/+3 | |
constant as deprecated. Use ".php" instead. Also adding upgrade notes from 2.0.2 to 2.0.3. | |||||
2011-02-14 | Whitespace cleanup in db classes | Pascal Kriete | 1 | -6/+6 | |
2011-01-05 | Hey look, it's 2011 | Greg Aker | 1 | -1/+1 | |
2010-11-10 | Updating PHP requirements in files 5.1.6 | Greg Aker | 1 | -1/+1 | |
2010-10-04 | Cleanup of stray spaces and tabs | Barry Mieny | 1 | -166/+166 | |
2010-08-25 | Modified the database driver's display_error() method to show the filename ↵ | Pascal Kriete | 1 | -0/+18 | |
and line number of the failed query. | |||||
2010-03-03 | whitespace and changes to load_class() to use core | Derek Jones | 1 | -9/+9 | |
2010-01-26 | Fixing bug in DB Driver where identifiers could be escaped in some drivers ↵ | Greg Aker | 1 | -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-05 | updated copyrights | Derek Jones | 1 | -1/+1 | |
2009-12-16 | Change to CI's db->version() function to allow a list of exceptions for dbs ↵ | Derek Allard | 1 | -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-11 | fixed a bug with _protect_identifiers() and db/swap prefixes. It was ↵ | Derek Jones | 1 | -1/+13 | |
appending the prefix, but not accounting for the need to swap | |||||
2009-04-22 | updated copyrights to 2009 | Derek Jones | 1 | -1/+1 | |
2009-02-20 | fixed docblock | Derek Jones | 1 | -1/+1 | |
2009-02-20 | added LIKE condition escaping to all drivers and Active Record | Derek Jones | 1 | -1/+18 | |
updated all DB drivers to accept arrays in escape_str() | |||||
2009-02-11 | switched from gettype() to is_* for testing type in escape() | Derek Jones | 1 | -9/+12 | |
2009-02-10 | fixed a bug in the regex pattern to converts tabs and spaces into a single space | Derek Jones | 1 | -1/+1 | |
http://codeigniter.com/bug_tracker/bug/6662/ | |||||
2009-02-03 | DB count_all() not returns an integer always | Derek Allard | 1 | -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-15 | Fixed a bug in database escaping where a compound statement (ie: SUM()) ↵ | Derek Allard | 1 | -11/+11 | |
wasn't handled correctly with database prefixes. | |||||
2008-11-13 | Changing EOL style to LF | Derek Allard | 1 | -1318/+1318 | |
2008-10-26 | Fixed a bug in which identifers were not being escaped properly when ↵ | Rick Ellis | 1 | -1/+1 | |
reserved characters were used | |||||
2008-10-26 | Fixed some typos | Rick Ellis | 1 | -1/+1 | |
2008-10-22 | Fixed a bug in the table_exists function | Rick Ellis | 1 | -1/+1 | |
2008-10-17 | Fixed bug: 5043 | Rick Ellis | 1 | -1/+1 | |
2008-10-17 | Fixed an error reporting bug: 4900 | Rick Ellis | 1 | -1/+1 | |
2008-10-17 | Fixed a number of bug reports related to table/db names not being escaped or ↵ | Rick Ellis | 1 | -112/+222 | |
prefixed correctly. | |||||
2008-10-09 | moved call to $RES->num_rows() further down in code so that oracle-specific ↵ | Derek Jones | 1 | -1/+3 | |
class variables would be set properly as needed before executing | |||||
2008-10-07 | Fixed a bug (#2985) in which multiple queries using a single request were ↵ | Rick Ellis | 1 | -0/+1 | |
not being honored | |||||
2008-09-30 | Added backticks to column names when using insert_string and update_string. ↵ | Rick Ellis | 1 | -3/+2 | |
Relates to this bug report: http://codeigniter.com/bug_tracker/bug/4509/ | |||||
2008-09-13 | updated copyright | Rick Ellis | 1 | -1/+1 | |
2008-08-21 | whitespace fixes | Derek Allard | 1 | -12/+12 | |
a minor re-ordering of the changelog | |||||
2008-05-18 | Moved the _has_operators() function into DB_driver from DB_active_rec. | Derek Allard | 1 | -0/+22 | |
2008-05-14 | set $DB->char_set and $DB->dbcollat defaults to utf8 and utf8_general_ci ↵ | Derek Jones | 1 | -2/+2 | |
respectively |