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 |
Dries Buytaert
|
00f9c254d9
|
- Patch #422366 by jamesAn: improved static caching in database drivers.
|
2009-04-14 06:22:10 +00:00 |
Dries Buytaert
|
ea9a75eb61
|
- Patch #423994 by pwolanin: working around MySQL bug.
|
2009-04-05 12:08:49 +00:00 |
Dries Buytaert
|
27d7455edb
|
- Patch #333054 by c960657: page cache should be case sensitive.
|
2009-04-01 20:00:47 +00:00 |
Angie Byron
|
3dfb808a6d
|
#373225 by Josh Waihi: Make PostgreSQL cast values when changing database columns to prevent data loss.
|
2009-03-31 01:42:45 +00:00 |
Angie Byron
|
39c3344ac6
|
#365996 by sammys: Correct timestamp type name in PostgreSQL.
|
2009-03-30 04:55:59 +00:00 |
Dries Buytaert
|
a88a999ca8
|
- Patch #351898 by mfb: database API was not E_STRICT compatible.
|
2009-03-29 12:48:33 +00:00 |
Angie Byron
|
87f82a6127
|
#373514 by jaydee18 and jbomb: Fix typo in transaction property.
|
2009-03-25 18:43:01 +00:00 |
Dries Buytaert
|
3a7047c670
|
- Patch #12201 by mfb: added support for table descriptions.
|
2009-03-14 20:34:17 +00:00 |
Angie Byron
|
193ba01e1f
|
#343999 by Crell, chx, and Alexander Pas: Add facility for doing NULL / NOT NULL conditions to DBTNG.
|
2009-03-14 17:45:55 +00:00 |
Angie Byron
|
2518d1601c
|
#349671 by Damien Tournoud and Josh Waihi: Make the PostgreSQL driver independent of schema to fix D6 => D7 update.
|
2009-02-24 16:34:46 +00:00 |
Dries Buytaert
|
b3e36d655c
|
- Patch #299267 by Crell: add extender support to the SELECT query builder.
|
2009-02-22 16:53:41 +00:00 |
Dries Buytaert
|
e1652e99b6
|
- Patch #374940 by Dave Reid et al: fixed MergeQuery problem.
|
2009-02-22 16:31:24 +00:00 |
Dries Buytaert
|
6d3d75fe4b
|
- Removing whitespace.
|
2009-01-26 14:08:44 +00:00 |
Angie Byron
|
250e486bb0
|
#363687 by chx: Simplify DBTNG codeflow.
|
2009-01-25 12:19:32 +00:00 |
Dries Buytaert
|
b2402f40ae
|
- Patch #360982 by Damien Tournoud: fixed typo in SQLite transacation detection code.
|
2009-01-19 20:45:17 +00:00 |
Dries Buytaert
|
bca75d353f
|
- Patch #360887 by Crell: more robus example of how to use transaction support in D7.
|
2009-01-19 10:12:00 +00:00 |
Angie Byron
|
cd9794bea7
|
#360113 by Dave Reid: Remove db_and() and db_or() calls from database/* files.
|
2009-01-19 01:28:28 +00:00 |
Angie Byron
|
e8cff6403b
|
#360754 by Crell: Docblock fixes for DBTNG.
|
2009-01-18 23:55:32 +00:00 |
Angie Byron
|
df48958752
|
#360580 by Razorraser: Fix documentation link to PDO.
|
2009-01-18 16:24:05 +00:00 |
Angie Byron
|
6135b967e1
|
#359918 by Dave Reid: Fix typo in Schema API documentation.
|
2009-01-18 06:47:58 +00:00 |
Dries Buytaert
|
a6f64e65f3
|
- Patch #301049 by Damien Tournoud: fix InsertQuery.
|
2009-01-17 12:47:43 +00:00 |
Dries Buytaert
|
d3df2ff356
|
- Patch #225562 by Jody Lynn et al: clean up of the taxonomy module SQL table namespace.
|
2009-01-14 21:16:21 +00:00 |
Dries Buytaert
|
77936aef4c
|
- Rollback of #225562 -- I think there is still something wrong.
|
2009-01-13 22:41:39 +00:00 |
Dries Buytaert
|
b86354c55c
|
- Patch #225562 by Jody Lynn: change DB table names from eg. term_data to taxonomy_term_data.
|
2009-01-13 22:25:13 +00:00 |
Dries Buytaert
|
f80c618427
|
- Patch #349500 by Damien Tournoud et al: made db_query_temporary() generate its own temporary table names.
|
2009-01-11 10:57:20 +00:00 |
Dries Buytaert
|
45fed79d73
|
- Patch #348448 by c960657: fixed php strict warnings when running tests.
|
2009-01-11 08:36:28 +00:00 |
Dries Buytaert
|
f088ccfb98
|
- Patch #301049 by Josh Waihi, Damien Tournoud, et al: fixed bug with transaction support (on PostgreSQL).
|
2009-01-11 07:47:03 +00:00 |
Dries Buytaert
|
3680da37a0
|
- Patch #355278 by Josh Waihi: fixed problem with transaction support being turned on when unwanted.
|
2009-01-08 18:53:44 +00:00 |
Dries Buytaert
|
9af9e3de88
|
- Patch #342503 by Josh Waihi, Damien Tournoud et al: schema function findTables fails on PostgreSQL.
|
2009-01-08 09:52:12 +00:00 |
Dries Buytaert
|
a7b4bdef1d
|
- Patch #301049 by David Strauss, Josh Waihi, Crell, et al: transaction nesting was not tracked by connection, better documentation, and better tests.
|
2009-01-08 09:39:48 +00:00 |
Dries Buytaert
|
634379299f
|
- Patch #320591 by Moshe, Crell et al: tag specific alter hook for database queries.
|
2009-01-04 19:56:51 +00:00 |
Dries Buytaert
|
ba9f2041f6
|
- Patch #314464 by Dave Reid, Crell, markus_petrux, drewish et al: convert db_placeholders() to new database layer.
|
2008-12-30 20:27:24 +00:00 |
Dries Buytaert
|
92a8adea65
|
- Patch #352470 by scor: fixed typos and grammar in comments.
|
2008-12-30 16:43:20 +00:00 |
Dries Buytaert
|
0d100b57dc
|
- Patch #332002 by Crell et al: MergeQuery should refuse to execute if there are no key fields. With tests.
|
2008-12-26 14:23:38 +00:00 |
Dries Buytaert
|
fc063806de
|
- Patch #314464 by Crell: fixing up the db_placeholder() patch that I committed incompletely.
|
2008-12-26 11:48:18 +00:00 |
Dries Buytaert
|
9120540d19
|
- Patch #339588 by jhedstrom, Josh Waihi, mikl: remove *_unsigned types and rework their sizes. Fixes exception on PostgreSQL.
|
2008-12-26 11:04:39 +00:00 |
Dries Buytaert
|
779a70a0d4
|
- Patch #344575 by cdale: made the ANSI compatibility mode less strict to work around a MySQL 5 bug.
|
2008-12-24 10:21:32 +00:00 |
Dries Buytaert
|
e5ddb46d12
|
- Patch #314464 by Crell, Dave Reid et al: convert db_placeholders() to the new DB layer.
|
2008-12-24 09:53:40 +00:00 |
Dries Buytaert
|
1c0f4ac3aa
|
- Patch #344575 by cdale et al: force MySQL to run in ANSI compatibility mode. Comes with tests.
|
2008-12-23 07:48:24 +00:00 |
Dries Buytaert
|
0c63d9e24f
|
- Patch #349504 by keith.smith: clean up sentence spacing in code comments.
|
2008-12-20 18:24:41 +00:00 |
Dries Buytaert
|
4c5221a939
|
- Patch #299178 by Crell et al: add support for subqueries in FROM and JOIN clauses in dynamic query. Cool feature/syntax.
|
2008-12-12 16:21:58 +00:00 |
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 |