summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mysql
AgeCommit message (Collapse)AuthorFilesLines
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.
2011-08-21Fixed issue #150 (for mysql and mysqli), now returns the actual column length.danmontgomery2-7/+12
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-08-14Fixed a bug (Reactor #89) where MySQL export would fail if the table had ↵Phil Sturgeon1-1/+1
hyphens or other non alphanumeric/underscore characters.
2011-07-23Fixed mysql and mysqli drivers to set NOT NULL as default for creating ↵Adam Jackett1-2/+6
fields. All other drivers were correct.
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 Jones4-13/+13
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.Razican4-13/+13
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-27Automated merge with https://bitbucket.org/ellislab/codeigniterPhil Sturgeon1-4/+19
2011-01-05Hey look, it's 2011Greg Aker4-4/+4
2011-01-05Use arrays in DBForge for constraint for things like decimal, float, ↵Phil Sturgeon1-4/+19
numeric, enum and set.
2010-11-10Updating PHP requirements in files 5.1.6Greg Aker4-4/+4
2010-10-04Cleanup of stray spaces and tabsBarry Mieny4-122/+122
2010-08-06Removed deprecated _drop_database() and _create_database() functions from db ↵Greg Aker1-35/+0
utility drivers.
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 Jones4-4/+4
2009-04-22updated copyrights to 2009Derek Jones4-4/+4
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 Allard5-1307/+1307
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-17Added backticks to field namesRick Ellis1-1/+1
2008-10-17Fixed a number of bug reports related to table/db names not being escaped or ↵Rick Ellis4-96/+28
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-26removed some legacy escaping code from _backup() in the MySQL utility, ↵Derek Jones1-9/+0
fixing bug 4536 http://codeigniter.com/bug_tracker/bug/4536/
2008-09-13updated copyrightRick Ellis4-4/+4
2008-08-21whitespace fixesDerek Allard1-9/+9
a minor re-ordering of the changelog
2008-06-27Fixed a double opening <p> tag in the index pages of each system ↵Derek Allard1-8/+3
directory.
2008-05-29made MySQL/MySQLi forge use explicitly named KEYs, added ability to specify ↵Derek Jones1-3/+14
multi-column non-primary keys in table creation
2008-05-13Some sweeping syntax changes for consistency:Derek Jones4-19/+19
(! 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 Jones4-4/+12
of the file
2008-05-11Undoing change committed in r1115Derek Jones4-0/+4
2008-05-11removed closing PHP tag from all framework filesDerek Jones4-4/+0
2008-05-05Added get_dir_file_info(), get_file_info(), and get_mime_by_extension() to ↵Derek Allard1-3/+3
the File Helper. Changed ( ! condition) into (! condition) within the code
2008-04-29Added a valid_emails rule to the Validation class.Derek Allard1-4/+1
2008-04-07Added rename_table() into DBForge.Derek Allard1-1/+19
2008-02-25Fixed an AR_caching error where it wasn't tracking table aliases (#3463)Derek Allard1-1/+1
2008-02-11database enhancements, compatibility additions and bugfixesDerek Allard1-1/+1