Update database.mysql.cmd.php

This commit is contained in:
Namhyeon Go 2019-09-16 13:17:12 +09:00 committed by GitHub
parent 337a6fbf82
commit 1bfedfb09b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ if(check_function_exists("exec_db_mysql_cmd_query")) {
if(check_function_exists("exec_db_mysql_cmd_fetch_all")) {
function exec_db_mysql_cmd_fetch_all($sql, $bind) {
$result = false;
$tsvData = exec_db_mysql_cmd_query($sql, $bind);
$lines = explode(DOC_EOL, $tsvData);
$rows = array();
@ -44,7 +44,7 @@ if(check_function_exists("exec_db_mysql_cmd_fetch_all")) {
if(count($rows) > 0) {
$result = $rows;
}
return $result;
}
}