diff options
author | Jim Winstead <jimw@mysql.com> | 2009-07-30 17:51:25 -0700 |
---|---|---|
committer | Jim Winstead <jimw@mysql.com> | 2009-07-30 17:51:25 -0700 |
commit | a90bcde091c52cfe72ca3db35cbb08c4a8c1a14d (patch) | |
tree | 5088e4bf133bb114b8dd8939b5bf0a35d9165c3f /mysql-test/t/mysql.test | |
parent | 69a9d66730f8448d0057e98a65f3cf16ddaf3fc1 (diff) | |
parent | c754b00a1f79d1ea78b1a2d2c51a1b2281500fff (diff) | |
download | mariadb-git-a90bcde091c52cfe72ca3db35cbb08c4a8c1a14d.tar.gz |
Merge bug fix.
Diffstat (limited to 'mysql-test/t/mysql.test')
-rw-r--r-- | mysql-test/t/mysql.test | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/t/mysql.test b/mysql-test/t/mysql.test index 2bb9a02e9d7..cffa6392fa3 100644 --- a/mysql-test/t/mysql.test +++ b/mysql-test/t/mysql.test @@ -387,5 +387,19 @@ drop tables t1, t2; # --exec $MYSQL --html test -e "select '< & >' as '<'" +# +# Bug #27884: mysql client + null byte +# +create table t1 (a char(5)); +insert into t1 values ('\0b\0'); +--exec $MYSQL test -e "select a from t1" +--exec $MYSQL -r test -e "select a from t1" +--exec $MYSQL -s test -e "select a from t1" +--exec $MYSQL --table test -e "select a from t1" +--exec $MYSQL --vertical test -e "select a from t1" +--exec $MYSQL --html test -e "select a from t1" +--exec $MYSQL --xml test -e "select a from t1" +drop table t1; + --echo --echo End of tests |