summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mysql/mysql_driver.php
AgeCommit message (Collapse)AuthorFilesLines
2015-02-19Remove 'autoinit' DB settingAndrey Andreev1-4/+0
It doesn't make sense to do a load->database() call but not connect to the database. IIRC there was more stuff in CI_DB_driver::initialize() at some point, so that was probably the reason why the setting existed in the first place. However, now it only results in users making invalid bug reports because they don't understand the feature ... Examples during just the past 2 weeks: #3571 #3601 #3607
2015-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-20Remove error suppression from mysql_*connect()Andrey Andreev1-2/+2
The suppression was kept so far because mysql_connect(), mysql_pconnect() emit E_DEPRECATION messages on PHP 5.5+. Well, we already default to 'mysqli' and there's no reason to use specifically 'mysql' on PHP 5.5, so we might as well let the deprecation notices appear and encourage users to switch drivers.
2015-01-12Change CI_DB_driver::field_data() signatureAndrey Andreev1-6/+1
The parameter is mandatory, it doesn't make sense to have a default empty string value only to check for it.
2015-01-09Bulk (mostly documentation) updateAndrey Andreev1-3/+3
- Remove PHP version from license notices - Bump year number in copyright notices - Recommend PHP 5.4 or newer to be used - Tell Travis-CI to test on PHP 5.3.0 instead of the latest 5.3 version Related: #3450
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
2014-06-19Fix #3112Andrey Andreev1-3/+1
2014-05-09Remove (most of) error suppression from database drivers (issue #3036)Andrey Andreev1-6/+9
2014-02-25Revert to error suppression on mysql_(p)connect() due to deprecation messagesAndrey Andreev1-2/+2
2014-02-25Remove error suppression usage from db_connect()Andrey Andreev1-2/+2
2014-02-25Make db_pconnect an alias for db_connect(TRUE) and reduce code repetitionAndrey Andreev1-12/+0
2014-02-112013 > 2014darwinel1-1/+1
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2013-12-10Fix a bug where DB() tried to set the MySQL-specific 'sql_mode' on all driversAndrey Andreev1-0/+14
Supersedes PR #2756
2013-03-12Add a (default) CI_DB_query_builder::_update_batch() methodAndrey Andreev1-41/+0
An improved version of PR #2324, which only targets ODBC.
2013-01-24Move db_select() call from CI_DB_driver::initialize() to db_connect()Andrey Andreev1-1/+15
so that it's only called by drivers that need it ('mysql', 'mssql'). As proposed in issue #2187.
2013-01-10Unify escape_str() array input and LIKE logicAndrey Andreev1-25/+6
Added protected method _escape_str() to deal with quote escaping.
2013-01-10Apply improvement proposed in #2142Andrey Andreev1-1/+1
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-12-03[ci skip] Cleaned some spacesAndrey Andreev1-5/+5
2012-11-16Improve DB field_data() for MySQL and CUBRIDAndrey Andreev1-6/+11
2012-11-05Fix DB drivers version() implementations that don't execute a queryAndrey Andreev1-3/+15
Fails if called prior to the DB connection initialization.
2012-11-02[ci skip] DocBlocks for DB drivers' driver classesAndrey Andreev1-21/+42
Partially fixes issue #1295.
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev1-1/+2
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
2012-10-24[ci skip] style and phpdoc-related changes (rel #1295)Andrey Andreev1-0/+1
2012-10-12Merge branch 'develop' of github.com:EllisLab/CodeIgniter into ↵Andrey Andreev1-15/+12
feature/db_qb_aliasing
2012-10-12Fix mysql's db_connect()Andrey Andreev1-2/+3
2012-10-12Set MySQL client compression to FALSE by default (problems reported with ↵Andrey Andreev1-15/+11
it), fix some typos, add encrypted database connections support and fix SQLSRV CharacterSet setting
2012-10-12Merge changes from developAndrey Andreev1-6/+36
2012-10-09Really fix that FROM group conditionAndrey Andreev1-1/+1
2012-10-09Alter fix for issue #1257Andrey Andreev1-0/+20
2012-10-04Fix issue #1789Andrey Andreev1-4/+0
Signed-off-by: Andrey Andreev <narf@bofh.bg>
2012-08-20mysql driver updatedMichiel Vugteveen1-2/+16
2012-07-18Merge where() and having() logic - it's structurally identical and only the ↵Andrey Andreev1-1/+1
keyword differs
2012-07-18Remove dependancies on qb_like and remove unneeded parameters from ↵Andrey Andreev1-5/+5
_delete(), _like(), _update(), _update_batch()
2012-07-05Add a default _count_string propertyAndrey Andreev1-6/+0
2012-06-24Add a default _limit() method to the Query Builder classAndrey Andreev1-17/+0
2012-06-24Minor changes to the MySQL and MySQLi driversAndrey Andreev1-2/+10
2012-06-08Add a default _from_tables() method to CI_DB_query_builder and remove it ↵Andrey Andreev1-21/+0
from most of the drivers
2012-06-04Revert/optimize some changes from 48a2baf0e288accd206f5da5031d29076e130792Andrey Andreev1-1/+1
2012-06-02Fixed bug in MySQL driver introduced in 48a2baf0e288accd206f5da5031d29076e130792Alex Bilbie1-1/+1
2012-06-02Replaced `==` with `===` and `!=` with `!==` in /system/databaseAlex Bilbie1-6/+6
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 Rumbelow1-188/+4
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-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