~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/transaction_log/tests/t/bug686781.test

  • Committer: Lee Bieber
  • Date: 2011-01-12 04:30:24 UTC
  • mfrom: (2075.1.3 build)
  • Revision ID: kalebral@gmail.com-20110112043024-zgws6jzd54oym9um
Merge Brian - fix bug 527084 - DROP TABLE: getTableDefiniton returns EEXIST but doDropTable returns ENOENT leads to SIGSEGV
Merge Shrews - fix bug 686781 - Transaction message segmenting does not work in all cases 
Merge Stewart - fix bug 376299: sum_distinct-big test fails after resetting max_heap_table_size

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--disable_query_log
 
2
 
 
3
--disable_warnings
 
4
DROP TABLE IF EXISTS t1;
 
5
--enable_warnings
 
6
 
 
7
CREATE TABLE t1 (a INT NOT NULL PRIMARY KEY, b INT);
 
8
 
 
9
--source ../plugin/transaction_log/tests/t/truncate_log.inc
 
10
 
 
11
let $i=960;
 
12
let $a=0;
 
13
let $alt=0;
 
14
 
 
15
START TRANSACTION;
 
16
 
 
17
while ($i)
 
18
{
 
19
  eval INSERT INTO t1 (a,b) VALUES ($a, 0);
 
20
  eval UPDATE t1 SET b = 1 WHERE a = $a;
 
21
  inc $a;
 
22
  dec $i;
 
23
}
 
24
 
 
25
COMMIT;
 
26
 
 
27
--enable_query_log
 
28
 
 
29
--echo
 
30
--source ../plugin/transaction_log/tests/t/check_transaction_log.inc
 
31
 
 
32
--disable_query_log
 
33
DROP TABLE t1;
 
34
--source ../plugin/transaction_log/tests/t/truncate_log.inc
 
35
--enable_query_log