# # MDEV-34704: Quick mode produces the bug for mariadb client # create table t1 (aaaaaaaaa char (5), aaaaa char (10), a char (127), b char(1)); insert into t1 values ("X", "X", "X", "X"); # --table --quick +-----------+------------+---------------------------------------------------------------------------------------------------------------------------------+------+ | aaaaaaaaa | aaaaa | a | b | +-----------+------------+---------------------------------------------------------------------------------------------------------------------------------+------+ | X | X | X | X | +-----------+------------+---------------------------------------------------------------------------------------------------------------------------------+------+ # --table --quick --quick-max-column-width=0 +-----------+-------+------+------+ | aaaaaaaaa | aaaaa | a | b | +-----------+-------+------+------+ | X | X | X | X | +-----------+-------+------+------+ # --table --quick --quick-max-column-width=10 +-----------+------------+------------+------+ | aaaaaaaaa | aaaaa | a | b | +-----------+------------+------------+------+ | X | X | X | X | +-----------+------------+------------+------+ # --table --quick --quick-max-column-width=20 +-----------+------------+----------------------+------+ | aaaaaaaaa | aaaaa | a | b | +-----------+------------+----------------------+------+ | X | X | X | X | +-----------+------------+----------------------+------+ insert into t1 values ("01234", "0123456789", "01234567890123456789", "1"); # --table --quick +-----------+------------+---------------------------------------------------------------------------------------------------------------------------------+------+ | aaaaaaaaa | aaaaa | a | b | +-----------+------------+---------------------------------------------------------------------------------------------------------------------------------+------+ | X | X | X | X | | 01234 | 0123456789 | 01234567890123456789 | 1 | +-----------+------------+---------------------------------------------------------------------------------------------------------------------------------+------+ # --table --quick --quick-max-column-width=0 +-----------+-------+------+------+ | aaaaaaaaa | aaaaa | a | b | +-----------+-------+------+------+ | X | X | X | X | | 01234 | 0123456789 | 01234567890123456789 | 1 | +-----------+-------+------+------+ # --table --quick --quick-max-column-width=10 +-----------+------------+------------+------+ | aaaaaaaaa | aaaaa | a | b | +-----------+------------+------------+------+ | X | X | X | X | | 01234 | 0123456789 | 01234567890123456789 | 1 | +-----------+------------+------------+------+ # --table --quick --quick-max-column-width=20 +-----------+------------+----------------------+------+ | aaaaaaaaa | aaaaa | a | b | +-----------+------------+----------------------+------+ | X | X | X | X | | 01234 | 0123456789 | 01234567890123456789 | 1 | +-----------+------------+----------------------+------+ drop table t1; # # End of 10.5 tests #