Fixed problems process querys with db engine Oracle, when create wizard sla. Tiquet: #2688
This commit is contained in:
parent
bf287dd98b
commit
e3f85ea567
|
@ -290,7 +290,7 @@ function oracle_db_process_sql($sql, $rettype = "affected_rows", $dbconnection =
|
|||
|
||||
if ($status !== 'SELECT') { //The query NOT IS a select
|
||||
if ($rettype == "insert_id") {
|
||||
$result = $id;
|
||||
$result = $result;
|
||||
}
|
||||
elseif ($rettype == "info") {
|
||||
//TODO: return debug information of the query $result = pg_result_status($result, PGSQL_STATUS_STRING);
|
||||
|
|
Loading…
Reference in New Issue