summaryrefslogtreecommitdiffstats
path: root/system/database
AgeCommit message (Collapse)AuthorFilesLines
2012-05-19Fix a issue with affect_rows in CI_DB_pdo_driver::_execute()Rogerio Prado de Jesus1-2/+11
In case of SELECT queries PDOStatement::rowCount doesn't work as expected. This commit makes affect_rows be initialized properly. Signed-off-by: Rogerio Prado de Jesus <rogeriopradoj@gmail.com>
2012-05-19Fixed return line and commentsJuan Ignacio Borda1-8/+3
2012-05-19Fix issue #726Andrey Andreev1-8/+8
2012-05-18added unbuffered_row() to DB_result.php to avoid memory exhausting when ↵Juan Ignacio Borda1-0/+18
dealing with large results.
2012-05-15Minor changes on the pull #1355 additionsAndrey Andreev1-4/+4
2012-05-15Merge pull request #1355 from shidec/developAndrey Andreev1-0/+93
Escaping boolean data type, some DBMS (e.g., postgre) need it
2012-05-15Escaping boolean data type for postgreSoesapto Joeni Hantoro1-10/+2
2012-05-15Escaping boolean data type for postgreSoesapto Joeni Hantoro1-2/+2
2012-05-15Rollback changes, move it to postgre_driverSoesapto Joeni Hantoro1-4/+0
2012-05-15Rollback changes, move it to postgre_driverSoesapto Joeni Hantoro1-1/+1
2012-05-15Escaping boolean data type on postgreSoesapto Joeni Hantoro1-0/+101
2012-05-15Merge pull request #1324 from toopay/db-testsPhil Sturgeon1-12/+7
Improved DB tests
2012-05-11Escaping boolean data type, some DBMS (e.g., postgre) need itSoesapto Joeni Hantoro1-1/+1
2012-05-11simpler script, add boolean handling on DB_driver/escapeSoesapto Joeni Hantoro1-14/+4
2012-05-11Generate better conditions statement on boolean field type. Actually boolean ↵Soesapto Joeni Hantoro1-1/+15
field type need TRUE or FALSE value. Common DBMS (e.g., MySQL) can substite this value with 1 or 0, but it can't be implemented on PostgreSQL. So, its better to use TRUE or FALSE value for boolean field type.
2012-05-05Merge pull request #1325 from st2/developAndrey Andreev1-1/+1
Update system/database/drivers/interbase/interbase_utility.php
2012-05-04Update system/database/drivers/interbase/interbase_utility.phpCusco1-1/+1
2012-05-04PDO SQLite bug fixed, for result_objectTaufan Aditya1-12/+7
2012-05-02Some line separation for better readabilityAndrey Andreev1-0/+5
2012-05-02Merge branch 'develop' of github.com:EllisLab/CodeIgniter into develop-db-sqliteAndrey Andreev1-1/+1
2012-05-02Merge branch 'develop' of github.com:EllisLab/CodeIgniter into develop-db-odbcAndrey Andreev1-1/+1
2012-04-28Minor assignment fix.George Petsagourakis1-1/+1
Can not use $array[] for reading.
2012-04-27Merge branch 'develop' of github.com:EllisLab/CodeIgniter into develop-db-mssqlAndrey Andreev31-618/+437
2012-04-27Merge upstream branchAndrey Andreev31-618/+434
2012-04-27Merge branch 'develop' of github.com:EllisLab/CodeIgniter into develop-db-sqlsrvAndrey Andreev31-619/+438
2012-04-27Merge upstream branchAndrey Andreev54-2297/+832
2012-04-26Merge pull request #981 from narfbg/develop-db-postgrePhil Sturgeon2-81/+56
Improve the PostgreSQL database driver
2012-04-26Merge pull request #979 from narfbg/develop-db-cubridPhil Sturgeon4-166/+70
Improve the CUBRID database driver
2012-04-26Merge pull request #1061 from jamierumbelow/developPhil Sturgeon15-280/+291
Renamed Active Record class to Query Builder
2012-04-26PDO patch and run the testTaufan Aditya1-1/+1
2012-04-26A couple more documentation updatesJamie Rumbelow2-2/+2
2012-04-26Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into developJamie Rumbelow56-4755/+3669
Conflicts: system/core/Loader.php system/database/DB_query_builder.php system/database/drivers/cubrid/cubrid_driver.php system/database/drivers/mssql/mssql_driver.php system/database/drivers/mysql/mysql_driver.php system/database/drivers/mysqli/mysqli_driver.php system/database/drivers/oci8/oci8_driver.php system/database/drivers/odbc/odbc_driver.php system/database/drivers/pdo/pdo_driver.php system/database/drivers/postgre/postgre_driver.php system/database/drivers/sqlite/sqlite_driver.php user_guide_src/source/changelog.rst user_guide_src/source/database/query_builder.rst
2012-04-24Update system/database/drivers/sqlsrv/sqlsrv_driver.phpst21-1/+1
2012-04-21Use parameter 'get_as_float' of microtime()dixy1-4/+4
2012-04-15Added the ability to insert objects with insert_batch() in Active Reccord.Iban Eguia1-1/+2
2012-04-12Changed default CI_DB_result::_data_seek() return value to FALSE and removed ↵Andrey Andreev13-83/+9
the method from drivers that don't support it
2012-04-10Add back an unused argument to _delete() due to CI_DB_driver being abstractAndrey Andreev1-1/+1
2012-04-10Merge branch 'develop' of github.com:EllisLab/CodeIgniter into ↵Andrey Andreev2-2/+4
develop-db-postgre
2012-04-09Merge upstream branchAndrey Andreev41-1678/+404
2012-04-09Merge upstream branchAndrey Andreev41-1668/+403
2012-04-09Add a parameter to SQLite3 and PDO _close() due to CI_DB_driver being abstractAndrey Andreev2-2/+4
2012-04-09Merge upstream branchAndrey Andreev41-1689/+403
2012-04-09Merge upstream branchAndrey Andreev41-1695/+400
2012-04-09Merge upstream branchAndrey Andreev41-1692/+404
2012-04-09DB Utility improvementsAndrey Andreev14-631/+101
- Replaced driver methods _list_databases(), _optimize_table() and _repair_table() with properties - Added defaults for optimize_table() and repair_table() SQL strings (FALSE, as those are mostly MySQL-specific) - Added MSSQL/SQLSRV support for optimize_table() (actually rebuilds table indexes) - Switched public driver methods to protected - Improved CUBRID support for list_databases() as it used to only return the currently used database - Minor speed improvements
2012-04-09Switched public driver methods in DB forge to protectedAndrey Andreev11-22/+22
2012-04-09Multiple DB Forge improvementsAndrey Andreev15-659/+108
- Replaced driver methods _create_database(), _drop_database(), _drop_table() and _rename_table() with properties - Added defaults for the above mentioned platform-specific queries, so that not all drivers need to define them - Improved support for the SQLite, ODBC and PDO drivers
2012-04-09Add back limit parameter to Interbase and PostgreSQL _delete() due to ↵Andrey Andreev2-2/+4
CI_DB_active_record being abstract
2012-04-09Added a default _delete() method to CI_DB_active_recordAndrey Andreev11-251/+38
2012-04-09Fix AR delete() for MSSQL and SQLSRVAndrey Andreev2-16/+20