~vlad-lesin/percona-playback/connections_pool

« back to all changes in this revision

Viewing changes to percona_playback/test/crashme-slow.cc

  • Committer: Stewart Smith
  • Date: 2012-09-17 05:54:15 UTC
  • Revision ID: stewart@flamingspork.com-20120917055415-m8flwusm6d0q2tk9
fix 'multi-lines queries don't work' bug for query_log. Basically, \n can make it into the query part of the query log. This patch alters and cleans up slow query log parsing, likely making it a bit more efficient at the same time.

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
  struct percona_playback_run_result *r= percona_playback_run(the_percona_playback);
61
61
 
62
62
  assert(r->err == 0);
63
 
  assert(r->n_queries == 211);
 
63
  assert(r->n_queries == 106);
64
64
  assert(r->n_log_entries = 105);
65
65
 
66
66
  percona_playback_destroy(&the_percona_playback);