mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
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)
|
if ($cache === true)
|
||||||
$sql_cache[$sql] = $retval;
|
$sql_cache[$sql_cache['id']][$sql] = $retval;
|
||||||
oci_free_statement ($query);
|
oci_free_statement ($query);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -259,7 +259,7 @@ function postgresql_db_process_sql($sql, $rettype = "affected_rows", $dbconnecti
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($cache === true)
|
if ($cache === true)
|
||||||
$sql_cache[$sql] = $retval;
|
$sql_cache[$sql_cache['id']][$sql] = $retval;
|
||||||
pg_free_result ($result);
|
pg_free_result ($result);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user