~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/suite/flush_tables/t/update_select.test

  • Committer: Brian Aker
  • Date: 2010-11-27 18:27:58 UTC
  • mfrom: (1948.2.15 catalogs)
  • Revision ID: brian@tangent.org-20101127182758-dmlrboyhsazqa1tm
Merge in additiona fixes, includes a number of bug fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Test that if we do a flush table, and in other connections do block like
 
2
# tasks, that nothing crashes/etc.
 
3
 
 
4
--disable_warnings
 
5
--disable_query_log
 
6
DROP TABLE IF EXISTS t1;
 
7
--enable_query_log
 
8
--enable_warnings
 
9
 
 
10
connect (con1, localhost, root,,);
 
11
connect (con2, localhost, root,,);
 
12
 
 
13
connection default;
 
14
CREATE TABLE t1 (a serial);
 
15
 
 
16
connection con1;
 
17
SEND select * from t1 for update;
 
18
 
 
19
connection default;
 
20
UNLOCK tables;