summaryrefslogtreecommitdiffstats
path: root/system/database
AgeCommit message (Collapse)AuthorFilesLines
2011-08-10Typecast limit and offset in the Database Driver to integers. Fixes ↵Phil Sturgeon1-2/+2
https://bitbucket.org/ellislab/codeigniter-reactor/issue/341/active-record-limit-function-have-sql#comment-597403
2011-08-10Fixed typo in ActiveRecord.Phil Sturgeon1-1/+1
2011-08-10Fixed a bug where using this->db->select_max(), this->db->select_min(), etc ↵Phil Sturgeon1-1/+2
could throw notices. Thanks to w43l for the patch.
2011-08-09Merge pull request #29 from darkhouse/developPhil Sturgeon2-4/+12
Minor change to MySQL and MySQLi drivers.
2011-07-23Fixed having method to insert quotes.Adam Jackett1-1/+1
2011-07-23Fixed mysql and mysqli drivers to set NOT NULL as default for creating ↵Adam Jackett2-4/+12
fields. All other drivers were correct.
2011-07-15... set_dbprefix(). Programatically set the prefix, great for multi-site ↵Phil Sturgeon1-0/+15
systems that "namespace" with prefixes.
2011-07-15Was working on this file so PHP5ified the method visibility scopes. ↵Phil Sturgeon1-154/+106
Pointless, but was adding...
2011-07-02hand merged remaining unresolved files following the backout of ↵Derek Jones5-67/+96
648b42a75739, which was a NON-trivial whitespace commit
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones35-241/+241
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 Jones2-10/+12
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-05-06Fix #275 -- regression in db::_compile_select(). Thanks @patwork for the patchGreg Aker1-11/+15
2011-04-27merging in changesGreg Aker35-242/+247
2011-04-27Added insert_batch() function to the PostgreSQL database driver. Thanks to ↵Greg Aker1-0/+18
epallerols for the patch.
2011-04-25Fixed double-space typo.Razican35-241/+241
2011-04-23typo in modification to MySQLi driver. Fixes #236Derek Jones1-1/+1
2011-04-20Fixed a bug (Core #340) where when passing in the second parameter to ↵Greg Aker1-12/+8
$this->db->select(), column names in subsequent queries would not be properly escaped.
2011-04-19modified MySQL and MySQLi drivers to address a potential SQL injection ↵Derek Jones2-2/+32
attack vector when multi-byte character set connections are employed. (Does not impact Latin-1, UTF-8, etc. encodings)
2011-04-19Removing internal references to the EXT constant. Additionally, marked the ↵Greg Aker2-9/+9
constant as deprecated. Use ".php" instead. Also adding upgrade notes from 2.0.2 to 2.0.3.
2011-04-25Fixing up a tabs vs spaces inconsistency in DB_ResultGreg Aker1-39/+44
2011-04-06Made Environment Support optional. Comment out or delete the constant to ↵Phil Sturgeon1-9/+4
stop environment checks.
2011-04-02Fixed issue #153 Escape Str Bug in MSSQL driverPhil Sturgeon1-3/+5
2011-03-25Fixed merge.Phil Sturgeon1-3/+3
2011-03-22->db->count_all_results() will now return an integer instead of a string.Phil Sturgeon1-2/+2
2011-03-08Fixed bug in escaping underscores etc in MSSQL LIKE conditions.davidhart1-3/+3
2011-02-15Better potential fix for escaping MySQL keywords with backticks on ↵Phil Sturgeon1-2/+2
insert/update.
2011-02-14Whitespace cleanup in db classesPascal Kriete12-33/+33
2011-02-14Uppercasing some stray lowercase keywords for code consistencyPascal Kriete2-7/+7
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-02-02Merged recent changes and tweaked multi-env changes.Phil Sturgeon35-61/+244
2011-01-27Automated merge with https://bitbucket.org/ellislab/codeigniterPhil Sturgeon3-15/+99
2011-01-16Changed loading process for database config to check for config for the set ↵joelcox1-1/+15
environment first.
2011-01-16sharing some work on model instancesJohn Crepezzi1-11/+74
2011-01-07Automated merge with http://hg.ellislab.com/CodeIgniter2Pascal Kriete35-50/+101
2011-01-07Adding batch insert and batch update to the mysqli driver.Pascal Kriete1-0/+69
2011-01-05Hey look, it's 2011Greg Aker35-35/+35
2011-01-05Use arrays in DBForge for constraint for things like decimal, float, ↵Phil Sturgeon1-4/+19
numeric, enum and set.
2010-12-21Fix #93 Updating postgres dbforge create table method. Thanks to James ↵Greg Aker1-15/+66
Gifford for the patch. http://codeigniter.com/forums/viewthread/73392/
2010-12-15Name can be omiitted from ->dbforge->modify_column()'s 2nd param if you ↵Phil Sturgeon1-0/+6
aren't changing the name.
2010-11-10Removing instantiate_class(), which was needed to make php 4 and 5.3 play ↵Pascal Kriete1-1/+1
together nicely. Removed all instantiations by reference.
2010-11-10Updating PHP requirements in files 5.1.6Greg Aker35-35/+35
2010-10-04Cleanup of stray spaces and tabsBarry Mieny32-1162/+1162
2010-09-16Added $ar_keys clearing out to _reset_write().Robin Sowell1-2/+4
2010-08-25Modified the database driver's display_error() method to show the filename ↵Pascal Kriete1-0/+18
and line number of the failed query.
2010-08-06Removed deprecated _drop_database() and _create_database() functions from db ↵Greg Aker7-267/+0
utility drivers.
2010-08-06Removing the following deprecated database methods: orwhere, orlike, ↵Greg Aker1-73/+1
groupby, orhaving, orderby, getwhere.
2010-04-15Fixing a bug where odbc/mssql/oci8 db drivers would encounter a PHP error ↵Greg Aker3-12/+3
due to a function being moved from the input to security class. Moving remove_invisible_characters() to Common.php so the entire class does not need to be instantiated in those database drivers.
2010-03-30fixed a fatal PHP error in SQLite Forge _create_table()Derek Jones1-1/+1
2010-03-11full on scaffolding removalDerek Jones1-2/+2