summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
AgeCommit message (Collapse)AuthorFilesLines
2012-06-10Merge branch 2.1-stable into developAndrey Andreev1-4/+6
2012-06-08Fix issue #1447Andrey Andreev1-1/+1
2012-06-08escape_identifiers() to accept arrays as wellAndrey Andreev1-2/+11
2012-06-08Added MSSQL/SQLSRV field escaping support with QUOTE_IDENTIFIER detection ↵Andrey Andreev1-10/+15
(issue #706)
2012-06-02Replaced `==` with `===` and `!=` with `!==` in /system/databaseAlex Bilbie1-25/+25
2012-05-26Move count_all() from the drivers to CI_DB_driverAndrey Andreev1-2/+30
2012-05-24Remove the DB destructor (db->close())Andrey Andreev1-17/+0
2012-05-23Removed the parameter use in database drivers' _close() and added a default ↵Andrey Andreev1-3/+17
_close() method in CI_DB_driver + some changelog fixes
2012-05-22Removed a space after comment lineGints Murans1-1/+1
2012-05-22Moved destruct to the end of fileGints Murans1-7/+17
2012-05-22Move closing of database connection to CI_DB_driver->__destruct - #1376Root1-0/+7
2012-04-26Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into developJamie Rumbelow1-168/+197
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-21Use parameter 'get_as_float' of microtime()dixy1-4/+4
2012-04-09DB Utility improvementsAndrey Andreev1-1/+1
- 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-06Renamed _escape_identifiers() to escape_identifiers() and moved it to ↵Andrey Andreev1-4/+41
CI_DB_driver
2012-04-02Merge upstream branchAndrey Andreev1-1/+3
2012-03-28Revert CI_DB_driver::_reset_select() to a regular method instead of ↵Andrey Andreev1-1/+3
abstract.abstract methods are required to be implemented by their child classes and this is not what's intended in our case.
2012-03-28Merge branch 'develop' of github.com:EllisLab/CodeIgniter into develop-db-oci8Andrey Andreev1-1/+15
2012-03-28Add a dummy db_select() method to CI_DB_driver and remove it from drivers ↵Andrey Andreev1-1/+15
that don't have such functionality
2012-03-28Merge upstream branchAndrey Andreev1-150/+113
2012-03-28A replace array_key_exists() with isset()Andrey Andreev1-4/+4
2012-03-28Some more unneeded brackets removedAndrey Andreev1-1/+1
2012-03-26Merge upstream branchAndrey Andreev1-4/+19
2012-03-26Merge upstream branchAndrey Andreev1-0/+17
2012-03-23Add dummy method reconnect() method to CI_DB_driver and remove it from ↵Andrey Andreev1-0/+17
drivers that don't support it
2012-03-20Merge upstream branchAndrey Andreev1-5/+3
2012-03-20Remove EOF newlinesAndrey Andreev1-1/+1
2012-03-20Merge branch 'develop' of github.com:EllisLab/CodeIgniter into develop-db-driverAndrey Andreev1-6/+6
2012-03-20Remove EOF newlinesAndrey Andreev1-1/+1
2012-03-19Removed pointless _prep_sql methodsTimothy Warren1-1/+1
2012-03-19Made database parent classes and methods abstractTimothy Warren1-4/+2
2012-03-13Merge upstream branchAndrey Andreev1-5/+5
2012-03-12Merge branch 'develop' into feature/db_toString_supportJoel Kallman1-271/+193
2012-03-12Remove collation parameter from db_set_charset() (no longer needed)Andrey Andreev1-3/+3
2012-03-09Adding Support to Properly Escape Objects that have __toString() magic ↵Joel Kallman1-1/+1
method so that the object can be passed directly as a parameter in a condition without having to manually convert to a string Signed-off-by: Joel Kallman <jkallman@eclarian.com>
2012-03-09Merge branch 'develop' of github.com:EllisLab/CodeIgniter into developPhil Sturgeon1-165/+108
2012-03-09Bumped CodeIgniter's PHP requirement to 5.2.4.Phil Sturgeon1-1/+1
Yes I know PHP 5.4 just came out, and yes I know PHP 5.3 has lovely features, but there are plenty of corporate systems running on CodeIgniter and PHP 5.3 still is not widely supported enough. CodeIgniter is great for distributed applications, and this is the highest we can reasonably go without breaking support. PHP 5.3 will most likely happen in another year or so. Fingers crossed on that one anyway...
2012-03-09Merge upstream branchAndrey Andreev1-165/+108
2012-03-08missed one :bomb:Jamie Rumbelow1-1/+1
2012-03-08Just the method, not the propertyJamie Rumbelow1-1/+1
2012-03-06accounting for the rename of protect_identifiersJamie Rumbelow1-2/+2
2012-03-06Updating a couple more references to the AR class in documentation [#1061]Jamie Rumbelow1-1/+1
2012-03-06Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into developJamie Rumbelow1-235/+172
Conflicts: system/database/DB_driver.php system/database/DB_query_builder.php
2012-03-06Move dsn property from the PDO to CI_DB_driver so other DB drivers can use ↵Andrey Andreev1-0/+1
it without declaring it
2012-03-06Merge upstream branchAndrey Andreev1-3/+5
2012-03-06Revert a comment changeAndrey Andreev1-1/+1
2012-03-06Just some comment fixes and cleared spacesAndrey Andreev1-33/+27
2012-03-06Property visibility declarations for CI_DB_driverAndrey Andreev1-40/+35
2012-03-06Merge upstream branchAndrey Andreev1-41/+17
2012-03-06Resolve _protect_identifiers()/protect_identifiers() usage issuesAndrey Andreev1-26/+8