~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

Added code necessary for building plugins dynamically.
Merged in changes from lifeless to allow autoreconf to work.
Touching plugin.ini files now triggers a rebuid - so config/autorun.sh is no
longer required to be run after touching those.
Removed the duplicate plugin names - also removed the issue that getting them
different would silently fail weirdly later.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
2
# Simple test of the serial event log for autocommit behaviour.
 
3
#
 
4
 
 
5
--disable_warnings
 
6
DROP TABLE IF EXISTS t1;
 
7
--enable_warnings
 
8
 
 
9
SET AUTOCOMMIT= 0;
 
10
 
 
11
CREATE TABLE t1 (
 
12
  id INT NOT NULL
 
13
, padding VARCHAR(200) NOT NULL
 
14
);
 
15
 
 
16
INSERT INTO t1 VALUES (1, "I love testing.");
 
17
INSERT INTO t1 VALUES (2, "I hate testing.");
 
18
 
 
19
DROP TABLE t1;
 
20
 
 
21
# Try the same thing with auto_commit turned on
 
22
# This should produce a commit between inserts...
 
23
 
 
24
SET AUTOCOMMIT= 1;
 
25
 
 
26
CREATE TABLE t1 (
 
27
  id INT NOT NULL
 
28
, padding VARCHAR(200) NOT NULL
 
29
);
 
30
 
 
31
INSERT INTO t1 VALUES (1, "I love testing.");
 
32
INSERT INTO t1 VALUES (2, "I hate testing.");
 
33
 
 
34
DROP TABLE t1;