Commit Graph

99 Commits (485946f296213297eea4cc5661705cb3d2e470df)

Author SHA1 Message Date
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
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 cdf28e6fd6 - Patch #910388 by mikl: installation fails on PostgreSQL 8.4: Invalid escape sequence. 2010-09-22 03:22:20 +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
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 c9e5a055fb - Patch #866340 by Damien Tournoud: remove support for date and time types. 2010-07-28 10:52:12 +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 84916ad9c7 - Patch #845846 by Stevel, bellHead: PDOStatement::bindParam() bind to a reference even for OUT parameters. 2010-07-19 22:11:04 +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 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 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
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
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
Dries Buytaert dde5c67ba0 - Patch #302327 by Josh Waihi, noahb, Crell, hswong3i: support cross-schema/database prefixing like we claim to. 2010-04-07 15:07:59 +00:00
Dries Buytaert a08c969669 - Patch #728338 by sun, Crell: standardize on 'field' in function names. 'It has to get worse before it can get better.' 2010-03-28 11:45:11 +00:00
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 aec10a8c7d - Patch #734146 by scor: white-space clean-up. 2010-03-06 06:39:01 +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 897817eb0c - Patch #279851 by catch, David Strauss, Damien Tournoud, asimmonds, c960657, JohnAlbin, drawk, pwolanin, robertDouglass, coltrane: replace LOWER() with db_select() and LIKE() where possible. 2010-02-28 20:10:34 +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 bd4809c9c5 #718016 by andypost and Damien Tournoud: Fixed DatabaseSchema_pgsql()::renameTable() needs to rename the indexes. 2010-02-23 18:46:21 +00:00
Angie Byron 6192e19f60 #720620 by andypost: Fixed indexExists() for pgsql and sqlite does not prefix tablename. 2010-02-23 05:07:18 +00:00
Angie Byron 2f097f48cb #715906 by Damien Tournoud: Fixed Schema tests fail on PostgreSQL. 2010-02-17 05:26:10 +00:00
Angie Byron 9ce1c6339f #550124 by c960657, catch, and Crell: Remove prepared statement caching, which was a nice idea, but uses up tons of memory without any tangible performance benefits. 2010-02-12 06:58:43 +00:00
Angie Byron 66c63ff3e2 #522786 by stormsweeper: Fixed Postgres numeric check needs to happen after precision check in schema generation. 2010-02-07 05:23:32 +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
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 71ee49de3e #679890 follow-up by Bojhan, aspilicious, and agentrickard: Remove more extraneous 'Please' in the interface. 2010-01-09 23:03:22 +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
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
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
Angie Byron 7d1a9b8d3d #496500 follow-up by Damien Tournoud: Fixed PostgreSQL and SQLite. 2009-08-31 17:07:21 +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
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