Commit 023711ee authored by enured's avatar enured
Browse files

B11325 SQL CALL small changes in fix: set count at the end.

parent 83316242
Pipeline #6916 passed with stage
in 2 minutes and 18 seconds
......@@ -458,14 +458,13 @@ class Database {
$queryType = QUERY_TYPE_SELECT;
If($result === false){
$stat[DB_NUM_ROWS] = 0;
$count = $stat[DB_NUM_ROWS];
$msg = 'Read rows: ' . $stat[DB_NUM_ROWS] . '(No SELECT statement)';
}else{
$this->mysqli_result = $result;
$stat[DB_NUM_ROWS] = $this->mysqli_result->num_rows;
$count = $stat[DB_NUM_ROWS];
$msg = 'Read rows: ' . $stat[DB_NUM_ROWS];
}
$count = $stat[DB_NUM_ROWS];
break;
case 'REPLACE':
case 'INSERT':
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment