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

« back to all changes in this revision

Viewing changes to plugin/transaction_log/tests/t/insert.inc

  • 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
 
2
 
# Simple test of the transaction log for single INSERT statements
3
 
4
 
# We create a table and insert some records
5
 
# into it.
6
 
7
 
# We then use the transaction_reader in plugin/transaction_log/utilities to read the events.
8
 
#
9
 
 
10
 
--disable_warnings
11
 
DROP TABLE IF EXISTS t1;
12
 
--enable_warnings
13
 
 
14
 
CREATE TABLE t1 (
15
 
  id INT NOT NULL PRIMARY KEY
16
 
, padding VARCHAR(200) NOT NULL
17
 
);
18
 
 
19
 
INSERT INTO t1 VALUES (1, "I love testing.");
20
 
INSERT INTO t1 VALUES (2, "I hate testing.");
21
 
 
22
 
DROP TABLE t1;