Update database.php

This commit is contained in:
Namhyeon Go 2019-12-31 16:23:44 +09:00 committed by GitHub
parent 1d703439f2
commit f0a2e731c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -597,10 +597,8 @@ if(!check_function_exists("get_bind_to_sql_select")) {
// sql: make completed SQL
if(!$is_separated) {
//write_common_log("no hit");
$sql = sprintf($sql, $s1, $s2, $s3, $s4, $s5);
} else {
write_common_log("hit");
$separated_sqls = array();
$_sql = sprintf("select table_name from `%s.tables`", $tablename);
$_rows = exec_db_fetch_all($_sql);