diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-08-06 15:43:58 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-08-06 15:43:58 +0200 |
commit | 95a959b10b7c9dc7b0529fbb7b05c11685f19e8b (patch) | |
tree | f283b4980f39ec4c998fc3a4d8a6a3d241109d6a /lib/db/connection.php | |
parent | ed054e67d60e8ad8074b38842935e5dff927350c (diff) | |
parent | 057d7aa108f9b24c12b97f5f78008eb17a6d3bee (diff) | |
download | nextcloud-server-95a959b10b7c9dc7b0529fbb7b05c11685f19e8b.tar.gz nextcloud-server-95a959b10b7c9dc7b0529fbb7b05c11685f19e8b.zip |
merge master into doctrine-object
Diffstat (limited to 'lib/db/connection.php')
-rw-r--r-- | lib/db/connection.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/db/connection.php b/lib/db/connection.php index 920fe144a8a..7f207ff76ec 100644 --- a/lib/db/connection.php +++ b/lib/db/connection.php @@ -76,13 +76,12 @@ class Connection extends \Doctrine\DBAL\Connection { return $this->preparedQueries[$statement]; } } - $rawQuery = $statement; if(\OC_Config::getValue( "log_query", false)) { \OC_Log::write('core', 'DB prepare : '.$statement, \OC_Log::DEBUG); } $result = parent::prepare($statement); if (is_null($limit) && $this->cachingQueryStatementEnabled) { - $this->preparedQueries[$rawQuery] = $result; + $this->preparedQueries[$statement] = $result; } return $result; } |