~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/suite/transaction_log/t/rand.inc

  • Committer: Jay Pipes
  • Date: 2009-11-11 19:59:46 UTC
  • mfrom: (1193.2.6 transaction_log)
  • mto: This revision was merged to the branch mainline in revision 1215.
  • Revision ID: jpipes@serialcoder-20091111195946-i393y7s8m1l2dwyh
Merge Joe's new test cases for transaction log

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
2
 
# Simple test of the serial event log for testing rand() call 
3
 
4
 
# We then use the transaction_reader in drizzled/message/ to read the events.
 
2
# Tests that a value is put in the transaction log for rand()
5
3
#
6
4
 
7
5
--disable_warnings
13
11
, PRIMARY KEY (id)
14
12
);
15
13
 
16
 
insert into t1 values (1);
17
 
insert into t1 select rand(100)*100 from t1;
 
14
INSERT INTO t1 VALUES (1);
 
15
INSERT INTO t1 SELECT RAND(100)*100 FROM t1;
 
16
 
 
17
DROP TABLE t1;