summaryrefslogtreecommitdiff
path: root/includes/database/query.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-04-19 04:43:05 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-04-19 04:43:05 +0000
commitcd6a08d843d159bb1df4d4fc463477c48b2e59de (patch)
tree1416b1ac563d21d550df3004287b639e349dc387 /includes/database/query.inc
parentf62d41af34e7766176d1c4e18deadfdc369c6ddf (diff)
downloadbrdo-cd6a08d843d159bb1df4d4fc463477c48b2e59de.tar.gz
brdo-cd6a08d843d159bb1df4d4fc463477c48b2e59de.tar.bz2
#772554 by Crell: Remove delay() method from insert queries.
Diffstat (limited to 'includes/database/query.inc')
-rw-r--r--includes/database/query.inc27
1 files changed, 0 insertions, 27 deletions
diff --git a/includes/database/query.inc b/includes/database/query.inc
index 55eb2c568..5fa846548 100644
--- a/includes/database/query.inc
+++ b/includes/database/query.inc
@@ -414,33 +414,6 @@ class InsertQuery extends Query {
return $this;
}
- /**
- * Flag this query as being delay-safe or not.
- *
- * If this method is never called, it is assumed that the query must be
- * executed immediately. If delay is set to TRUE, then the query will be
- * flagged to run "delayed" or "low priority" on databases that support such
- * capabilities. In that case, the database will return immediately and the
- * query will be run at some point in the future. That makes it useful for
- * logging-style queries.
- *
- * If the database does not support delayed INSERT queries, this method
- * has no effect.
- *
- * Note that for a delayed query there is no serial ID returned, as it won't
- * be created until later when the query runs. It should therefore not be
- * used if the value of the ID is known.
- *
- * @param $delay
- * If TRUE, this query is delay-safe and will run delayed on supported databases.
- * @return InsertQuery
- * The called object.
- */
- public function delay($delay = TRUE) {
- $this->delay = $delay;
- return $this;
- }
-
public function from(SelectQueryInterface $query) {
$this->fromQuery = $query;
return $this;