Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-01-25 | Updated all cases of exit() to return a valid code | Daniel Hunsaker | 1 | -1/+1 | |
Specific codes are as follows, but can easily be changed if a different order/breakdown makes more sense: - 0: Success; everything executed as planned - 1: Configuration Error; something is wrong with/in the configuration file(s) - 2: Class Not Found; what it says - 3: Driver Method Unsupported; the method you're trying to use on a Driver doesn't exist - 4: File Not Found; 404 error - 5: Database Error; something is broken in the database somewhere - 6: Invalid Input; the user attempted to submit a request with invlaid characters in 1+ key names 7 through 26 are reserved for future use - 27: Generic Error; generated by show_error() when the status code is >= 100 28 through 127 are errors generated by user applications, normally by using show_error() with a status code below 100 128 through 254 should not be used by applications, as they are reserved by system-level functions - 255: PHP Fatal Error; automatically generated by PHP for fatal errors, and therefore not allowed for our use Status codes below 100 are shifted up by 28 to place them in the user error range. It may make more sense to have these codes left alone and instead shift the CI errors into the 101 through 127 space, but that's not what I opted for here. It would probably also be a good idea to replace the hard-coded numbers with constants or some such, but I was in a bit of a hurry when I made these changes, so I didn't look around for the best place to do this. With proper guidance, I could easily amend this commit with another that uses such constant values. Signed-off-by: Daniel Hunsaker <danhunsaker@gmail.com> | |||||
2013-01-24 | Move db_select() call from CI_DB_driver::initialize() to db_connect() | Andrey Andreev | 3 | -15/+27 | |
so that it's only called by drivers that need it ('mysql', 'mssql'). As proposed in issue #2187. | |||||
2013-01-15 | A few adjustments to previous commit | vlakoff | 1 | -1/+1 | |
2013-01-14 | Replace is_null() with === / !== NULL | vlakoff | 3 | -11/+11 | |
Exact same behavior, but faster. I also think it's more readable. | |||||
2013-01-10 | Unify escape_str() array input and LIKE logic | Andrey Andreev | 13 | -345/+87 | |
Added protected method _escape_str() to deal with quote escaping. | |||||
2013-01-10 | Fix SQLSRV escape_str() | Andrey Andreev | 1 | -1/+23 | |
2013-01-10 | Apply improvement proposed in #2142 | Andrey Andreev | 2 | -2/+2 | |
2013-01-09 | Fix interbase limit issue for subqueries | Timothy Warren | 1 | -1/+1 | |
2013-01-01 | [ci skip] Happy new year | Andrey Andreev | 79 | -79/+79 | |
2012-12-20 | [ci skip] Minor style/spacing changes following PR #2087 | Andrey Andreev | 3 | -13/+13 | |
2012-12-20 | fixes #2081 : change parameter/variable name to 'foreign_key_checks', update ↵ | Andrew Podner | 3 | -16/+16 | |
change log Signed-off-by:Andrew Podner <a.podner@me.com> | |||||
2012-12-19 | Resolves issue #2081 : provides an option to include statements to disable ↵ | Andrew Podner | 3 | -1/+28 | |
and re-enable foreign key checks in a MySQL database backup output statement. | |||||
2012-12-17 | [ci skip] Fix some spaces | Andrey Andreev | 1 | -1/+1 | |
2012-12-17 | update for Issue #2064 (changed docblocks which return $this or only call a ↵ | Andrew Podner | 2 | -36/+36 | |
method that returns $this to @return CI_DB_class_name) | |||||
2012-12-15 | Fix #2072 | Andrey Andreev | 1 | -1/+1 | |
2012-12-04 | Remove CI_DB_oci8_result::data_seek() | Andrey Andreev | 1 | -63/+0 | |
It can only call oci_execute() in order to reset the pointer to 0, the oci8 driver doesn't support setting the pointer. Due to the result_object(), result_array() and custom_result_object() calling data_seek() every time prior to fetching the result set, this only causes the query to be executed twice. All of the three methods now cast from existing result_object and/or result_array sets, so the probability to ever need to really fetch the result set again is practically zero and so this method doesn't bring any benefit. | |||||
2012-12-04 | Rename DB_result _data_seek() to data_seek() and make it publicly available | Andrey Andreev | 9 | -13/+18 | |
(as requested in #2050) | |||||
2012-12-03 | Fix postgre db_connect() | Andrey Andreev | 1 | -6/+6 | |
2012-12-03 | Improve schema support for Postgre | Andrey Andreev | 2 | -12/+43 | |
2012-12-03 | [ci skip] Cleaned some spaces | Andrey Andreev | 14 | -20/+20 | |
2012-11-29 | Fix #2041 | Andrey Andreev | 1 | -2/+3 | |
2012-11-25 | Fix #2027 | Andrey Andreev | 6 | -13/+79 | |
2012-11-24 | Bug fix - optimize_table() in DB utility class | Dimitar | 1 | -1/+1 | |
2012-11-22 | Fix modify_column() issues (#2020) | Andrey Andreev | 12 | -42/+38 | |
2012-11-20 | Fix #1996 | Andrey Andreev | 1 | -10/+13 | |
2012-11-20 | Fix issue #2015 | Andrey Andreev | 4 | -180/+29 | |
2012-11-20 | Fix an E_NOTICE | Andrey Andreev | 1 | -1/+1 | |
2012-11-20 | Merge pull request #2009 from Eco91/patch-2 | Andrey Andreev | 1 | -1/+1 | |
SQLSRV - Connection error if database name contains space-characters | |||||
2012-11-19 | Update system/database/drivers/sqlsrv/sqlsrv_driver.php | Eco91 | 1 | -1/+1 | |
2012-11-19 | DB forge to use single quotes for ENUM/SET string delimiters | Andrey Andreev | 1 | -1/+1 | |
2012-11-19 | Update system/database/drivers/sqlsrv/sqlsrv_driver.php | Eco91 | 1 | -1/+1 | |
Connection error if database name contains space-characters. Use of MSSQL brackets => 'USE [Database Name]' instead of 'USE Database Name' | |||||
2012-11-19 | Add db_set_charset() support for the mssql driver | Andrey Andreev | 1 | -0/+13 | |
2012-11-19 | PDO was not escaping strings for SET as array | Phil Sturgeon | 1 | -1/+1 | |
2012-11-17 | Fix issues #751 and #2004 | Andrey Andreev | 1 | -3/+2 | |
2012-11-17 | Improve DB field_data() for IBM Informix and IBM DB2 (PDO) | Andrey Andreev | 2 | -19/+84 | |
2012-11-16 | Improve DB field_data() for PostgreSQL | Andrey Andreev | 7 | -26/+74 | |
2012-11-16 | Improve DB field_data() for Oracle (and fix its max_length for MSSQL / SQLSRV) | Andrey Andreev | 6 | -26/+142 | |
2012-11-16 | Improve DB field_data() for SQLite | Andrey Andreev | 5 | -26/+108 | |
2012-11-16 | Improve DB field_data() for Interbase / Firebird | Andrey Andreev | 3 | -17/+72 | |
2012-11-16 | Improve DB field_data() for MSSQL / SQL Server | Andrey Andreev | 6 | -32/+148 | |
2012-11-16 | Improve DB field_data() for MySQL and CUBRID | Andrey Andreev | 9 | -88/+130 | |
2012-11-14 | Changes per narfbg | Brian Gottier | 1 | -2/+2 | |
2012-11-14 | Better debugging for DB Cache path | Brian Gottier | 1 | -1/+11 | |
2012-11-13 | Fix PostgreSQL WHERE with boolean values | Andrey Andreev | 3 | -1/+36 | |
2012-11-13 | Fix some DB_cache-related issues | Andrey Andreev | 2 | -2/+2 | |
http://codeigniter.com/forums/viewthread/229610/ | |||||
2012-11-13 | Add seed values support for Query Builder order_by | Andrey Andreev | 20 | -34/+142 | |
(feature request #1987) | |||||
2012-11-13 | Fix issue #1994 | Andrey Andreev | 1 | -2/+2 | |
2012-11-12 | Let's follow the style guide... | vkeranov | 1 | -13/+13 | |
2012-11-12 | Bring back the AFTER clause for DB Forge add_column() | Andrey Andreev | 15 | -15/+108 | |
(it was temporarily removed due to multiple inconsistencies with other drivers) This commit also fixes issue #1988. Also added support for the FIRST clause (again, MySQL and CUBRID only). | |||||
2012-11-11 | Fix DBForge index creation on MySQL and CUBRID | Andrey Andreev | 5 | -0/+50 | |