The branch, master has been updated via e3b91b7a0bfcb6bc525c9cfb27c8fc7570457b95 (commit) from bb7e14d7feafac3f057a9e3d516a8699b54ca3e3 (commit)
- Log ----------------------------------------------------------------- commit e3b91b7a0bfcb6bc525c9cfb27c8fc7570457b95 Author: Piotr Przybylski piotrprz@gmail.com Date: Sun Jul 31 00:44:42 2011 +0200
PMA_DBI_fetch_value, PMA_DBI_fetch_single_row and PMA_DBI_fetch_result don't need to cache affected rows because there are none
-----------------------------------------------------------------------
Summary of changes: libraries/database_interface.lib.php | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libraries/database_interface.lib.php b/libraries/database_interface.lib.php index 42bd352..288743e 100644 --- a/libraries/database_interface.lib.php +++ b/libraries/database_interface.lib.php @@ -952,7 +952,7 @@ function PMA_DBI_fetch_value($result, $row_number = 0, $field = 0, $link = null, $value = false;
if (is_string($result)) { - $result = PMA_DBI_try_query($result, $link, $options | PMA_DBI_QUERY_STORE); + $result = PMA_DBI_try_query($result, $link, $options | PMA_DBI_QUERY_STORE, false); }
// return false if result is empty or false @@ -1004,7 +1004,7 @@ function PMA_DBI_fetch_value($result, $row_number = 0, $field = 0, $link = null, */ function PMA_DBI_fetch_single_row($result, $type = 'ASSOC', $link = null, $options = 0) { if (is_string($result)) { - $result = PMA_DBI_try_query($result, $link, $options | PMA_DBI_QUERY_STORE); + $result = PMA_DBI_try_query($result, $link, $options | PMA_DBI_QUERY_STORE, false); }
// return null if result is empty or false @@ -1087,7 +1087,7 @@ function PMA_DBI_fetch_result($result, $key = null, $value = null, $resultrows = array();
if (is_string($result)) { - $result = PMA_DBI_try_query($result, $link, $options); + $result = PMA_DBI_try_query($result, $link, $options, false); }
// return empty array if result is empty or false
hooks/post-receive