~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/query_log/tests/check-query-log-attribute.pl

  • 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:
103
103
   my $lineno = 1;
104
104
   foreach my $line ( @event_lines ) { 
105
105
      next if $line =~ m/^$/;
106
 
      if ( $lineno == 1 ) { # timestamp
107
 
         push @props, 'ts', $line =~ m/^# (\S+)/;
108
 
      }
109
 
      elsif ( $lineno >= 2 && $lineno <= 4 ) { # ints, floats and bools
 
106
      if ( $lineno <= 4 ) { # ts, ints, floats and bools
110
107
         push @props, $line =~ m/([a-z_]+)=(\S+)/g;
111
108
      }
112
109
      elsif ( $lineno == 5 ) { # strings