mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug#18012 mysqlslap fails if querystring starts with delimiter
- Terminate loop not only when the limit is met, but alse when there is no more stmts
This commit is contained in:
@ -1174,8 +1174,8 @@ limit_not_met:
|
||||
goto end;
|
||||
}
|
||||
|
||||
if (con->limit && queries < con->limit)
|
||||
goto limit_not_met;
|
||||
if (!con->stmt && con->limit && queries < con->limit)
|
||||
goto limit_not_met;
|
||||
|
||||
end:
|
||||
|
||||
|
Reference in New Issue
Block a user