Commit Graph

73 Commits (8889a5d168b44c526cabf8130568f640dcb51a17)

Author SHA1 Message Date
David Rothstein 70e0b16715 Issue #937284 by chx, chrisdolby, deviantintegral, Berdir, tim.plunkett | hefox: DEADLOCK errors on MergeQuery INSERT due to InnoDB gap locking when condition in SELECT ... FOR UPDATE results in 0 rows. 2013-12-30 17:23:37 -05:00
David Rothstein cbabb1a24b Issue #2056363 by yched, Sweetchuck, chx: INSERT INTO table SELECT * FROM ... not supported. 2013-12-25 14:57:44 -05:00
David Rothstein 2df0b841f5 Issue #1839998 by wiifm, mcm.guaba, Josh Waihi, dcam: Fixed TruncateQuery implemented as 'DELETE FROM' in MySQL and SQLite, but not PostgreSQL, causing nefarious table locking. 2013-08-05 04:24:31 -04:00
David Rothstein ad244e2cb8 Issue #1792380 by theo_: Fixed DatabaseCondition not cloning SelectQuery value object. 2013-02-27 16:55:30 -05:00
Jennifer Hodgdon e039aaaa32 Issue #1358944 by wulff: Fix misuse of ingroup in documentation blocks 2012-05-23 12:25:30 -07:00
webchick a676b09050 Issue #1414412 by Damien Tournoud, pillarsdotnet, droplet, MrHaroldA: Fixed Skip #conjunction key in __clone() method of core/includes/database/query.inc. 2012-03-08 14:14:45 -08:00
webchick 9a519b179f Issue #1371256 by ayelet_Cr, oriol_e9g: Document that QueryConditionInterface::condition() should not be used to add NULL conditions. 2011-12-24 17:23:52 -08:00
webchick 9e12767c75 Revert "Issue #813540 by jbrown, chx: Fixed Comparisons involving NULL must never return true."
This reverts commit 06f31080c7.
2011-12-16 06:42:49 -06:00
webchick 06f31080c7 Issue #813540 by jbrown, chx: Fixed Comparisons involving NULL must never return true. 2011-12-10 23:29:21 -06:00
webchick d967abdf1d Issue #1054848 by barraponto: Fixing common typos through codespell.py. 2011-10-02 11:09:00 -07:00
webchick 979f0d8cb9 Issue #1112854 by dereine, chx, Damien Tournoud: Fixed Subqueries use wrong arguments. 2011-08-22 03:27:31 +01:00
webchick e77f87506c Issue #1105848 by cafuego: Fixed Unsafe query comments possible via UI. 2011-05-17 23:57:40 -05:00
The Great Git Migration 79bcdb8b7d Stripping CVS keywords 2011-02-25 02:06:03 +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 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 ee050856ca - Patch #718540 by jhodgdon, freelock: better documentation in query.inc. 2010-10-26 15:26:09 +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
Dries Buytaert e0032eeee6 - Patch #844186 by chx: clarify merge queries. 2010-09-24 02:05:55 +00:00
Angie Byron 755343e3b7 #807336 by jhodgdon, Berdir, Crell: Document thrown exceptions in database layer. 2010-08-05 08:26:35 +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 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 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 416f87f170 - Patch #785782 by cafuego: support comments in built queries. 2010-05-15 07:04:21 +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 cd6a08d843 #772554 by Crell: Remove delay() method from insert queries. 2010-04-19 04:43:05 +00:00
Dries Buytaert 00deb1df3e - Patch #770668 by Damien Tournoud: undefined in InsertQuery::__toString(). 2010-04-15 11:51:27 +00:00
Angie Byron 6f8293a5ae #764418 by David_Rothstein, jpmckinney, quiptime, Crell: Move query conditional helper functions to database.inc to avoid fatal errors in lower bootstrap levels. 2010-04-11 01:12:23 +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 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 88cc713837 - Patch #700518 by agentrickard, Crell: documentation fixes. 2010-02-06 19:01:38 +00:00
Dries Buytaert 0597e322ce - Patch #700518 by agentrickard: document conjunctions for db_condition(). 2010-01-31 18:42:41 +00:00
Angie Byron 68d000561d #697694 by aspilicious: Doxygen fixes. 2010-01-29 01:59:32 +00:00
Dries Buytaert af3f94b37e - Patch #693614 by asimmonds: fixed PHPDoc spelling typos. 2010-01-25 10:38:35 +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 1b01b241ae - Patch #648744 by Crell: specified more @return type definitions for auto-completion in IDEs. 2009-12-04 16:31:04 +00:00
Dries Buytaert a49c496710 - Patch #648744 by fago: added support for DBTNG auto completion in IDEs. Usability improvement. 2009-12-02 23:05:13 +00:00
Dries Buytaert a902f664d9 - Patch #564852 by justinrandell, mcarbone, Crell: fixed subselect in WHERE condition with multiple placeholders cause invalid/duplicate placeholders. 2009-11-23 22:31:42 +00:00
Angie Byron c1ce884e4b #612392 by chx and Crell: Allow lowercase comparison operators in DBTNG. 2009-10-26 04:46:38 +00:00
Dries Buytaert 9d6182d8d0 - Patch #597556 by Berdir: return status to indicate executed query in MergeQuery::execute(). 2009-10-11 13:43:37 +00:00
Dries Buytaert fb0275fa6a - Patch #496500 by chx: remove global placeholder counter. 2009-08-29 05:43:35 +00:00
Angie Byron fd164e9d02 #496516 by Crell and Berdir: Moved query_alter() into a preExecute() method, so that modules can know the final query/arguments before they are run. 2009-08-26 04:58:23 +00:00
Dries Buytaert 488fee8ce8 - Patch #496500 by chx: rollback. 2009-08-24 18:22:54 +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 d2c02ca453 #481288 by Berdir and Crell: Add support for INSERT INTO ... SELECT FROM ... 2009-07-21 01:56:36 +00:00
Dries Buytaert 7613aa5908 - Patch #369314 by Berdir: make sub-selects work. 2009-06-27 09:41:56 +00:00
Angie Byron c3e95d2532 #483808 by chx and Crell: Default DBTNG conditions to IN when an array of values is passed in, to match the field query API. 2009-06-06 16:57:52 +00:00
Dries Buytaert 9079d78481 - Patch #481288 by Berdir: add support for INSERT INTO ... SELECT FROM ... queries. 2009-06-05 16:55:45 +00:00