Commit Graph

405 Commits (95614ce35deb112da18f1f8841632b718be816c7)

Author SHA1 Message Date
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
Dries Buytaert f7bcc0fbab - Patch #827554 by Josh Waihi: PostgreSQL performance optimization: PDO::ATTR_EMULATE_PREPARES. 2010-06-16 04:56:07 +00:00
Dries Buytaert 5f5c024b6d - Patch #515310 by Josh Waihi, marcvangend: inserting >PHP_INT_MAX into BIGINT fails on PostgreSQL. 2010-06-15 16:12:06 +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 a7a0ee8360 - Patch #772554 by Crell, jbrown: remove delay() method from insert queries. 2010-06-02 19:39:17 +00:00
Dries Buytaert a309cb4279 - Patch #813540 by chx: handle NULL values nicely. 2010-06-02 06:58:29 +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 72db95c988 - Patch #711108 by Berdir: better exception reporting for watchdog() in the database system. 2010-05-26 07:52:13 +00:00
Dries Buytaert 98ff59bf80 - Patch #767690 by Crell: @file declarations in database system do not indicate what belongs in the file. 2010-05-23 19:14:42 +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
Dries Buytaert 7708606321 - Patch #301798 by Josh Waihi: remove some legacy data type and function mapping for PostgreSQL. 2010-05-13 08:23:56 +00:00
Dries Buytaert fe04e7d35f - Patch #793604 by matt2000, chx: DBTNG JOINs are close to useless. 2010-05-11 11:01:36 +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
Dries Buytaert 5265584016 - Patch #769554 by jpmckinney, Berdir, cha0s: fixed trivial SQL injection(s) with SelectQuery. 2010-05-05 16:51:30 +00:00
Angie Byron a649700010 #561400 by drewish, Berdir: Allow specifying MySQL socket with DBTNG. 2010-05-05 06:28:39 +00:00
Dries Buytaert 9332e835da - Patch #742042 by kkaefer:DBTNG: ->fetchAllAssoc() doesn't respect fetch mode set during ->execute(). 2010-04-30 13:47:46 +00:00
Angie Byron 31f13b5694 #299308 follow-up by David_Rothstein: Fixed Installing Drupal by visiting index.php (rather than install.php) leads to a fatal error when PDO is not enabled. 2010-04-29 03:48:16 +00:00