mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Oracle and postgre sql cache changes TICKETS #3581
This commit is contained in:
parent
6cdf363b27
commit
c6d572f73e
@ -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