1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Some if simplifications in tests

This commit is contained in:
Bjorn Munch
2010-12-20 15:15:01 +01:00
16 changed files with 33 additions and 36 deletions

View File

@ -24,7 +24,7 @@ while (`SELECT INSTR("$_last_event","$wait_binlog_event") = 0`)
real_sleep 0.1;
let $_event= query_get_value(SHOW BINLOG EVENTS, Info, $_event_pos);
let $_last_event= $_event;
while (`SELECT "$_event" != "No such row"`)
while ($_event != "No such row")
{
inc $_event_pos;
let $_last_event= $_event;