Oracle and postgre sql cache changes TICKETS #3581
This commit is contained in:
parent
d7b3dc57b9
commit
053b39e4a4
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue