Oracle and postgre sql cache changes TICKETS #3581

This commit is contained in:
fermin831 2016-05-04 09:09:41 +02:00
parent d7b3dc57b9
commit 053b39e4a4
2 changed files with 2 additions and 2 deletions

View File

@ -336,7 +336,7 @@ function oracle_db_process_sql($sql, $rettype = "affected_rows", $dbconnection =
}
if ($cache === true)
$sql_cache[$sql] = $retval;
$sql_cache[$sql_cache['id']][$sql] = $retval;
oci_free_statement ($query);
}
}

View File

@ -259,7 +259,7 @@ function postgresql_db_process_sql($sql, $rettype = "affected_rows", $dbconnecti
}
if ($cache === true)
$sql_cache[$sql] = $retval;
$sql_cache[$sql_cache['id']][$sql] = $retval;
pg_free_result ($result);
}
}