mysql-test/suite/ndb_binlog/t/ndb_binlog_count_event_t1.inc
raw| 1 | --disable_query_log |
| 2 | --exec $NDB_SELECT_ALL -dsys NDB\$EVENTS_0 > $MYSQLTEST_VARDIR/tmp.dat |
| 3 | create temporary table raw_binlog_events (txt varchar(1000)); |
| 4 | --eval load data local infile '$MYSQLTEST_VARDIR/tmp.dat' into table raw_binlog_events columns terminated by '\n'; |
| 5 | --enable_query_log |
| 6 | select count(*) from raw_binlog_events where txt like '%t1\_%'; |
| 7 | --disable_query_log |
| 8 | drop table raw_binlog_events; |
| 9 | --enable_query_log |