Commit Graph

65 Commits (b04816e0fe30dab62d27bbf3ff08a15a2a14a13a)

Author SHA1 Message Date
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
Angie Byron d30a41e791 Roll-back of #333054; needs more discussion. 2009-04-20 02:23:17 +00:00
Dries Buytaert b0a6099918 - Patch #432128 by Berdir: adding some babysitting code to insert queries -- don't execute query when there are no values. 2009-04-15 13:30:17 +00:00
Dries Buytaert 00f9c254d9 - Patch #422366 by jamesAn: improved static caching in database drivers. 2009-04-14 06:22:10 +00:00
Dries Buytaert ea9a75eb61 - Patch #423994 by pwolanin: working around MySQL bug. 2009-04-05 12:08:49 +00:00
Dries Buytaert 27d7455edb - Patch #333054 by c960657: page cache should be case sensitive. 2009-04-01 20:00:47 +00:00
Angie Byron 87f82a6127 #373514 by jaydee18 and jbomb: Fix typo in transaction property. 2009-03-25 18:43:01 +00:00
Dries Buytaert 3a7047c670 - Patch #12201 by mfb: added support for table descriptions. 2009-03-14 20:34:17 +00:00
Dries Buytaert e1652e99b6 - Patch #374940 by Dave Reid et al: fixed MergeQuery problem. 2009-02-22 16:31:24 +00:00
Dries Buytaert 6d3d75fe4b - Removing whitespace. 2009-01-26 14:08:44 +00:00
Angie Byron cd9794bea7 #360113 by Dave Reid: Remove db_and() and db_or() calls from database/* files. 2009-01-19 01:28:28 +00:00
Dries Buytaert f80c618427 - Patch #349500 by Damien Tournoud et al: made db_query_temporary() generate its own temporary table names. 2009-01-11 10:57:20 +00:00
Dries Buytaert 9af9e3de88 - Patch #342503 by Josh Waihi, Damien Tournoud et al: schema function findTables fails on PostgreSQL. 2009-01-08 09:52:12 +00:00
Dries Buytaert a7b4bdef1d - Patch #301049 by David Strauss, Josh Waihi, Crell, et al: transaction nesting was not tracked by connection, better documentation, and better tests. 2009-01-08 09:39:48 +00:00
Dries Buytaert 0d100b57dc - Patch #332002 by Crell et al: MergeQuery should refuse to execute if there are no key fields. With tests. 2008-12-26 14:23:38 +00:00
Dries Buytaert 779a70a0d4 - Patch #344575 by cdale: made the ANSI compatibility mode less strict to work around a MySQL 5 bug. 2008-12-24 10:21:32 +00:00
Dries Buytaert 1c0f4ac3aa - Patch #344575 by cdale et al: force MySQL to run in ANSI compatibility mode. Comes with tests. 2008-12-23 07:48:24 +00:00
Dries Buytaert 0c63d9e24f - Patch #349504 by keith.smith: clean up sentence spacing in code comments. 2008-12-20 18:24:41 +00:00
Dries Buytaert 55382d04a7 - Patch #318016 by Dave Reid: step one to standardizing type-hinting. 2008-12-08 21:41:54 +00:00
Dries Buytaert 71a22f1c1f - Patch #337926 by Damien Tournoud: clean-up lower case handling. 2008-12-02 19:45:01 +00:00
Dries Buytaert 205c5b2415 - Patch #337926 by hswong3i, Dave Reid, Damien Tournoud: forced connection with PDF:CASE_LOWER. 2008-11-29 09:30:36 +00:00
Dries Buytaert d32a4c9dc4 - Patch #337926 by hswong3i: by default, force lower-case database tables/columns. 2008-11-28 09:27:58 +00:00
Dries Buytaert 44c8391d32 - Patch #321100 by hswong3i: empty insert statements are better handled now. Comes with tests. 2008-11-13 21:08:16 +00:00