~clint-fewbar/drizzle/regex-policy-cache-limiter

« back to all changes in this revision

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

  • Committer: Clint Byrum
  • Date: 2012-03-15 18:05:43 UTC
  • mfrom: (2224.1.302 workspace)
  • Revision ID: clint@ubuntu.com-20120315180543-9jxxm4q10k3np2ws
merging with latest trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
2
 
# Simple test of the serial event log for testing ALTER command 
3
 
4
 
# We create a table then alter it by adding a column into it. 
5
 
6
 
# We then use the transaction_reader in plugin/transaction_log/utilities to read the events.
7
 
#
8
 
 
9
 
--disable_warnings
10
 
DROP TABLE IF EXISTS t1, t2;
11
 
--enable_warnings
12
 
 
13
 
CREATE TABLE t1 (
14
 
  id INT NOT NULL
15
 
, padding VARCHAR(200) NOT NULL
16
 
, PRIMARY KEY (id)
17
 
);
18
 
 
19
 
RENAME TABLE t1 TO t2;
20
 
 
21
 
DROP TABLE t2;