~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/suite/transaction_log/t/no_modification.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 transaction log for when a START TRANSACTION ... COMMIT
 
3
# is issued, but no data modifications actually occurred.
 
4
 
5
# This situation occurs in, for instance, sysbench, which wraps even SELECTs
 
6
# in a transaction.
 
7
#
 
8
 
 
9
--disable_warnings
 
10
DROP TABLE IF EXISTS t1;
 
11
--enable_warnings
 
12
 
 
13
CREATE TABLE t1 (
 
14
  id INT NOT NULL
 
15
, padding VARCHAR(200) NOT NULL
 
16
);
 
17
 
 
18
INSERT INTO t1 VALUES (1, "I love testing.");
 
19
INSERT INTO t1 VALUES (2, "I hate testing.");
 
20
 
 
21
START TRANSACTION;
 
22
 
 
23
SELECT * FROM t1 WHERE id = 1;
 
24
SELECT * FROM t1 WHERE id = 2;
 
25
 
 
26
COMMIT;