2
# Simple test of the transaction log and the errors
3
# which should be produced when a table is inserted
4
# into when the transaction log is enabled but the
5
# table does not have primary keys.
7
# We create a table without a primary key and insert
8
# a record into it. An error should be produced.
12
DROP TABLE IF EXISTS t1;
17
, padding VARCHAR(200) NOT NULL
20
# The below should produce an error because the CREATE TABLE
21
# above does not have a primary key.
22
--error ER_NO_PRIMARY_KEY_ON_REPLICATED_TABLE
23
INSERT INTO t1 VALUES (1, "I love testing.");