1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +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  


client/mysqlslap.c:
  Terminate loop not only when the limit is met, but alse when there is no more stmts
mysql-test/r/mysqlslap.result:
  Remove the extra statmemnt
This commit is contained in:
unknown
2006-04-11 22:23:16 +02:00
parent 0592560eb5
commit 00a44542e6
2 changed files with 2 additions and 4 deletions

View File

@@ -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: