mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
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
This commit is contained in:
@ -104,4 +104,14 @@ c_cp932
|
||||
| 2 | NULL |
|
||||
| 3 | |
|
||||
+------+------+
|
||||
create table t1(a int, b varchar(255), c int);
|
||||
Field Type Null Key Default Extra
|
||||
a int(11) YES NULL
|
||||
b varchar(255) YES NULL
|
||||
c int(11) YES NULL
|
||||
Field Type Null Key Default Extra
|
||||
a int(11) YES NULL
|
||||
b varchar(255) YES NULL
|
||||
c int(11) YES NULL
|
||||
drop table t1;
|
||||
End of 5.0 tests
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user