mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
85a8f7c7a9
Please see worklog for details on files changed. BitKeeper/deleted/.del-have_row_based.require: Delete: mysql-test/r/have_row_based.require BitKeeper/deleted/.del-not_row_based.require: Delete: mysql-test/r/not_row_based.require BitKeeper/deleted/.del-have_row_based.inc: Delete: mysql-test/include/have_row_based.inc BitKeeper/deleted/.del-not_row_based.inc: Delete: mysql-test/include/not_row_based.inc BitKeeper/deleted/.del-replication.m4: Delete: config/ac-macros/replication.m4
35 lines
911 B
Text
35 lines
911 B
Text
#
|
|
# Copyright 2006 MySQL. All rights reserved.
|
|
#
|
|
# Test to check for the different version of truncating a table.
|
|
# The statements are "TRUNCATE tbl" and "DELETE FROM tbl". We check
|
|
# the behaviour of each possible value for BINLOG_FORMAT.
|
|
#
|
|
# Author(s): Mats Kindahl
|
|
|
|
--source include/master-slave.inc
|
|
|
|
let $format = STATEMENT;
|
|
let $stmt = TRUNCATE TABLE;
|
|
--source extra/rpl_tests/rpl_truncate_helper.test
|
|
|
|
let $format = MIXED;
|
|
let $stmt = TRUNCATE TABLE;
|
|
--source extra/rpl_tests/rpl_truncate_helper.test
|
|
|
|
let $format = ROW;
|
|
let $stmt = TRUNCATE TABLE;
|
|
--source extra/rpl_tests/rpl_truncate_helper.test
|
|
|
|
let $format = STATEMENT;
|
|
let $stmt = DELETE FROM;
|
|
--source extra/rpl_tests/rpl_truncate_helper.test
|
|
|
|
let $format = MIXED;
|
|
let $stmt = DELETE FROM;
|
|
--source extra/rpl_tests/rpl_truncate_helper.test
|
|
|
|
let $format = ROW;
|
|
let $stmt = DELETE FROM;
|
|
--source extra/rpl_tests/rpl_truncate_helper.test
|
|
|