Commit 2a7c2fa9 authored by Dries's avatar Dries
Browse files

- Patch #499794 by Berdir: made protected method public because it is called as a public method.

parent 7613aa59
......@@ -451,7 +451,7 @@ public function prefixTables($sql) {
* @return
* A PDO prepared statement ready for its execute() method.
*/
protected function prepareQuery($query, $cache = TRUE) {
public function prepareQuery($query, $cache = TRUE) {
$query = $this->prefixTables($query);
if (empty($this->preparedStatements[$query])) {
// Call PDO::prepare.
......
......@@ -157,7 +157,7 @@ public function mapConditionOperator($operator) {
return NULL;
}
protected function prepareQuery($query, $cache = TRUE) {
public function prepareQuery($query, $cache = TRUE) {
// It makes no sense to use the static prepared statement cache here,
// because all the work in our implementation is done in
// DatabaseStatement_sqlite::execute() and cannot be cached.
......
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