~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/logging_stats/tests/t/slap.test

  • Committer: Joe Daly
  • Date: 2010-03-25 02:26:39 UTC
  • mto: This revision was merged to the branch mainline in revision 1404.
  • Revision ID: skinny.moey@gmail.com-20100325022639-fdgwizz164ady0p5
add a lock in postEnd, as other threads could be reading this in post() function

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
--exec $DRIZZLE_SLAP --silent --concurrency=10 --iterations=20 --query="SELECT * FROM t1" --create="CREATE TABLE t1 (id int, name varchar(64)); INSERT INTO t1 VALUES (1, 'This is a test')" --delimiter=";" --commit=10
3
3
 
4
 
--disable_warnings
5
 
DROP TABLE IF EXISTS b;
6
 
--enable_warnings
7
 
 
8
 
 
9
 
CREATE TABLE b (i int,  PRIMARY KEY (i));
10
 
 
11
 
#SELECT * FROM DATA_DICTIONARY.SQL_COMMANDS_BY_USER;
 
4
SELECT * FROM DATA_DICTIONARY.SQL_COMMANDS_BY_USER;