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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-03-18 12:12:31 UTC
  • Revision ID: james.westby@ubuntu.com-20100318121231-k6g1xe6cshbwa0f8
Tags: upstream-2010.03.1347
ImportĀ upstreamĀ versionĀ 2010.03.1347

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 drizzled/message/ 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.");