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/mysqli.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/mysqli.php')
-rw-r--r-- | phpBB/includes/db/mysqli.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/mysqli.php b/phpBB/includes/db/mysqli.php index 26cade2ff0..1f13bd5459 100644 --- a/phpBB/includes/db/mysqli.php +++ b/phpBB/includes/db/mysqli.php @@ -196,7 +196,7 @@ class dbal_mysqli extends dbal if ($cache_ttl) { - $cache->sql_save($query, $this->query_result, $cache_ttl); + $this->query_result = $cache->sql_save($query, $this->query_result, $cache_ttl); } } else if (defined('DEBUG_EXTRA')) |