Fixed problems process querys with db engine Oracle, when create wizard sla. Tiquet: #2688

This commit is contained in:
m-lopez-f 2015-09-07 15:21:21 +02:00
parent bf287dd98b
commit e3f85ea567
1 changed files with 1 additions and 1 deletions

View File

@ -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);