Commit Graph

422 Commits (1fea8c83c9bcd26b709f709ac05470fcd97f001f)

Author SHA1 Message Date
webchick fae103736b Issue #1167218 by droplet, kathyh: Fixed DatabaseStatementInterface::fetch* - document what empty return value is. 2011-10-05 07:53:07 -07:00
webchick d967abdf1d Issue #1054848 by barraponto: Fixing common typos through codespell.py. 2011-10-02 11:09:00 -07:00
Dries Buytaert a2e549e35c - Patch #897650 by Garrett Albright, Damien Tournoud: DatabaseSchema_sqlite()::findTables() shouldn't find indexes. 2011-09-11 17:09:40 -04:00
Dries Buytaert f3365697b7 - Patch #1266694 by Damien Tournoud: Fixed DatabaseStatementPrefetch doesn't implement fetchColumn(). 2011-09-11 13:00:57 -04:00
webchick 2c25c781ee Issue #1136854 by chx: Fixed MySQL 5.5 breaks speedy testing. 2011-09-05 11:57:30 -07:00
webchick 979f0d8cb9 Issue #1112854 by dereine, chx, Damien Tournoud: Fixed Subqueries use wrong arguments. 2011-08-22 03:27:31 +01:00
Dries Buytaert 1e7a7361c4 Revert "- Patch #1240320 by Chi: use __DIR__ instead of dirname(__FILE__)."
This reverts commit 132aed379c.
2011-08-07 12:39:05 -04:00
Dries Buytaert 132aed379c - Patch #1240320 by Chi: use __DIR__ instead of dirname(__FILE__). 2011-08-07 12:37:24 -04:00
Dries Buytaert 3af0b234d2 - Patch #1184082 by googletorp: like queries failing on postgres with standard_conforming_strings() turned on. 2011-08-06 06:57:07 -04:00
webchick d676fe412c Issue #1185780 by Damien Tournoud: Fixed Make transactions more flexible and useful. 2011-08-01 20:51:29 -07:00
webchick 18777c174e Issue #1177284 by ohnobinki: Fixed Add support to sqlite for char:normal type. 2011-07-28 17:05:42 -04:00
webchick 7fd0fe2495 Issue #1007830 follow-up by bfroehle: Better fix for nested transactions throw exceptions on ddl changes in MySQL. 2011-07-04 21:48:58 -07:00
webchick 3b2601b62a Issue #561422 follow-up by Damien Tournoud, lyricnz, chx: Fixed SQLite support for faster db prefixes. 2011-06-27 08:42:37 -07:00
webchick b8cb76c48b Issue #561422 by sun, dalin, lyricnz, catch, Gerhard Killesreiter: Replace strtr() with str_replace() for db prefixing for increased performance. 2011-06-22 17:42:34 -07:00
webchick 2647e11642 Issue #1007830 follow-up by bfroehle: Add more specificity to MySQL nested DDL transaction error check. 2011-06-04 11:03:49 -07:00
webchick 33d4ce4bde Issue #1007830 by drunken monkey, Damien Tournoud, bfroehle: Fixed Nested transactions throw exceptions on ddl changes. 2011-05-29 21:51:22 -07:00
Dries Buytaert b6e430d0e6 - Patch #1164548 by droplet: correct SelectQuery::range doc. 2011-05-28 09:38:52 -04:00
webchick e77f87506c Issue #1105848 by cafuego: Fixed Unsafe query comments possible via UI. 2011-05-17 23:57:40 -05:00
Dries Buytaert b7062f4b21 - Patch #958850 by bellHead: Postgres password containing backslashes don't work. 2011-05-08 16:36:29 -04:00
Dries Buytaert 9888e8884e - Patch #1139638 by DamZ: the SQLite driver cannot update a column to NULL. 2011-04-28 06:02:43 -04:00
Dries Buytaert 05e249e8f8 - Patch #1122880 by jn2: DatabaseConnection::defaultOptions has incorrect php.net link. 2011-04-23 16:29:41 -04:00
Dries Buytaert 1e0b3e25e3 - Patch #935258 by Stevel, Josh Waihi: defaults not changed in changeField on postgresql. 2011-04-10 23:45:30 +02:00
The Great Git Migration 79bcdb8b7d Stripping CVS keywords 2011-02-25 02:06:03 +00:00
Angie Byron db538c8250 #987384 follow-up by h_peter, jhodgdon: Further clean-ups to group topics. 2011-01-03 18:03:54 +00:00
Angie Byron 98f287b55a #1001242 by agentrickard, pwolanin, Crell, chx: Add DBTNG support for EXISTS conditions. 2010-12-31 20:43:43 +00:00
Angie Byron 3670e5757e #1007448 by chalet16: Fix typo in DatabaseSchema_pgsql. 2010-12-29 04:03:42 +00:00
Angie Byron 2ec8e339c7 #951116 by Damien Tournoud, Stevel: Fixed db_change_field() fails to convert int to varchar on PostgreSQL 2010-12-29 03:50:58 +00:00
Angie Byron f31175dcdd #866340 follow-up by mikl: Document how to add support for non-standard SQL types to hook_schema(). 2010-12-28 19:38:39 +00:00
Angie Byron fbd6ffbf52 #1005674 by solotandem: Fixed SelectQuery::countQuery() fails with a group by expression 2010-12-28 18:49:51 +00:00
Angie Byron 8cbf5a50c8 #1003860 follow-up by dereine, dmitrig01, chx: Fix count queries with aliases. 2010-12-23 09:31:56 +00:00
Angie Byron 05d5a8e814 #1005428 by dmitrig01, chx: Remove redundant pragma statement in SQLite. 2010-12-23 05:29:27 +00:00
Angie Byron bb344c82d5 #1004068 by Damien Tournoud, dmigtrig01: Complete the implementation of DatabaseSchema::addField() for SQLite... gets us to 100% tests passing in SQLite! :D 2010-12-23 01:43:38 +00:00
Angie Byron 925722a804 #850852 follow-up by Damien Tournoud: Fixed notices that caused tests to fail. 2010-12-23 01:39:44 +00:00
Angie Byron a87da0d78a #850852 by Damien Tournoud, dmitrig01, chx: Fixed transaction failure and allow concurrent testing on SQLite 2010-12-22 21:34:13 +00:00
Angie Byron 1eb122344a #1003860 by dmitrig01, chx: Fixed Count query fails to remove fields and expressions. 2010-12-22 08:13:58 +00:00
Angie Byron 6cf421dba8 #1004850 by chx, Crell: Fixed DBTNG databaseType comment is confusing 2010-12-22 07:48:56 +00:00
Angie Byron 8eb5874e64 #1004060 by dmitrig01, chx: Fixed SQLite update queries with expression failing 2010-12-22 01:16:43 +00:00
Angie Byron dc51c88aec #926636 by Stevel, Damien Tournoud, dmitrig01: Fixed Drupal install error on PostgreSQL 9.0 database due to encoding. 2010-12-21 21:20:04 +00:00
Angie Byron 54655d3a52 #977460 by dmitrig01, bfroehle, Josh The Geek: Fixed Cannot serialize or unserialize PDO instances error 2010-12-15 06:52:54 +00:00
Dries Buytaert 53c10fbf0f - Patch #974250 by Stevel: upgrade path broken on PostgreSQL: can't change NOT NULL. 2010-12-14 19:33:22 +00:00
Angie Byron 61aceff0c2 #973314 by tekante, Damien Tournoud: Fixed PDO exception when attempting to add a new not null field with initial value 2010-12-08 06:38:59 +00:00
Angie Byron 732b57d10d #984896 by Crell: Remove wrong references to 'query ID' in DBTNG docs. 2010-11-30 07:16:24 +00:00
Angie Byron c1ea227f52 #851136: Committing missing files. 2010-11-29 19:57:57 +00:00
Angie Byron 1a685474e6 #851136 by Crell, chx, Damien Tournoud: Make the database autoloading more robust. 2010-11-29 04:45:11 +00:00
Angie Byron ff119bc0cc #346494 by hswong3i, Pancho, Dave Reid, duellj, dalin: Fixed DB drivers need to be able to change the configure database form during install 2010-11-29 02:55:57 +00:00
Angie Byron cfb6ff4127 Rolling back #851136. Broke SQLite installation. 2010-11-28 07:32:39 +00:00
Dries Buytaert d7a63ff988 - Patch #851136 by Damien Tournoud, Crell, chx: make the database autoloading more robust. 2010-11-27 20:37:34 +00:00
Angie Byron df57e940b2 #962458 by BarisW, Crell: Fixed database driver names aren't translated. 2010-11-26 21:36:43 +00:00
Angie Byron 0ac67018a3 #946968 follow-up by Damien Tournoud: Refactor version check for databases. 2010-11-13 23:07:16 +00:00
Dries Buytaert 0828119240 - Patch #946968 by dmitrig01: we are not checking the version of MySQL and PostgreSQL servers anymore (nor we do for SQLite). 2010-11-13 14:08:47 +00:00
Dries Buytaert 1d0f6479da - Patch #839556 by jrchamp, dmitrig01: remove pointless usage of array_key_exists(). 2010-10-28 02:27:09 +00:00
Dries Buytaert ee050856ca - Patch #718540 by jhodgdon, freelock: better documentation in query.inc. 2010-10-26 15:26:09 +00:00
Angie Byron 748d7ea037 #927828 by Damien Tournoud, LaurentAjdnik, boombatower: Fixed contrib can't specify custom schema types. Should fix Date module. Yay. 2010-10-22 15:18:56 +00:00
Dries Buytaert 468d201ce1 Patch #943042 by Damien Tournoud: MergeQuery regressions: key is used in the update query, exception is echoed. 2010-10-18 00:50:36 +00:00
Angie Byron f8b10296ea #938614 follow-up by chx: Abort abort\! Back to 5.2.4. 2010-10-15 18:03:43 +00:00
Dries Buytaert 5c918691d3 - Patch #931632 by quartsize: countQuery() replaces connection information with active. 2010-10-05 01:42:24 +00:00
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
Angie Byron ab3ab56299 #892568 by chx: Add pointer from api.drupal.org docs to the handbook docs for DBTNG> 2010-09-29 19:55:43 +00:00
Dries Buytaert b1190c11b5 - Patch #924686 by mikey_p, munzirtaha: space required after foreach construct. 2010-09-28 02:30:32 +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
Angie Byron 7b14675e08 #890994 by Berdir: Entity query tests fail on PostgreSQL. 2010-09-24 21:24:14 +00:00
Dries Buytaert e0032eeee6 - Patch #844186 by chx: clarify merge queries. 2010-09-24 02:05:55 +00:00
Dries Buytaert cdf28e6fd6 - Patch #910388 by mikl: installation fails on PostgreSQL 8.4: Invalid escape sequence. 2010-09-22 03:22:20 +00:00
Dries Buytaert 80d21ffbb2 - Patch #909230 by chx: better db_query() docs. 2010-09-18 01:34:37 +00:00
Angie Byron 4237d014e9 #874326 by rfay, pwolanin, chx: Fixed Invalid scheme fails to halt processing of a stream request. 2010-09-11 21:14:32 +00:00
Dries Buytaert 6f0d1797b5 - Patch #886970 by jhodgdon, Crell, Damien Tournoud: DB API putting wrong db placeholders in complex queries. 2010-09-03 19:06:55 +00:00
Angie Byron 7b2c2c7de3 Temporary roll-back of #890994, per Dries's feedback. 2010-09-01 01:43:50 +00:00
Angie Byron dc3e02fbfd #890994 by Berdir, Crell, Josh Waihi: Fixed Entity query tests fail on PostgreSQL. 2010-09-01 01:35:19 +00:00
Angie Byron a405b10d68 #761976 by Berdir, jhedstrom, tpfeiffer, Damien Tournoud, Rob van den Bogaard, andypost: Fixed DatabaseSchema_pgsql()::changeField() is broken. 2010-09-01 01:28:41 +00:00
Angie Byron 454a53eb1b #890090 by Berdir, jhedstrom, marvil07, bjaspan: Fixed Inserting into a just created table fails when trying to set a value to a serial. 2010-08-27 15:53:43 +00:00
Angie Byron 9d6d6519c9 #895344 by Berdir: Fixed Poll upgrade tests fail on SQLite. 2010-08-27 15:45:46 +00:00
Dries Buytaert db5368027e - Patch #880132 by bojanz: hook_schema() doesn't support compound foreign keys; inconsistent implementations in core. 2010-08-22 13:55:53 +00:00
Dries Buytaert 077617424c - Patch #857206 by Stevel: fixed database autoloader. 2010-08-17 15:30:01 +00:00
Dries Buytaert 03630c12e5 - Patch #862078 by gustavb, Damien Tournoud: PDO coerceing empty strings to NULL when target is a Postgres bytea. 2010-08-16 21:01:23 +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
Dries Buytaert 66d31c52ba - Patch #423888 by mikeryan, Crell, drunken monkey: use subqueries for ->countQuery(), at least for MySQL. 2010-08-08 02:18:53 +00:00
Angie Byron 755343e3b7 #807336 by jhodgdon, Berdir, Crell: Document thrown exceptions in database layer. 2010-08-05 08:26:35 +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 8a128c645c - Patch #851748 by Stevel: weird logic in SelectQuery::addField(). 2010-07-28 01:51:06 +00:00
Dries Buytaert dca92900fb - Patch #850152 by kiamlaluno: use 'elseif' in place of 'else if'. 2010-07-24 17:28:27 +00:00
Dries Buytaert 002ca866d5 - Patch #861566 by p.brouwers: use uppercase for PHP constants, e.g. NULL, TRUE, FALSE. 2010-07-22 23:54:32 +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
Dries Buytaert 84916ad9c7 - Patch #845846 by Stevel, bellHead: PDOStatement::bindParam() bind to a reference even for OUT parameters. 2010-07-19 22:11:04 +00:00
Dries Buytaert 83f4ef42f6 - Patch #851100 by Damien Tournoud: subquery objects are iterated upon. 2010-07-19 21:05:46 +00:00
Dries Buytaert a5f23317ef - Patch #851110 by Damien Tournoud: InsertQuery::execute() needs to rollback the transaction if one insert fail. 2010-07-19 13:28:19 +00:00
Dries Buytaert 9cf185c391 - Patch #852362 by chx: fixed extend is 100% fubar. 2010-07-19 13:23:21 +00:00
Dries Buytaert 1798cf27ab - Patch #851698 by Damien Tournoud: DatabaseSchema_sqlite() severely broken. 2010-07-14 20:25:10 +00:00
Dries Buytaert 02a4755049 - Patch #851590 by Damien Tournoud: SQLite should 'stringify' fetches. 2010-07-13 04:30:08 +00:00
Angie Byron 9d15ef4f04 #847528 by chx: Fixed rollback presumes transaction support. 2010-07-12 15:14:16 +00:00
Angie Byron 0d865cc02b #851140 by Damien Tournoud: Fixed DatabaseSchema::getPrefixInfo() is *severely* broken. 2010-07-12 15:10:40 +00:00
Angie Byron a5e2404e0b #711108 follow-up by chx: Fixed SQLite implementation of richer exception reporting for watchdog(). 2010-07-04 02:26:10 +00:00
Angie Byron 94247bfd7d #715108 follow-up by Damien Tournoud, justinrandell: Fixed SQLite Merge queries. 2010-07-03 20:45:45 +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 ac63fa94b5 - Patch #829152 by nenne: database abstraction layer db_query_range() example is wrong. 2010-06-25 20:28:49 +00:00
Angie Byron 605362393d #809698 follow-up by Damien Tournoud, Josh Waihi, chx: Add CONCAT() function to PostgreSQL since || isn't supported reliably across database systems. 2010-06-21 01:32:21 +00:00