summaryrefslogtreecommitdiff
path: root/mysql-test/main/alias.test
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'bb-10.3-all-builders' into bb-10.4-all-buildersLena Startseva2022-09-231-0/+3
|\
| * MDEV-27691: make working view-protocolLena Startseva2022-09-231-0/+3
| | | | | | | | | | | | | | | | Tests with checking metadata or that cannot be run with the view-protocol are excluded from --view-protocol. For tests that do not allow the use of an additional connection, the util connection is disabled with "--disable_service_connection". Also cases with bugs for --view-protocol are disabled.
* | Merge remote-tracking branch 'origin/10.3' into 10.4Alexander Barkov2021-10-271-0/+83
|\ \ | |/
| * MDEV-22380: Assertion `name.length == strlen(name.str)' failed ...bb-10.3-bar-MDEV-22380Alexander Barkov2021-10-271-0/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fixes: MDEV-25399 Assertion `name.length == strlen(name.str)' failed in Item_func_sp::make_send_field Also fixes a problem that in this scenario: SET NAMES binary; SELECT 'some not well-formed utf8 string'; the auto-generated column name copied the binary string value directly to the Item name, without checking utf8 well-formedness. After this change auto-generated column names work as follows: - Zero bytes 0x00 are copied to the name using HEX notation - In case of "SET NAMES binary", all bytes sequences that do not make well-formed utf8 characters are copied to the name using HEX notation.
* | Updated main.alias test to fix max_lengthMonty2021-09-211-1/+1
| | | | | | | | | | The test will work after libmariadb has been updated to return correct max_length for prepared statements
* | Fixed alias.test to also works with psMonty2021-09-171-1/+1
| | | | | | | | | | | | The issue is that max_length for prepared statements are different from normal queries, which can optimize the max_length based on the result length.
* | MDEV-23519 Protocol packet - "Original Name" info is showing alias name,Monty2021-09-141-0/+15
|/ | | | | | | | | instead of original name of the column When doing refactoring of temporary table field creation a mistake was done when copying the column name when creating internal temporary tables. For internal temporary tables we should use the original field name, not the item name (= alias).
* Create 'main' test directory and move 't' and 'r' thereMichael Widenius2018-03-291-0/+228