diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-08-08 13:33:15 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-08-08 13:33:15 +0200 |
commit | b718dc449bfc6aa5756a316d4db8853918765619 (patch) | |
tree | 4a3ae2986e4a3787ebf609c4b14983ef83916c6c /mysql-test/t/mysql.test | |
parent | cafe9d13f64924c17a4fc67704d25ee78f49cb35 (diff) | |
download | mariadb-git-b718dc449bfc6aa5756a316d4db8853918765619.tar.gz |
mysql --skip-column-names flag should not affect alignment of field values,
set num_flag[] unconditionally, not under "if (column_names)"
http://ronaldbradford.com/blog/unexplained-trivial-mysql-behavior-2013-08-02/
Diffstat (limited to 'mysql-test/t/mysql.test')
-rw-r--r-- | mysql-test/t/mysql.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/t/mysql.test b/mysql-test/t/mysql.test index 9187cf82513..6281bb5f4c1 100644 --- a/mysql-test/t/mysql.test +++ b/mysql-test/t/mysql.test @@ -603,5 +603,10 @@ delimiter EOF --exec $MYSQL < $MYSQLTEST_VARDIR/tmp/13639125.sql +# +# --skip-column-names and alignment +# +--exec $MYSQL -t -N -e "SELECT 'a' union select 'aaaaaaaaaaaaaaaaa'" + --echo --echo End of tests |