summaryrefslogtreecommitdiff
path: root/mysql-test/t/mysql.test
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2006-07-24 19:01:54 +0200
committerunknown <msvensson@neptunus.(none)>2006-07-24 19:01:54 +0200
commitd2f447a9b41d370ea410c04943cbf239070523d7 (patch)
treeb211133db6c3a8f62a4d47436dbc6516d4b49695 /mysql-test/t/mysql.test
parenta96669395cd62130799f2c16c24340cce1de59eb (diff)
downloadmariadb-git-d2f447a9b41d370ea410c04943cbf239070523d7.tar.gz
Bug #19265 describe command does not work from mysql prompt
- Add test case mysql-test/r/mysql.result: Update test result mysql-test/t/mysql.test: Add test for mysql using DESC command
Diffstat (limited to 'mysql-test/t/mysql.test')
-rw-r--r--mysql-test/t/mysql.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/mysql.test b/mysql-test/t/mysql.test
index ac4c323f51e..cfc47a5fbd5 100644
--- a/mysql-test/t/mysql.test
+++ b/mysql-test/t/mysql.test
@@ -77,6 +77,15 @@ drop table t1;
#
--exec $MYSQL -t test -e "create table b19564 (i int, s1 char(1)); insert into b19564 values (1, 'x'); insert into b19564 values (2, NULL); insert into b19564 values (3, ' '); select * from b19564 order by i; drop table b19564;"
+#
+# Bug#19265 describe command does not work from mysql prompt
+#
+
+create table t1(a int, b varchar(255), c int);
+--exec $MYSQL test -e "desc t1"
+--exec $MYSQL test -e "desc t1\g"
+drop table t1;
+
--echo End of 5.0 tests