mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
5a61fd5819
Fix MDEV-34704 typos.
62 lines
3.9 KiB
Text
62 lines
3.9 KiB
Text
#
|
|
# 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
|
|
#
|