diff options
author | msvensson@neptunus.(none) <> | 2006-04-11 22:23:16 +0200 |
---|---|---|
committer | msvensson@neptunus.(none) <> | 2006-04-11 22:23:16 +0200 |
commit | 52c9feff1394cb67e956a1b2a4ca40e55f8b77b0 (patch) | |
tree | ef673bf3732d75829f12c2488a8d4b97ec8df812 /client/mysqlslap.c | |
parent | 0bdb9ff5475859f33718b632f3c3472c52dbbc90 (diff) | |
download | mariadb-git-52c9feff1394cb67e956a1b2a4ca40e55f8b77b0.tar.gz |
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
Diffstat (limited to 'client/mysqlslap.c')
-rw-r--r-- | client/mysqlslap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/mysqlslap.c b/client/mysqlslap.c index 160e13364a4..9ae5725216f 100644 --- a/client/mysqlslap.c +++ b/client/mysqlslap.c @@ -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: |