summaryrefslogtreecommitdiff
path: root/mysql-test/extra/binlog_tests
diff options
context:
space:
mode:
authorunknown <acurtis@xiphis.org>2006-05-12 08:50:31 -0700
committerunknown <acurtis@xiphis.org>2006-05-12 08:50:31 -0700
commit93c397f9fa1e3e9dd62114ea8208557cdce21c29 (patch)
treec121f9008dc34c930ea0ddea7f5aa7820c8cd84a /mysql-test/extra/binlog_tests
parenta8c13c34a1b39b1f1fe06458b95f46b900576a51 (diff)
parentdac69dd4a2179a4bfbfacb22b41969c015f07d2d (diff)
downloadmariadb-git-93c397f9fa1e3e9dd62114ea8208557cdce21c29.tar.gz
manual merge bug#10952
mysql-test/r/merge.result: Auto merged mysql-test/t/merge.test: Auto merged sql/sql_table.cc: Auto merged
Diffstat (limited to 'mysql-test/extra/binlog_tests')
-rw-r--r--mysql-test/extra/binlog_tests/blackhole.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/extra/binlog_tests/blackhole.test b/mysql-test/extra/binlog_tests/blackhole.test
index 71aec90e9a0..97243015aba 100644
--- a/mysql-test/extra/binlog_tests/blackhole.test
+++ b/mysql-test/extra/binlog_tests/blackhole.test
@@ -147,3 +147,15 @@ set autocommit=1;
--replace_column 2 # 5 #
--replace_regex /table_id: [0-9]+/table_id: #/
show binlog events;
+
+#
+# BUG#10952 - alter table ... lost data without errors and warnings
+#
+drop table if exists t1;
+create table t1 (c char(20)) engine=MyISAM;
+insert into t1 values ("Monty"),("WAX"),("Walrus");
+--error 1031
+alter table t1 engine=blackhole;
+drop table t1;
+
+# End of 5.0 tests