Commit a7481a7c authored by webchick's avatar webchick

#325895 follow-up by chx: We love PostgreSQL.

parent 47949ad1
......@@ -82,7 +82,7 @@ public function queryRange($query, Array $args, $from, $count, Array $options) {
return $this->query($query . ' LIMIT ' . $count . ' OFFSET ' . $from, $args, $options);
}
public function queryTemporary($query, Array $args, $tablename) {
public function queryTemporary($query, Array $args, $tablename, $options = array()) {
$query = preg_replace('/^SELECT/i', 'CREATE TEMPORARY TABLE ' . $tablename . ' Engine=HEAP SELECT', $this->prefixTables($query));
return $this->query($query, $args, $options);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment