summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mysql
AgeCommit message (Collapse)AuthorFilesLines
2012-05-26Move count_all() from the drivers to CI_DB_driverAndrey Andreev1-29/+0
2012-05-25Fix issue #136 (MySQL escape_like_str())Andrey Andreev1-2/+4
2012-05-23Removed the parameter use in database drivers' _close() and added a default ↵Andrey Andreev1-4/+3
_close() method in CI_DB_driver + some changelog fixes
2012-04-26Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into developJamie Rumbelow4-293/+19
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-12Changed default CI_DB_result::_data_seek() return value to FALSE and removed ↵Andrey Andreev1-1/+1
the method from drivers that don't support it
2012-04-09DB Utility improvementsAndrey Andreev1-41/+4
- 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 Andreev1-2/+2
2012-04-09Multiple DB Forge improvementsAndrey Andreev1-54/+1
- 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-09Added a default _delete() method to CI_DB_active_recordAndrey Andreev1-30/+0
2012-04-09Extend fix for #798 to work across all DB drivers instead of just mysqlAndrey Andreev1-33/+0
2012-04-06Renamed _escape_identifiers() to escape_identifiers() and moved it to ↵Andrey Andreev1-37/+0
CI_DB_driver
2012-04-05Added a default _truncate() method to CI_DB_active_recordAndrey Andreev1-17/+0
2012-04-05Replaced driver instances of _replace() with one in CI_DB_active_recordAndrey Andreev1-17/+0
2012-04-05Replaced driver instances of _insert() with one in CI_DB_active_recordAndrey Andreev1-18/+0
2012-04-05Added a default _insert_batch() method instead of requiring each driver to ↵Andrey Andreev1-18/+0
define it and fixed 2 issues related to it
2012-04-03Fix issue #14Andrey Andreev1-1/+1
2012-03-20Remove extraneous newlinesTimothy Warren1-1/+1
2012-03-20Merge upstreamTimothy Warren1-2/+2
2012-03-20Switch _process_fields() method in MySQL/MySQLi to protectedAndrey Andreev1-1/+1
2012-03-19Minor mysql/mysqli formatting fixesTimothy Warren4-4/+4
2012-03-12Remove collation parameter from db_set_charset() (no longer needed)Andrey Andreev1-2/+1
2012-03-12Add missing semicolonsAndrey Andreev1-1/+1
2012-03-12Remove usage of SET NAMES and the deprecated mysql_escape_string() from ↵Andrey Andreev1-15/+2
MySQL/MySQLi drivers
2012-03-09Merge branch 'develop' of github.com:EllisLab/CodeIgniter into developPhil Sturgeon2-5/+5
2012-03-09Bumped CodeIgniter's PHP requirement to 5.2.4.Phil Sturgeon4-4/+4
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-06Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into developJamie Rumbelow3-39/+47
Conflicts: system/database/DB_driver.php system/database/DB_query_builder.php
2012-03-06Resolve _protect_identifiers()/protect_identifiers() usage issuesAndrey Andreev2-5/+5
2012-03-03Fix MySQL/MySQLi field_data()Andrey Andreev1-6/+25
2012-03-03Add db_set_charset() support for PostgreSQL and change its implementation ↵Andrey Andreev1-1/+1
for 'mysql'
2012-03-03Improve DB version() implementation and add pg_version() supportAndrey Andreev1-3/+5
2012-03-02Replaced DB methods _error_message() and _error_number() with error() (issue ↵Andrey Andreev1-15/+6
#1097)
2012-03-02Fix issue #1101 (MySQL/MySQLi result field_data())Andrey Andreev1-11/+7
2012-02-28Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into developJamie Rumbelow1-2/+14
2012-02-24Update database property when switching to a new oneAndrey Andreev1-1/+12
2012-02-22Add an optional database name parameter to db_select()Andrey Andreev1-2/+3
2012-02-19Renaming Active Record to Query Builder across the systemJamie Rumbelow1-2/+2
2012-02-17Syntax error, causing MySQL utility could not usedTaufan Aditya1-1/+1
2012-02-14Fix another issueAndrey Andreev1-1/+1
2012-02-14Fix issue #1039Andrey Andreev2-9/+10
2012-01-26Improve the MySQL database driverAndrey Andreev4-375/+205
2012-01-02Updating copyright date to 2012Greg Aker4-4/+4
2011-12-20#798: following current codeigniter code standardsMancy1-5/+6
2011-12-20taking care of LIKE when used in UPDATE statement #798Mancy1-1/+10
2011-11-22Merge master (2.1.0) and fixed conflicts.Phil Sturgeon1-3/+3
2011-10-27Fixed issue #150 correctly.Phil Sturgeon1-3/+3
2011-10-27Fixed issue #150 (for mysql and mysqli), now returns the actual column length.danmontgomery2-7/+12
2011-10-27Fixed a bug (#200) where MySQL queries would be malformed after calling ↵Greg Aker1-0/+1
db->count_all() then db->get()
2011-10-20adding new license file (OSL 3.0) and updating readme to ReSTDerek Jones4-16/+64
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-04Issue 352: Since the MySQL client API version matters, PHP and MySQL version ↵RH Becker1-15/+4
checks are not sufficient to determine that set_charset functions exist.
2011-08-28Fixed recent change to $this->db->field_data() which errored for field types ↵Phil Sturgeon1-2/+2
without constraints. It now uses a less expecting regex and defaults to NULL.