From dcebd777af56647e285d9ae9a8e24d0b017f0fe8 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Tue, 28 Jan 2020 13:53:10 +0900 Subject: [PATCH] Update database.php --- system/database.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/system/database.php b/system/database.php index 88824ce..85cf52d 100644 --- a/system/database.php +++ b/system/database.php @@ -148,9 +148,6 @@ if(!check_function_exists("exec_db_query")) { $dbc = get_dbc_object(); $terms = explode(" ", trim($sql)); - // before transaction - $dbc->beginTransaction(); - // check sql insert or not if($terms[0] == "insert") { $stmt = get_db_stmt($sql, $bind, array( @@ -164,9 +161,6 @@ if(!check_function_exists("exec_db_query")) { $flag = $stmt->execute(); } - // commit transaction - $dbc->commit(); - // get errors $errors = $stmt->errorInfo();