summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mysql/mysql_driver.php
AgeCommit message (Collapse)AuthorFilesLines
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 Sturgeon1-1/+1
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-06Resolve _protect_identifiers()/protect_identifiers() usage issuesAndrey Andreev1-1/+1
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-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-01-26Improve the MySQL database driverAndrey Andreev1-209/+113
2012-01-02Updating copyright date to 2012Greg Aker1-1/+1
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-10-20adding new license file (OSL 3.0) and updating readme to ReSTDerek Jones1-4/+16
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-21Fixed issue #150 (for mysql and mysqli), now returns the actual column length.danmontgomery1-1/+1
2011-08-20Fixed a bug (#200) where MySQL queries would be malformed after calling ↵Greg Aker1-0/+1
db->count_all() then db->get()
2011-07-02hand merged remaining unresolved files following the backout of ↵Derek Jones1-5/+6
648b42a75739, which was a NON-trivial whitespace commit
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-7/+7
broke the Typography class's string replacements, for instance
2011-05-20modified the 'use_set_names' variable in the MySQL/i drivers to be a class ↵Derek Jones1-5/+6
property instead of static, in case multiple database servers are connected to in a single request. Also clarified description of the 'dbcollat' setting in the configuration files
2011-04-25Fixed double-space typo.Razican1-7/+7
2011-04-19modified MySQL and MySQLi drivers to address a potential SQL injection ↵Derek Jones1-1/+16
attack vector when multi-byte character set connections are employed. (Does not impact Latin-1, UTF-8, etc. encodings)
2011-02-14Whitespace cleanup in db classesPascal Kriete1-5/+5
2011-02-09Reverted recent MySQL backtick escaping as some queries were double-escaping.Phil Sturgeon1-4/+4
2011-02-08MySQL Driver will now wrap field names for insert(), update() and replace() ↵Phil Sturgeon1-8/+8
with backticks (`) so fields like "default" and "order" will not cause SQL errors.
2011-01-05Hey look, it's 2011Greg Aker1-1/+1
2010-11-10Updating PHP requirements in files 5.1.6Greg Aker1-1/+1
2010-10-04Cleanup of stray spaces and tabsBarry Mieny1-72/+72
2010-03-03added batch insert/update and replace methods to MySQL driverDerek Jones1-0/+92
2010-01-26Fixing bug in DB Driver where identifiers could be escaped in some drivers ↵Greg Aker1-1/+1
that can't accept it in the list_fields() function. http://codeigniter.com/bug_tracker/bug/5865/ http://codeigniter.com/bug_tracker/bug/11218/
2010-01-05updated copyrightsDerek Jones1-1/+1
2009-04-22updated copyrights to 2009Derek Jones1-1/+1
2009-02-27added reconnect() method to db driversDerek Jones1-0/+19
2009-02-20updated _list_tables() in db drivers to escape the db prefix for LIKE wildcardsDerek Jones1-1/+1
2009-02-20added LIKE condition escaping to all drivers and Active RecordDerek Jones1-6/+19
updated all DB drivers to accept arrays in escape_str()
2009-02-03DB count_all() not returns an integer alwaysDerek Allard1-5/+9
Added some syntactical improvements within DB (braces) Fixed a bug when doing 'random' on order_by() (#5706). Fixed a bug where adding a primary key through Forge could fail (#5731). Fixed a bug when using DB cache on multiple databases (#5737).
2008-11-13Changing EOL style to LFDerek Allard1-633/+633
2008-10-26Fixed a bug in which identifers were not being escaped properly when ↵Rick Ellis1-2/+13
reserved characters were used
2008-10-18Added support for the port setting in mysqlRick Ellis1-0/+10
2008-10-17Fixed a number of bug reports related to table/db names not being escaped or ↵Rick Ellis1-86/+24
prefixed correctly.
2008-10-07Explicitly added driver name variable in each DB driver, based on this bug ↵Rick Ellis1-0/+2
report: #4436
2008-09-30Did a little clean up. Nothing that affected functionalityRick Ellis1-0/+3
2008-09-30Added backticks to column names when using insert_string and update_string. ↵Rick Ellis1-0/+16
Relates to this bug report: http://codeigniter.com/bug_tracker/bug/4509/
2008-09-13updated copyrightRick Ellis1-1/+1
2008-08-21whitespace fixesDerek Allard1-9/+9
a minor re-ordering of the changelog
2008-05-13Some sweeping syntax changes for consistency:Derek Jones1-10/+10
(! foo) changed to ( ! foo) || changed to OR changed newline standardization code in various places from preg_replace to str_replace
2008-05-11Removed closing PHP tags, replaced with a comment block identifying the end ↵Derek Jones1-1/+3
of the file