~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to plugin/haildb/tests/t/status_table_function.test

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
SHOW CREATE TABLE DATA_DICTIONARY.haildb_STATUS;
2
 
SELECT COUNT(NAME) FROM DATA_DICTIONARY.haildb_STATUS;
3
 
SELECT NAME FROM DATA_DICTIONARY.haildb_STATUS;
4
 
SELECT * FROM DATA_DICTIONARY.haildb_STATUS WHERE NAME="page_size";
5
 
--replace_column 1 #
6
 
SELECT (@fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.haildb_STATUS WHERE NAME="fsync_req_done";
7
 
create table t1 (a int primary key);
8
 
SELECT (@fsync_count < @fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.haildb_STATUS WHERE NAME="fsync_req_done";
9
 
insert into t1 values (1);
10
 
SELECT (@fsync_count < @fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.haildb_STATUS WHERE NAME="fsync_req_done";
11
 
insert into t1 values (5),(2),(3),(4);
12
 
SELECT (@fsync_count < @fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.haildb_STATUS WHERE NAME="fsync_req_done";
13
 
delete from t1;
14
 
SELECT (@fsync_count < @fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.haildb_STATUS WHERE NAME="fsync_req_done";
15
 
begin;
16
 
insert into t1 values (1);
17
 
insert into t1 values (2);
18
 
insert into t1 values (3);
19
 
insert into t1 values (4);
20
 
commit;
21
 
SELECT (@fsync_count < @fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.haildb_STATUS WHERE NAME="fsync_req_done";
22
 
DROP TABLE t1;
23
 
SELECT (@fsync_count < (@fsync_count:= VALUE)) AS fsyncs FROM DATA_DICTIONARY.haildb_STATUS WHERE NAME="fsync_req_done";
24