Commit Graph

50 Commits (da87545c487eb2e46dbc6c7b9e054b2e5be4a5b0)

Author SHA1 Message Date
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 d30a41e791 Roll-back of #333054; needs more discussion. 2009-04-20 02:23:17 +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 f40532da76 #376129 by boombatower, Damien Tournoud, and chx: Change getInfo() to a static method to reduce memory footprint of SimpleTest. 2009-03-31 01:49:55 +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 53ef28ec4a #350545 by Damien Tournoud: Remove unreliable invalid date test so that SQLite tests pass. 2009-03-08 03:02:46 +00:00
Angie Byron 665c9fdc2c Roll-back of users -> user table name change in #330983: Broken pgsql is no fun. 2009-02-26 07:30:29 +00:00
Dries Buytaert d81310968a - Patch #373775 by sog_hadgraft: adjusted queries to confirm coding standards. 2009-02-24 16:48:18 +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
Angie Byron ff9e842730 #330983 by recidive and boombatower: Rename users/users_roles tables to user/user_role for consistency. 2009-02-18 15:19:57 +00:00
Angie Byron 250e486bb0 #363687 by chx: Simplify DBTNG codeflow. 2009-01-25 12:19:32 +00:00
Angie Byron 4a99df11e9 #355225 by Josh Waihi and Damien Tournoud: Fix inconsistent behaviour with transaction support and insert queries. All tests should pass on PostgreSQL now. Woot! :) 2009-01-20 03:54:15 +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 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 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 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 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 1ffa4fe38b - Patch #343631 by Dave Reid: cleaned up the database tests. 2008-12-08 22:02:45 +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 63e195eb30 - Patch #338239 by Damien Tournoud: clean-up DrupalWebTestCase. 2008-11-26 13:48:50 +00:00
Dries Buytaert eda100b83d - Patch #338403 by drewish: code comments clean-up. 2008-11-25 13:14:29 +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 738b58ec5e - Patch #310607 by mfb: added tests for db_column_exists() and db_table_exists(). Yay\! 2008-11-21 15:04:21 +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 a56f520fad - Patch #331213 by chx and Damien Tournoud: welcome weird database drivers. 2008-11-11 20:37:46 +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 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 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 458f8f7882 - Patch #323137 by Crell: clean-up of database tests. 2008-10-20 17:56:52 +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
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
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 161a9970f7 #308534 by Dave Reid: Remove stray whitespace core-wide. 2008-09-15 20:48:10 +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 f60cdab373 #276276 follow-up by Crell: Fixing a notice in db test. 2008-08-31 15:05:29 +00:00
Angie Byron 382f4a8c5f #276276 by Crell and florbuit: New database system unit tests. WOOHOO! :D 2008-08-31 11:43:41 +00:00