Update database.mysql.cmd.php
This commit is contained in:
parent
337a6fbf82
commit
1bfedfb09b
|
@ -33,7 +33,7 @@ if(check_function_exists("exec_db_mysql_cmd_query")) {
|
||||||
if(check_function_exists("exec_db_mysql_cmd_fetch_all")) {
|
if(check_function_exists("exec_db_mysql_cmd_fetch_all")) {
|
||||||
function exec_db_mysql_cmd_fetch_all($sql, $bind) {
|
function exec_db_mysql_cmd_fetch_all($sql, $bind) {
|
||||||
$result = false;
|
$result = false;
|
||||||
|
|
||||||
$tsvData = exec_db_mysql_cmd_query($sql, $bind);
|
$tsvData = exec_db_mysql_cmd_query($sql, $bind);
|
||||||
$lines = explode(DOC_EOL, $tsvData);
|
$lines = explode(DOC_EOL, $tsvData);
|
||||||
$rows = array();
|
$rows = array();
|
||||||
|
@ -44,7 +44,7 @@ if(check_function_exists("exec_db_mysql_cmd_fetch_all")) {
|
||||||
if(count($rows) > 0) {
|
if(count($rows) > 0) {
|
||||||
$result = $rows;
|
$result = $rows;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user