From bb6fe3418da8c42abcd57a8e4327815ea57bbce3 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Mon, 30 Dec 2019 17:15:50 +0900 Subject: [PATCH] Update database.php --- system/database.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/database.php b/system/database.php index ae43715..328940f 100644 --- a/system/database.php +++ b/system/database.php @@ -748,8 +748,9 @@ if(!check_function_exists("exec_db_table_create")) { $_suffix = get_value_in_array("suffix", $options, ""); $_tablename = sprintf("%s%s%s", $_prefix, $tablename, $_suffix); + // get index options $setindex = get_value_in_array("setindex", $options, false); - + // check if exists table $sql = sprintf("describe %s", $_tablename); if(!exec_db_query($sql)) {