Commit Graph

87 Commits (d9e75f3a63088b9608e5147138c299da924fc375)

Author SHA1 Message Date
Dries Buytaert fc2839047e - Patch #878198 by pwolanin, Damien Tournoud: add back a method to the DB driver interface that reports the server version. 2010-10-03 01:29:41 +00:00
Dries Buytaert 07886a8482 - Patch #921582 by munzirtaha: is_null() should be replaced by !isset because it's faster. 2010-09-25 01:41:26 +00:00
Dries Buytaert 3f83c075a4 - Patch #878198 by pwolanin: add back a method to the DB driver interface that reports the server version. 2010-08-11 02:17:39 +00:00
Angie Byron 9ad0a7ea9b #851168 by Stevel, Damien Tournoud: Fixed db_find_tables() expects tables to be prefixed, inconsistent implementation and documentation. 2010-08-02 18:55:17 +00:00
Dries Buytaert 4f2d69698c - Patch #861192 by jhodgdon, chx, sun, David_Rothstein: document that MariaDB works, too. 2010-07-30 01:59:14 +00:00
Dries Buytaert c9e5a055fb - Patch #866340 by Damien Tournoud: remove support for date and time types. 2010-07-28 10:52:12 +00:00
Dries Buytaert d58ac9fd64 - Patch #772678 by sun, jpmckinney, Berdir: database default collation is not respected. 2010-07-20 21:12:47 +00:00
Angie Byron 9085e3ab22 #840182 by chx, Berdir: Fixed Testing is broken due to wrong prefix being used. 2010-06-30 16:55:49 +00:00
Dries Buytaert 471a04a2f9 - Patch #840182 by chx: testing is broken. 2010-06-29 13:42:18 +00:00
Dries Buytaert 267ebfb7b6 - Patch #195416 by Damien Tournoud, David Strauss: table prefixes should be per database connection. 2010-06-28 19:57:34 +00:00
Dries Buytaert 5ca8621ba4 - Patch #715108 by Damien Tournoud, Berdir, Josh Waihi, Crell, chx, justinrandell: Make merge queries more consistent and robust. 2010-06-26 01:40:05 +00:00
Dries Buytaert 2e86ad317e - Patch #826668 by Damien Tournoud: db_add_field() will not accept 'foreign keys' even though it is part of schema api. 2010-06-14 12:26:32 +00:00
Dries Buytaert d297ac7464 - Patch #811776 by Heine: regresssion of SA-2006-005 - SQL Injection via db_query_range(). 2010-06-01 09:24:09 +00:00
Dries Buytaert 8ce167452b - Patch #726344 by Crell, Berdir: database system uses wrapper functions internally. 2010-05-23 18:01:26 +00:00
Dries Buytaert 416f87f170 - Patch #785782 by cafuego: support comments in built queries. 2010-05-15 07:04:21 +00:00
Angie Byron ed86172814 #331951 by aspilicious, sun, jhodgdon, Morbus, et al: Figure out and apply coding standard for casting. 2010-05-06 05:59:31 +00:00
Angie Byron a649700010 #561400 by drewish, Berdir: Allow specifying MySQL socket with DBTNG. 2010-05-05 06:28:39 +00:00
Angie Byron cd6a08d843 #772554 by Crell: Remove delay() method from insert queries. 2010-04-19 04:43:05 +00:00
Dries Buytaert dde5c67ba0 - Patch #302327 by Josh Waihi, noahb, Crell, hswong3i: support cross-schema/database prefixing like we claim to. 2010-04-07 15:07:59 +00:00
Dries Buytaert cb391a1856 - Patch #748340 by Berdir, andypost, catch, noahb, Crell: MySQL-optimized tableExists() implementation. 2010-04-04 07:20:05 +00:00
Dries Buytaert a08c969669 - Patch #728338 by sun, Crell: standardize on 'field' in function names. 'It has to get worse before it can get better.' 2010-03-28 11:45:11 +00:00
Dries Buytaert 5e7944d5a8 - Patch #711682 by aspilicious: fixed tyle issues. 2010-03-09 11:39:07 +00:00
Angie Byron 9703e5d6e2 #715476 by Jeremy and Crell: Schema object should respect active database connection (with tests). 2010-03-07 08:03:45 +00:00
Dries Buytaert 13704b8f62 - Patch #722912 by andypost: db_index_exists() must conform schemaAPI indexExists(). 2010-03-01 11:30:37 +00:00
Dries Buytaert 1cfde5913d - Patch #582948 by David_Rothstein: more improvements to the erro handling of the database layer. 2010-03-01 06:27:58 +00:00
Dries Buytaert 994fafcebf - Patch #582948 by Damien Tournoud, agentrickard: improve safety of schema manipulation to help with upgrade path. 2010-02-28 20:03:05 +00:00
Angie Byron 8d01aeb428 #710142 by Berdir, moshe weitzman, chx: Handle exceptions in shutdown functions (with tests). Hopefully the last of these weird 'Stack frame in Unknown line 0' errors. 2010-02-17 22:44:52 +00:00
Dries Buytaert af3f94b37e - Patch #693614 by asimmonds: fixed PHPDoc spelling typos. 2010-01-25 10:38:35 +00:00
Angie Byron e349ea9c9c #616650 by Crell: Default MySQL to transactions ON. Makes sense now that we default to InnoDB as well. 2010-01-13 05:49:41 +00:00
Dries Buytaert 8b0fc57911 - Patch #360854 by sammys, Crell: added missing db_index_exists(), required to provide proper upgrade path from Drupal 6 to Drupal 7. 2009-12-15 08:30:53 +00:00
Angie Byron 8387caea67 #356074 follow-up by sun: Fix SimpleTest's batch API processing due to typo in select. 2009-10-18 07:35:39 +00:00
Angie Byron 3dddaa3e6f #356074 by chx and Damien Tournoud: Provide a sequences API. Gets rid of stupid tables that only contain an incrementing ID, and fixes database import problems due to user ID 0. 2009-10-18 06:56:24 +00:00
Dries Buytaert 9d6182d8d0 - Patch #597556 by Berdir: return status to indicate executed query in MergeQuery::execute(). 2009-10-11 13:43:37 +00:00
Dries Buytaert cef1089389 - Patch #570900 by Crell | asimmonds: Changed Destroy remnants of update_sql(). 2009-09-29 15:13:57 +00:00
Angie Byron e18feedfdb #564394 by Berdir and Crell: Removed database BC layer. nah nah nah nah... hey hey hey... gooood byeeee... 2009-09-18 00:04:24 +00:00
Dries Buytaert aab953e437 - Rollback #567148 because it breaks on some versions of MySQL. 2009-09-05 13:35:54 +00:00
Dries Buytaert 11e31f721c - Patch #567148 by Damien Tournoud: enable ONLY_FULL_GROUP_BY for MySQL to enforce proper SQL queries. 2009-09-05 10:42:45 +00:00
Dries Buytaert fb0275fa6a - Patch #496500 by chx: remove global placeholder counter. 2009-08-29 05:43:35 +00:00
Angie Byron d71ffc5aba #200953 by seanburlington: Added basic support for 'time' and 'date' types to schema API. 2009-08-22 19:43:12 +00:00
Dries Buytaert 55d9463766 - Patch #370240 by Josh Waihi, stuzza, mfb, Arancaytar: PDO should quote index names in table declarations. 2009-08-17 06:52:02 +00:00
Dries Buytaert 8b11e7eb69 - Patch #543948 by Damien Tournoud: remove db_type_placeholder(). 2009-08-10 21:00:31 +00:00
Angie Byron a55a0d99d1 #412410 by c960657: Make schema descriptions plain text. 2009-08-02 08:16:16 +00:00
Dries Buytaert 1aec298314 - Patch #349508 by Josh Waihi: make sure that the database is installed using UTF-8 on PostgreSQL. 2009-07-27 19:42:56 +00:00
Angie Byron d2c02ca453 #481288 by Berdir and Crell: Add support for INSERT INTO ... SELECT FROM ... 2009-07-21 01:56:36 +00:00
Dries Buytaert 1430e8baa3 - Patch #346450 by Josh Waihi: length property should be ignored on non varchar and char fields. 2009-07-09 10:12:14 +00:00
Dries Buytaert 9079d78481 - Patch #481288 by Berdir: add support for INSERT INTO ... SELECT FROM ... queries. 2009-06-05 16:55:45 +00:00
Angie Byron 114a7f2cb3 #471800 follow-up by stella: Fixing comments on MySQL system queries. 2009-05-29 01:51:46 +00:00
Dries Buytaert a98905f5c6 - Patch #471800 by stella: more code style fixes. 2009-05-25 13:42:56 +00:00
Angie Byron 2671e98daa #301362 by moshe weitzman, David Strauss, Narayan Newton, and chx: Default to InnoDB in MySQL. 2009-04-25 16:57:19 +00:00
Dries Buytaert f09028107c - Patch #413732 by brianV: database code clean-up. 2009-04-20 20:02:31 +00:00