Drizzled Public API Documentation

rename.inc
00001 # 
00002 # Simple test of the serial event log for testing ALTER command 
00003 # 
00004 # We create a table then alter it by adding a column into it. 
00005 # 
00006 # We then use the transaction_reader in plugin/transaction_log/utilities to read the events.
00007 #
00008 
00009 --disable_warnings
00010 DROP TABLE IF EXISTS t1, t2;
00011 --enable_warnings
00012 
00013 CREATE TABLE t1 (
00014   id INT NOT NULL
00015 , padding VARCHAR(200) NOT NULL
00016 , PRIMARY KEY (id)
00017 );
00018 
00019 RENAME TABLE t1 TO t2;
00020 
00021 DROP TABLE t2;