Commit Graph

258 Commits (44c4a2b473b2e73f077b37bb249c5354d7af824e)

Author SHA1 Message Date
Dries Buytaert 88cc713837 - Patch #700518 by agentrickard, Crell: documentation fixes. 2010-02-06 19:01:38 +00:00
Dries Buytaert 0597e322ce - Patch #700518 by agentrickard: document conjunctions for db_condition(). 2010-01-31 18:42:41 +00:00
Dries Buytaert ea51c3215b - Patch #606526 by axyjo, scor: remove trailing whitespaces and add newlines at end of files. 2010-01-30 07:59:26 +00:00
Dries Buytaert 1e8da1f9ae - Patch #681538 by aspilicious, jhodgdon: improved documentation, better @see also links. 2010-01-30 07:54:01 +00:00
Angie Byron 3afffc9dc2 Hm. Rollback of #522786 which seems to cause test failures. 2010-01-30 03:49:14 +00:00
Angie Byron 12ed470655 #522786 by stormsweeper: Fixed PostgreSQL numeric check needs to happen after precision check in schema generation. 2010-01-30 02:56:32 +00:00
Angie Byron 68d000561d #697694 by aspilicious: Doxygen fixes. 2010-01-29 01:59:32 +00:00
Dries Buytaert af3f94b37e - Patch #693614 by asimmonds: fixed PHPDoc spelling typos. 2010-01-25 10:38:35 +00:00
Dries Buytaert af6540b07f - Patch #692302 by Crell: searching for the wrong extender subclass. 2010-01-22 22:52:38 +00:00
Dries Buytaert 4837645ac5 - Patch #688158 by moshe weitzman: query logger does not provide class information. 2010-01-18 17:10:03 +00:00
Angie Byron fed2d40473 #684138 by carlos8f and Heine: Fixed bug in SQLite's NextId() that prevented installation. 2010-01-14 19:49:14 +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
Angie Byron 71ee49de3e #679890 follow-up by Bojhan, aspilicious, and agentrickard: Remove more extraneous 'Please' in the interface. 2010-01-09 23:03:22 +00:00
Dries Buytaert 25747314e2 - Patch #550010 by c960657: DatabaseConnection::prepareQuery() ignores argument. 2010-01-08 21:09:17 +00:00
Angie Byron c92ddd4cb8 #601768 by Crell and Damien Tournoud: Add a DatabaseStatementEmpty to allow complex query to return a proper empty set. 2010-01-08 07:43:55 +00:00
Angie Byron 37fcdbc67c #633678 by Josh Waihi, chx, Crell, David Strauss, and Damien Tournoud: Make sequence API work on non-MySQL databases. 2010-01-07 04:51:26 +00:00
Angie Byron 8f17383184 #671348 by Garrett Albright: Fixed escape error with SQLite. 2010-01-06 04:10:54 +00:00
Dries Buytaert 7edad0db9e - Patch #672268 by Garrett Albright: comment cleanup. 2010-01-03 06:50:07 +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 82c20e6615 #654662 by c960657 and Crell: Allow escaping wildcard characters in LIKE queries. 2009-12-13 18:10:43 +00:00
Angie Byron e5356ea62d #653926 follow-up by Crell: Document SQL range limits. 2009-12-13 18:06:48 +00:00
Dries Buytaert 8de2de0206 - Patch #653926 by Damien Tournoud: fixed range of sub-queries not being honored. 2009-12-09 17:23:50 +00:00
Dries Buytaert 1b01b241ae - Patch #648744 by Crell: specified more @return type definitions for auto-completion in IDEs. 2009-12-04 16:31:04 +00:00
Dries Buytaert 0b6e0b605c - Patch #637058 by jhodgdon: documentation improvements. 2009-12-03 20:42:38 +00:00
Dries Buytaert a49c496710 - Patch #648744 by fago: added support for DBTNG auto completion in IDEs. Usability improvement. 2009-12-02 23:05:13 +00:00
Dries Buytaert a902f664d9 - Patch #564852 by justinrandell, mcarbone, Crell: fixed subselect in WHERE condition with multiple placeholders cause invalid/duplicate placeholders. 2009-11-23 22:31:42 +00:00
Angie Byron cb98091e1b #108818 by David Strauss, chx, Crell: Add transactions to key X_save() routines. 2009-11-19 04:00:47 +00:00
Dries Buytaert f546cfa1e8 - Patch #619580 by Crell: only invoke query_alter() on tagged queries. 2009-11-10 22:15:24 +00:00
Angie Byron bbf9c0a674 #620516 by Crell: Use isNull() inside SQLite driver. 2009-11-02 00:19:27 +00:00
Angie Byron 1eae549bd6 #615508 by Crell: Use slave servers for search module. 2009-11-01 21:46:16 +00:00
Angie Byron c1ce884e4b #612392 by chx and Crell: Allow lowercase comparison operators in DBTNG. 2009-10-26 04:46:38 +00:00
Dries Buytaert eeb7b53ef6 - Patch #601938 by mfb: fixed some forum exceptions and added tests. 2009-10-20 00:28:16 +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 60c5878351 - Patch #593746 by #593746 by sun, andypost: prepare Drupal core for dynamic data translation. 2009-10-16 19:06:25 +00:00
Angie Byron 33b09cc5eb #589754 by rfay and Crell: Fixed non-recoverable install if invalid database specified in settings.php. 2009-10-12 02:00:04 +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 f5b02199c7 - Patch #596664 by c960657 | Crell: document “char”, “date” and “time” database field types. 2009-10-08 02:44:54 +00:00
Angie Byron b4de609c6d #595758 by jhodgdon: Fixed documentation for db_query_range(). 2009-10-06 00:03:12 +00:00
Dries Buytaert 7178f6b173 - Patch #451604 by brianV, sun | Dries, c960657: rename drupal_set_header(). 2009-09-30 18:36:02 +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
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