Commit Graph

217 Commits (120063909aa8ea2173ae1faa0ce9859a65908742)

Author SHA1 Message Date
Dries Buytaert 7c30a1bac9 - Patch #342693 by Damien Tournoud et al: DatabaseStatement Prefect iterator did not implement a proper forward-only one cursor. 2008-12-09 11:22:11 +00:00
Dries Buytaert 55382d04a7 - Patch #318016 by Dave Reid: step one to standardizing type-hinting. 2008-12-08 21:41:54 +00:00
Angie Byron 6d84974ff5 #343620 by Dave Reid: Fix db_update() failure on expression-only SQL (with test). 2008-12-07 07:51:55 +00:00
Dries Buytaert 4e9d1f7d1c - Patch #342366 by John Morahan, Dave Reid, Damien Tournoud: fixed replacement of unnamed placeholders in SQLite. 2008-12-05 12:41:27 +00:00
Dries Buytaert cadd9bd54c - Patch #335086 by recidive: rename node, filter and comment module tables to singular for consistency. Oh my. 2008-12-03 16:32:22 +00:00
Dries Buytaert 71a22f1c1f - Patch #337926 by Damien Tournoud: clean-up lower case handling. 2008-12-02 19:45:01 +00:00
Angie Byron aa4b94fcc9 #340568 by Damien Tournoud: in some versions of SQLite, SELECT DISINCT(field) will return '(field)' as the field name. 2008-11-30 01:26:45 +00:00
Dries Buytaert 205c5b2415 - Patch #337926 by hswong3i, Dave Reid, Damien Tournoud: forced connection with PDF:CASE_LOWER. 2008-11-29 09:30:36 +00:00
Dries Buytaert d32a4c9dc4 - Patch #337926 by hswong3i: by default, force lower-case database tables/columns. 2008-11-28 09:27:58 +00:00
Dries Buytaert 6e5851b3a9 - Patch #338586 by Damien Tournoud: fix undefined function call in DatabaseSchema_pgsql::addField(). 2008-11-26 13:42:25 +00:00
Angie Byron 079a1bd2a5 #67349 follow-up by Damien Damien Tournoud: Fix missing parenthesis. 2008-11-23 21:01:03 +00:00
Angie Byron 9de3b9cb74 #67349 by chx, Damien Tournoud, and paranojik: SQLite support in core! Yeah! :D 2008-11-23 06:06:15 +00:00
Dries Buytaert 33cf35a6e8 - Patch #335614 by Damien Tournoud: getActiveConnection() and getConnection() were broken when was not found. Now with tests\! 2008-11-22 13:51:38 +00:00
Dries Buytaert 10104ba94a - Patch #331570 by recidive: rename block module tables to singular. Requires you to run update.php. 2008-11-15 08:23:07 +00:00
Dries Buytaert 44c8391d32 - Patch #321100 by hswong3i: empty insert statements are better handled now. Comes with tests. 2008-11-13 21:08:16 +00:00
Dries Buytaert a269b9cc1d - Patch #322458 by hswong3i: tests for queryRange(). 2008-11-13 21:02:10 +00:00
Dries Buytaert 3a3c482776 - Patch #333499 by chx: fix handling of NULL default values in MySQL schema API. This fixes most but not all tests. 2008-11-13 20:52:13 +00:00
Dries Buytaert 8cea8dad02 - Patch #331213 by Damien Tournoud: make it easier to write database driver. 2008-11-12 08:30:23 +00:00
Dries Buytaert a56f520fad - Patch #331213 by chx and Damien Tournoud: welcome weird database drivers. 2008-11-11 20:37:46 +00:00
Dries Buytaert bd108c7f10 - Patch #299778 by hswong3i, Arancaytar, Dave Reid et al: code clean-up. 2008-11-11 16:49:38 +00:00
Dries Buytaert a7f6efc8a1 - Patch #329080 by chx, Damien Tournoud, pwolanin: statics in objects are not per-instance. 2008-11-08 22:52:24 +00:00
Angie Byron b0e2635675 #331737 by Crell: Fix nested conditions (plus test) 2008-11-08 07:06:03 +00:00
Angie Byron 1632855a9f #325895 by chx and hswong3i: Fix queryTemporary and add test case. 2008-11-08 04:45:36 +00:00
Angie Byron 6159c302e1 Oops. Reverting #329223. Still needs work. 2008-11-08 04:18:08 +00:00
Dries Buytaert af0463c66a - Patch #279516 by c960657: remove workarounds for PHP versions less than 5.2.x 2008-11-07 17:21:54 +00:00
Angie Byron 8a0ee80de6 #329224 by boombatower and chx: November Make-All-Tests-Pass-Again-Extravaganza: Fix notices in block tests. 2008-11-07 06:44:56 +00:00
Angie Byron d0f8f90a36 #303889 by David_Rothstein, kbahey, and chx: Make it possible to update D6 -> D7. 2008-11-03 05:55:57 +00:00
Dries Buytaert fa94c66c92 - Patch #328719 by c960657: make the module list tests succeed again. 2008-11-01 21:21:35 +00:00
Angie Byron f4583f3be8 #327480 follow-up by sun: Fix PHPDoc stuff. 2008-10-31 15:46:16 +00:00
Dries Buytaert f45a9dabc3 - Patch #328402 by hswong3i: documentation clean-up in PostgreSQL. 2008-10-31 11:24:04 +00:00
Dries Buytaert 35c7673cae - Patch #327480 by chx: remove DB specific code from simpletest. 2008-10-31 11:13:31 +00:00
Dries Buytaert 21c24340bc - Patch #327460 by chx: some more documentation improvements. 2008-10-30 08:57:50 +00:00
Dries Buytaert 068febde42 - Patch #327271 by hswong3i, Crell: proper use of AS keyword so it works on PostgreSQL and Oracle. 2008-10-29 09:40:17 +00:00
Angie Byron a406555460 #318440 by Crell: Make it easier to add multiple fields in a dynamic SELECT statement. 2008-10-25 04:26:30 +00:00
Angie Byron a7481a7cfa #325895 follow-up by chx: We love PostgreSQL. 2008-10-25 02:12:35 +00:00
Angie Byron 47949ad142 #325895 by chx: Fix queryTemporary, which was missing a required argument. 2008-10-25 02:03:55 +00:00
Dries Buytaert 1f4311f4b5 - Patch #323854 by c960657: made DatabaseLog::findCaller() work on Windows. Long live unit tests. 2008-10-24 18:36:01 +00:00
Angie Byron f4315766fe #316868 by Crell: Make addField() alias to the field name, rather than the table and field name when there are no conflicts. 2008-10-22 04:01:03 +00:00
Dries Buytaert ca36d1f406 - Patch #319769 by Dave Reid: fixed php notice on _db_error_page. 2008-10-20 11:28:30 +00:00
Dries Buytaert dc1c2946da - Forgot to commit log.inc. 2008-10-19 20:22:07 +00:00
Dries Buytaert cbec05812d - Patch #298669 by Crell, moshe et al: add query logging per connection. 2008-10-16 14:58:48 +00:00
Dries Buytaert 967d8f67ac - Patch #304924 by Damien Tournoud: extend error handler to manage exceptions. I have one exception and one fail. 2008-10-15 16:05:51 +00:00
Angie Byron 11074d9120 Grrr. Didn't mean to commit that yet. 2008-10-11 21:55:40 +00:00
Angie Byron 5dff3b8e15 #242873 follow-up by pwolanin: Move new check_plain() check constants to bootstrap.inc so they're there in early bootstrap. 2008-10-11 21:53:36 +00:00
Dries Buytaert d9e7191f22 - Patch #310904 by mfer, Crell et al: use early fetch and document why. 2008-10-08 11:21:37 +00:00
Dries Buytaert adad3556bd - Patch #315047 by Island Usurper: fixed handling of rerved keywords when altering a table. 2008-10-08 11:09:16 +00:00
Dries Buytaert 3f144d60fa - Patch #316139 by hswong3i: __toString() should be public to work with PHP5.3. 2008-10-06 14:39:40 +00:00
Dries Buytaert 9b23008a4a - Patch #300239 by Crell: updated documentation of db_insert(). 2008-10-06 10:56:35 +00:00
Dries Buytaert c462ab1002 - Patch #299661 by smk-ka, oadaeh, et al: install.php does not correctly check database settings. 2008-10-06 10:54:15 +00:00
Angie Byron 853ce2487a Temporary roll-back of #298669: This wasn't quite ready yet and broke SimpleTest in a big way. 2008-09-28 21:52:08 +00:00
Dries Buytaert 5b86f43a75 - Patch #298669 by Crell, moshe weitzman: added query logging per connection. 2008-09-28 00:03:33 +00:00
Dries Buytaert b2a734fdf7 - Patch #301501 by markus_petrux: optimize db_merge() in MySQL by taking advantage of ODKU syntax. 2008-09-27 20:10:26 +00:00
Angie Byron f19d83c4c2 #302300 follow-up by Crell: Fixes to database connection tests. 2008-09-27 07:08:44 +00:00
Angie Byron 40e2b52116 #302300 by Crell: Support adding and ignoring database targets, for better replication support. 2008-09-26 19:10:32 +00:00
Dries Buytaert d83a75125e - Patch #310447 by Damien Tournoud, Crell, catch: add back SET NAMES='utf8' -- we love UTF-8 2008-09-21 15:27:20 +00:00
Angie Byron a3bb66e4e8 #259623 by dopry and Damien Tournoud: Convert includes/requires to use absolute paths. 2008-09-20 20:22:25 +00:00
Dries Buytaert 67f93fcb16 - Patch #310607 by mfer: fixed undefined method problem with database code. 2008-09-19 20:30:32 +00:00
Dries Buytaert 1ec9a7b7a6 - Patch #298309 by mfer: add PDO::FETCH_PROPS_LATE to tell __construct() to run before properties are added to the object. This is closer to the expected behavior and avoids that values are being overwritten. 2008-09-19 08:18:35 +00:00
Angie Byron 161a9970f7 #308534 by Dave Reid: Remove stray whitespace core-wide. 2008-09-15 20:48:10 +00:00
Angie Byron dd24755c39 #308521 by chx: Fix a bunch of stray whitespace. And the trivial patch of the month award goes to... ;) 2008-09-15 05:00:48 +00:00
Dries Buytaert c2746a949e - Patch #208793 by kbahey, Damien Tournoud: stop hardcoding the HTTP protocol version where possible. 2008-09-08 21:24:30 +00:00
Dries Buytaert 2b07665033 - Patch #64967 by Arancaytar, meba: ereg -> preg for performance reasons and future compatilbility. PHP6 is rumoured to drop ereg support. 2008-09-05 09:25:52 +00:00
Angie Byron 98b4cdbeee #303054 by chx: Enforce MySQL strict mode. 2008-09-04 11:34:46 +00:00
Angie Byron df7bcec717 #302395 by chx: Minor DBTNG clean-up. 2008-09-03 12:04:49 +00:00
Dries Buytaert 835d0fc929 - Patch #301943 by chx: drop_field_set_default dropped the field due to copy-paste error. 2008-08-31 09:12:35 +00:00
Dries Buytaert ba0672bc60 - Patch #298581 by Damien Tournoud: database clean-ups. 2008-08-22 12:46:25 +00:00
Dries Buytaert 69e6f411a9 - Patch #225450 by Crell, chx, bjaspan, catch, swentel, recidive et al: next generation database layer for Drupal 7. 2008-08-21 19:36:39 +00:00