Commit Graph

217 Commits (120063909aa8ea2173ae1faa0ce9859a65908742)

Author SHA1 Message Date
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
Angie Byron d4a597fd4b #561104 by Crell: Added support for random ordering in dynamic select queries. 2009-09-11 02:47:11 +00:00
Dries Buytaert 029c48c68d - Patch #306151 by agentrickard, David_Rothstein, Dave Reid, dbabbage, moshe weitzman: automatically install/uninstall schema. 2009-09-10 06:38:20 +00:00
Dries Buytaert f73040e18b - Patch #557318 by cha0s, hass, Crell: Changed UNION support is missing in database API. 2009-09-07 15:28:53 +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
Angie Byron 7d1a9b8d3d #496500 follow-up by Damien Tournoud: Fixed PostgreSQL and SQLite. 2009-08-31 17:07:21 +00:00
Dries Buytaert fb0275fa6a - Patch #496500 by chx: remove global placeholder counter. 2009-08-29 05:43:35 +00:00
Angie Byron fd164e9d02 #496516 by Crell and Berdir: Moved query_alter() into a preExecute() method, so that modules can know the final query/arguments before they are run. 2009-08-26 04:58:23 +00:00
Dries Buytaert 488fee8ce8 - Patch #496500 by chx: rollback. 2009-08-24 18:22:54 +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 eac93fa430 - Patch #496500 by Moshe Weitzman, Crell, Berdir: remove global placeholder counter so we can support Views caching. 2009-08-22 19:10:34 +00:00
Dries Buytaert e4758cb4f5 - Patch #555446 by deekayen: remove backward-compatibility hacks from arg processing. 2009-08-21 16:36:35 +00:00
Angie Byron 0ae93f0cb4 #542426 by neilnz: PostgreSQL should not require password to be set in settings.php for trust mode. 2009-08-19 08:12:26 +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 3abd531fba #315047 by Josh Waihi: Escape PostgreSQL column names in the changeField function. 2009-08-04 06:32:17 +00:00
Angie Byron 4e614ace82 #434350 by cpliakas and Crell: Add a method to explicitly close a database connection. 2009-08-04 05:36:57 +00:00
Angie Byron a55a0d99d1 #412410 by c960657: Make schema descriptions plain text. 2009-08-02 08:16:16 +00:00
Dries Buytaert b3b7be43c0 - Patch #342950 by Josh Waihi: moving PostgreSQL stored procedures to the PostgreSQL database backend, where it belongs. 2009-08-01 20:31:50 +00:00
Dries Buytaert 4e96b4e5df - Patch #535264 by Crell: removing some more legacy cruft. 2009-07-30 10:16:48 +00:00
Dries Buytaert aab51b9319 - Patch #524728 by David_Rothstein, JoshuaRogers, JacobSingh et al: refactor install.php to allow Drupal to be installed from the command line. 2009-07-28 12:13:47 +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
Dries Buytaert 2e36bdcb7d - Patch #517502 by andrea.gariboldi: make Transaction API follow its own documentation. 2009-07-27 18:24:49 +00:00
Dries Buytaert 3a29ee48f8 - Patch #3518404 by bopombatower: lock down DB config based on simpletest UA headers. 2009-07-22 04:45:35 +00:00
Angie Byron ef5360ab3c #525754 by chx: Clean up some trailing whitespace. 2009-07-21 07:27:00 +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 ef09cf93e5 - Patch #517542 by David Strauss: renamed functions for clarity. We say 'yay' to clarity! 2009-07-14 10:22:17 +00:00
Dries Buytaert 6682ab936c - Patch #517502 by Crell: make transaction API follow its own documentation. 2009-07-13 07:27:15 +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 d6ce954260 - Patch #314358 by wonder95: only set ignore_slave_server if there are slave servers being used, which is assumed if there are more than one. 2009-07-07 08:57:48 +00:00
Dries Buytaert 4cd373bf2c - Patch #509122 by Berdir: rest in peace db_affected_rows(). 2009-07-03 10:57:46 +00:00
Dries Buytaert e6caf7a0e1 - Patch #508756 by catch, crell et al: rest in peace db_placeholders(). 2009-07-03 04:36:50 +00:00
Dries Buytaert 8eb8dcc842 - Patch #314358 by wonder95, Crell, killes, et al: add option to ignore slave servers. Finally. 2009-07-01 08:11:27 +00:00
Angie Byron 6d5d8dccc4 #408434 follow-up by chx: Add md5 as a function to SQLite to prevent fatal errors. 2009-06-30 00:09:55 +00:00
Dries Buytaert 2a7c2fa9b7 - Patch #499794 by Berdir: made protected method public because it is called as a public method. 2009-06-27 09:44:05 +00:00
Dries Buytaert 7613aa5908 - Patch #369314 by Berdir: make sub-selects work. 2009-06-27 09:41:56 +00:00
Dries Buytaert b65538567d - Patch #276008 by lilou, Arancaytar: missing user agent should not trigger a notice per the HTTP specification. 2009-06-17 13:40:26 +00:00
Angie Byron 469471fdde #408876 by JamesAn: Document Schema API's serialize property. 2009-06-06 18:23:21 +00:00
Angie Byron c3e95d2532 #483808 by chx and Crell: Default DBTNG conditions to IN when an array of values is passed in, to match the field query API. 2009-06-06 16:57:52 +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
Dries Buytaert 88c9a015c1 - Patch #111011 by Josh Waihi: adding foreign key specifications. 2009-06-01 22:07:10 +00:00
Dries Buytaert 00271e741f - Patch #458176 by c960657: improved exception handling in database layer. 2009-06-01 16:47:06 +00:00
Dries Buytaert 984f27efc9 - Patch #106559 by kbahey, catch, DamZ, chx et al: more drupal_lookup_path() optimizations. 2009-06-01 11:23:27 +00:00
Angie Byron 114a7f2cb3 #471800 follow-up by stella: Fixing comments on MySQL system queries. 2009-05-29 01:51:46 +00:00
Angie Byron 9eeec33415 #467474 by Josh Waihi: Type-cast booleans to work around PostgreSQL PDO bug. 2009-05-27 01:50:36 +00:00
Dries Buytaert 70546d29ff - Patch #472646 by Josh Waihi: fixed the PostgreSQL installation. 2009-05-26 08:50:04 +00:00
Dries Buytaert a98905f5c6 - Patch #471800 by stella: more code style fixes. 2009-05-25 13:42:56 +00:00
Dries Buytaert 12024dbca4 - Patch #319165 by andpost: force PostgreSQL to use UTF-8 by default. 2009-05-25 05:22:52 +00:00
Dries Buytaert a24a6c2bba - Patch #471070 by stella: millions of code style fixes. 2009-05-24 17:39:35 +00:00
Dries Buytaert 800f2d9aa4 - Patch #467984 by Berdir: fixed some database glitches and extended the tests. 2009-05-22 07:08:15 +00:00
Angie Byron e5350c1905 #445214 by Josh Waihi: Fix drupal_write_record() to correctly deal with NULL serial columns. 2009-05-20 05:44:03 +00:00
Angie Byron 8ba2805c91 #464878 by chx: Fix SQLite abstraction layer to accept arrays of placeholder values without leading :, for compatibility with PDO. 2009-05-17 03:31:36 +00:00
Angie Byron a81eaade50 #459786 by DamZ: Remove all_fields from extended queries to prevent breaking under PostgreSQL and certain MySQL versions. 2009-05-11 20:13:43 +00:00
Dries Buytaert c5926f4961 - Patch #396578 by Damien Tournoud: added db_truncate_table() to the database layer. 2009-05-03 08:56:19 +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 3dfb808a6d #373225 by Josh Waihi: Make PostgreSQL cast values when changing database columns to prevent data loss. 2009-03-31 01:42:45 +00:00
Angie Byron 39c3344ac6 #365996 by sammys: Correct timestamp type name in PostgreSQL. 2009-03-30 04:55:59 +00:00
Dries Buytaert a88a999ca8 - Patch #351898 by mfb: database API was not E_STRICT compatible. 2009-03-29 12:48:33 +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
Angie Byron 193ba01e1f #343999 by Crell, chx, and Alexander Pas: Add facility for doing NULL / NOT NULL conditions to DBTNG. 2009-03-14 17:45:55 +00:00
Angie Byron 2518d1601c #349671 by Damien Tournoud and Josh Waihi: Make the PostgreSQL driver independent of schema to fix D6 => D7 update. 2009-02-24 16:34:46 +00:00
Dries Buytaert b3e36d655c - Patch #299267 by Crell: add extender support to the SELECT query builder. 2009-02-22 16:53:41 +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 250e486bb0 #363687 by chx: Simplify DBTNG codeflow. 2009-01-25 12:19:32 +00:00
Dries Buytaert b2402f40ae - Patch #360982 by Damien Tournoud: fixed typo in SQLite transacation detection code. 2009-01-19 20:45:17 +00:00
Dries Buytaert bca75d353f - Patch #360887 by Crell: more robus example of how to use transaction support in D7. 2009-01-19 10:12:00 +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
Angie Byron e8cff6403b #360754 by Crell: Docblock fixes for DBTNG. 2009-01-18 23:55:32 +00:00
Angie Byron df48958752 #360580 by Razorraser: Fix documentation link to PDO. 2009-01-18 16:24:05 +00:00
Angie Byron 6135b967e1 #359918 by Dave Reid: Fix typo in Schema API documentation. 2009-01-18 06:47:58 +00:00
Dries Buytaert a6f64e65f3 - Patch #301049 by Damien Tournoud: fix InsertQuery. 2009-01-17 12:47:43 +00:00
Dries Buytaert d3df2ff356 - Patch #225562 by Jody Lynn et al: clean up of the taxonomy module SQL table namespace. 2009-01-14 21:16:21 +00:00
Dries Buytaert 77936aef4c - Rollback of #225562 -- I think there is still something wrong. 2009-01-13 22:41:39 +00:00
Dries Buytaert b86354c55c - Patch #225562 by Jody Lynn: change DB table names from eg. term_data to taxonomy_term_data. 2009-01-13 22:25:13 +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 45fed79d73 - Patch #348448 by c960657: fixed php strict warnings when running tests. 2009-01-11 08:36:28 +00:00
Dries Buytaert f088ccfb98 - Patch #301049 by Josh Waihi, Damien Tournoud, et al: fixed bug with transaction support (on PostgreSQL). 2009-01-11 07:47:03 +00:00
Dries Buytaert 3680da37a0 - Patch #355278 by Josh Waihi: fixed problem with transaction support being turned on when unwanted. 2009-01-08 18:53:44 +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 634379299f - Patch #320591 by Moshe, Crell et al: tag specific alter hook for database queries. 2009-01-04 19:56:51 +00:00
Dries Buytaert ba9f2041f6 - Patch #314464 by Dave Reid, Crell, markus_petrux, drewish et al: convert db_placeholders() to new database layer. 2008-12-30 20:27:24 +00:00
Dries Buytaert 92a8adea65 - Patch #352470 by scor: fixed typos and grammar in comments. 2008-12-30 16:43:20 +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 fc063806de - Patch #314464 by Crell: fixing up the db_placeholder() patch that I committed incompletely. 2008-12-26 11:48:18 +00:00
Dries Buytaert 9120540d19 - Patch #339588 by jhedstrom, Josh Waihi, mikl: remove *_unsigned types and rework their sizes. Fixes exception on PostgreSQL. 2008-12-26 11:04:39 +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 e5ddb46d12 - Patch #314464 by Crell, Dave Reid et al: convert db_placeholders() to the new DB layer. 2008-12-24 09:53:40 +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 4c5221a939 - Patch #299178 by Crell et al: add support for subqueries in FROM and JOIN clauses in dynamic query. Cool feature/syntax. 2008-12-12 16:21:58 +00:00