summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mysql
AgeCommit message (Collapse)AuthorFilesLines
2011-11-28Merge commit 'v2.1.0'Florian Pritz3-13/+20
Conflicts: user_guide/changelog.html user_guide/database/active_record.html user_guide/database/caching.html user_guide/database/call_function.html user_guide/database/configuration.html user_guide/database/connecting.html user_guide/database/examples.html user_guide/database/fields.html user_guide/database/forge.html user_guide/database/helpers.html user_guide/database/index.html user_guide/database/queries.html user_guide/database/results.html user_guide/database/table_data.html user_guide/database/transactions.html user_guide/database/utilities.html user_guide/doc_style/index.html user_guide/general/alternative_php.html user_guide/general/ancillary_classes.html user_guide/general/autoloader.html user_guide/general/caching.html user_guide/general/cli.html user_guide/general/common_functions.html user_guide/general/controllers.html user_guide/general/core_classes.html user_guide/general/creating_drivers.html user_guide/general/creating_libraries.html user_guide/general/credits.html user_guide/general/drivers.html user_guide/general/environments.html user_guide/general/errors.html user_guide/general/helpers.html user_guide/general/hooks.html user_guide/general/libraries.html user_guide/general/managing_apps.html user_guide/general/models.html user_guide/general/profiling.html user_guide/general/quick_reference.html user_guide/general/requirements.html user_guide/general/reserved_names.html user_guide/general/routing.html user_guide/general/security.html user_guide/general/styleguide.html user_guide/general/urls.html user_guide/general/views.html user_guide/helpers/array_helper.html user_guide/helpers/captcha_helper.html user_guide/helpers/cookie_helper.html user_guide/helpers/date_helper.html user_guide/helpers/directory_helper.html user_guide/helpers/download_helper.html user_guide/helpers/email_helper.html user_guide/helpers/file_helper.html user_guide/helpers/form_helper.html user_guide/helpers/html_helper.html user_guide/helpers/inflector_helper.html user_guide/helpers/language_helper.html user_guide/helpers/number_helper.html user_guide/helpers/path_helper.html user_guide/helpers/security_helper.html user_guide/helpers/smiley_helper.html user_guide/helpers/string_helper.html user_guide/helpers/text_helper.html user_guide/helpers/typography_helper.html user_guide/helpers/url_helper.html user_guide/helpers/xml_helper.html user_guide/images/appflowchart.gif user_guide/index.html user_guide/installation/downloads.html user_guide/installation/index.html user_guide/installation/troubleshooting.html user_guide/installation/upgrade_120.html user_guide/installation/upgrade_130.html user_guide/installation/upgrade_131.html user_guide/installation/upgrade_132.html user_guide/installation/upgrade_133.html user_guide/installation/upgrade_140.html user_guide/installation/upgrade_141.html user_guide/installation/upgrade_150.html user_guide/installation/upgrade_152.html user_guide/installation/upgrade_153.html user_guide/installation/upgrade_154.html user_guide/installation/upgrade_160.html user_guide/installation/upgrade_161.html user_guide/installation/upgrade_162.html user_guide/installation/upgrade_163.html user_guide/installation/upgrade_170.html user_guide/installation/upgrade_171.html user_guide/installation/upgrade_172.html user_guide/installation/upgrade_200.html user_guide/installation/upgrade_201.html user_guide/installation/upgrade_202.html user_guide/installation/upgrade_203.html user_guide/installation/upgrade_b11.html user_guide/installation/upgrading.html user_guide/libraries/benchmark.html user_guide/libraries/caching.html user_guide/libraries/calendar.html user_guide/libraries/cart.html user_guide/libraries/config.html user_guide/libraries/email.html user_guide/libraries/encryption.html user_guide/libraries/file_uploading.html user_guide/libraries/form_validation.html user_guide/libraries/ftp.html user_guide/libraries/image_lib.html user_guide/libraries/input.html user_guide/libraries/javascript.html user_guide/libraries/language.html user_guide/libraries/loader.html user_guide/libraries/output.html user_guide/libraries/pagination.html user_guide/libraries/parser.html user_guide/libraries/security.html user_guide/libraries/sessions.html user_guide/libraries/table.html user_guide/libraries/trackback.html user_guide/libraries/typography.html user_guide/libraries/unit_testing.html user_guide/libraries/uri.html user_guide/libraries/user_agent.html user_guide/libraries/xmlrpc.html user_guide/libraries/zip.html user_guide/license.html user_guide/nav/nav.js user_guide/overview/appflow.html user_guide/overview/at_a_glance.html user_guide/overview/cheatsheets.html user_guide/overview/features.html user_guide/overview/getting_started.html user_guide/overview/goals.html user_guide/overview/index.html user_guide/overview/mvc.html user_guide/toc.html Signed-off-by: Florian Pritz <bluewind@xinu.at>
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-08-21Merge commit 'v2.0.3' into workingFlorian Pritz2-3/+22
Conflicts: .gitignore application/views/welcome_message.php user_guide/changelog.html user_guide/database/active_record.html user_guide/database/caching.html user_guide/database/call_function.html user_guide/database/configuration.html user_guide/database/connecting.html user_guide/database/examples.html user_guide/database/fields.html user_guide/database/forge.html user_guide/database/helpers.html user_guide/database/index.html user_guide/database/queries.html user_guide/database/results.html user_guide/database/table_data.html user_guide/database/transactions.html user_guide/database/utilities.html user_guide/doc_style/index.html user_guide/general/alternative_php.html user_guide/general/ancillary_classes.html user_guide/general/autoloader.html user_guide/general/caching.html user_guide/general/cli.html user_guide/general/common_functions.html user_guide/general/controllers.html user_guide/general/core_classes.html user_guide/general/creating_drivers.html user_guide/general/creating_libraries.html user_guide/general/credits.html user_guide/general/drivers.html user_guide/general/environments.html user_guide/general/errors.html user_guide/general/helpers.html user_guide/general/hooks.html user_guide/general/libraries.html user_guide/general/managing_apps.html user_guide/general/models.html user_guide/general/profiling.html user_guide/general/quick_reference.html user_guide/general/requirements.html user_guide/general/reserved_names.html user_guide/general/routing.html user_guide/general/security.html user_guide/general/styleguide.html user_guide/general/urls.html user_guide/general/views.html user_guide/helpers/array_helper.html user_guide/helpers/captcha_helper.html user_guide/helpers/cookie_helper.html user_guide/helpers/date_helper.html user_guide/helpers/directory_helper.html user_guide/helpers/download_helper.html user_guide/helpers/email_helper.html user_guide/helpers/file_helper.html user_guide/helpers/form_helper.html user_guide/helpers/html_helper.html user_guide/helpers/inflector_helper.html user_guide/helpers/language_helper.html user_guide/helpers/number_helper.html user_guide/helpers/path_helper.html user_guide/helpers/security_helper.html user_guide/helpers/smiley_helper.html user_guide/helpers/string_helper.html user_guide/helpers/text_helper.html user_guide/helpers/typography_helper.html user_guide/helpers/url_helper.html user_guide/helpers/xml_helper.html user_guide/index.html user_guide/installation/downloads.html user_guide/installation/index.html user_guide/installation/troubleshooting.html user_guide/installation/upgrade_120.html user_guide/installation/upgrade_130.html user_guide/installation/upgrade_131.html user_guide/installation/upgrade_132.html user_guide/installation/upgrade_133.html user_guide/installation/upgrade_140.html user_guide/installation/upgrade_141.html user_guide/installation/upgrade_150.html user_guide/installation/upgrade_152.html user_guide/installation/upgrade_153.html user_guide/installation/upgrade_154.html user_guide/installation/upgrade_160.html user_guide/installation/upgrade_161.html user_guide/installation/upgrade_162.html user_guide/installation/upgrade_163.html user_guide/installation/upgrade_170.html user_guide/installation/upgrade_171.html user_guide/installation/upgrade_172.html user_guide/installation/upgrade_200.html user_guide/installation/upgrade_201.html user_guide/installation/upgrade_202.html user_guide/installation/upgrade_b11.html user_guide/installation/upgrading.html user_guide/libraries/benchmark.html user_guide/libraries/caching.html user_guide/libraries/calendar.html user_guide/libraries/cart.html user_guide/libraries/config.html user_guide/libraries/email.html user_guide/libraries/encryption.html user_guide/libraries/file_uploading.html user_guide/libraries/form_validation.html user_guide/libraries/ftp.html user_guide/libraries/image_lib.html user_guide/libraries/input.html user_guide/libraries/javascript.html user_guide/libraries/language.html user_guide/libraries/loader.html user_guide/libraries/output.html user_guide/libraries/pagination.html user_guide/libraries/parser.html user_guide/libraries/security.html user_guide/libraries/sessions.html user_guide/libraries/table.html user_guide/libraries/trackback.html user_guide/libraries/typography.html user_guide/libraries/unit_testing.html user_guide/libraries/uri.html user_guide/libraries/user_agent.html user_guide/libraries/xmlrpc.html user_guide/libraries/zip.html user_guide/license.html user_guide/nav/nav.js user_guide/overview/appflow.html user_guide/overview/at_a_glance.html user_guide/overview/cheatsheets.html user_guide/overview/features.html user_guide/overview/getting_started.html user_guide/overview/goals.html user_guide/overview/index.html user_guide/overview/mvc.html user_guide/toc.html Signed-off-by: Florian Pritz <bluewind@xinu.at>
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-08-13Fixed mysql and mysqli drivers to set NOT NULL as default for creating ↵Adam Jackett1-2/+6
fields. All other drivers were correct.
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-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-04-10update to CI 2.0.2Florian Pritz1-10/+10
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
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-28update to CI 2.0Florian Pritz5-158/+230
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
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-12-07update to CI 1.7.3Florian Pritz4-4/+4
Signed-off-by: Florian Pritz <bluewind@xssn.at>
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-02-06Initial commitFlorian Pritz5-0/+1348
Signed-off-by: Florian Pritz <bluewind@xssn.at>
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 &lt;p&gt; 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