diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2012-08-06 16:26:55 -0500 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2012-08-06 16:26:55 -0500 |
commit | dcefa16318f6dc1058595a7ba221b75ed6a2504b (patch) | |
tree | 4949582266a91adb9fa5ea210dc7c811953ee393 /phpBB/includes/db/mssql.php | |
parent | 01bc818d465ab168288e260745a045ff2794648d (diff) | |
download | forums-dcefa16318f6dc1058595a7ba221b75ed6a2504b.tar forums-dcefa16318f6dc1058595a7ba221b75ed6a2504b.tar.gz forums-dcefa16318f6dc1058595a7ba221b75ed6a2504b.tar.bz2 forums-dcefa16318f6dc1058595a7ba221b75ed6a2504b.tar.xz forums-dcefa16318f6dc1058595a7ba221b75ed6a2504b.zip |
[ticket/10875] Return $query_id from sql_save
Have to return the $query_id from sql_save so that the results can be pulled
Updated cache test to do some basic sql cache testing.
PHPBB3-10875
Diffstat (limited to 'phpBB/includes/db/mssql.php')
-rw-r--r-- | phpBB/includes/db/mssql.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/mssql.php b/phpBB/includes/db/mssql.php index d92fe27b99..bde283c3ea 100644 --- a/phpBB/includes/db/mssql.php +++ b/phpBB/includes/db/mssql.php @@ -162,7 +162,7 @@ class dbal_mssql extends dbal if ($cache_ttl) { $this->open_queries[(int) $this->query_result] = $this->query_result; - $cache->sql_save($query, $this->query_result, $cache_ttl); + $this->query_result = $cache->sql_save($query, $this->query_result, $cache_ttl); } else if (strpos($query, 'SELECT') === 0 && $this->query_result) { |