~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/query_log/tests/t/file.test

  • Committer: Daniel
  • Date: 2011-09-18 20:03:12 UTC
  • mto: This revision was merged to the branch mainline in revision 2422.
  • Revision ID: daniel@ubuntu-10-20110918200312-wuih58m2iey3l5t5
Make first event line start_ts=TS.  Update and expand docu; fix a typo (wrong version).

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
# YYYY-MM-DDTHH:MM:SS.uuuuuu.  We just check that the start of the ts
101
101
# matches today's date.
102
102
let $today= `SELECT DATE(NOW())`;
103
 
--exec $TOP_SRCDIR/plugin/query_log/tests/check-query-log-attribute.pl $DRIZZLETEST_VARDIR/query.log ts matches "^$today"
 
103
--exec $TOP_SRCDIR/plugin/query_log/tests/check-query-log-attribute.pl $DRIZZLETEST_VARDIR/query.log start_ts matches "^$today"
104
104
 
105
105
# The 3rd line of an event should be microsecond times like 1.123456
106
106
--exec $TOP_SRCDIR/plugin/query_log/tests/check-query-log-attribute.pl $DRIZZLETEST_VARDIR/query.log execution_time,lock_time,session_time matches '\d\.\d{6}','\d\.\d{6}','\d\.\d{6}'