summaryrefslogtreecommitdiff
path: root/mysql-test/t/empty_table.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/empty_table.test')
-rw-r--r--mysql-test/t/empty_table.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/empty_table.test b/mysql-test/t/empty_table.test
new file mode 100644
index 00000000000..9ea79ee157f
--- /dev/null
+++ b/mysql-test/t/empty_table.test
@@ -0,0 +1,10 @@
+#
+# Some special cases with empty tables
+#
+
+drop table if exists t1;
+create table t1 (nr int(5) not null auto_increment,b blob,str char(10), primary key (nr));
+select count(*) from t1;
+select * from t1;
+select * from t1 limit 0;
+drop table t1;