mariadb/mysql-test/suite
Yuchen Pei 0316c6e4f2
MDEV-37435 Make new vcols created in vcol index substitution inherit name resolution from the select_lex
When a column or alias is the GROUP BY item, and a HAVING conjunct
depends on this column/alias only, the HAVING conjunct could contain
an Item_ref pointing to the GROUP BY Item_field.

If the column/alias happens to the be the expression of a vcol, the
GROUP BY item would be substituted with a newly created vcol
Item_field (MDEV-36132). This causes the Item_ref in HAVING to point
to the new vcol Item_field as well.

Subsequently in the HAVING to WHERE pushdown optimization, the
conjunct is moved to WHERE and fix_fields is called on it, where it
expects the vcol Item_field to have a name resolution context. So we
let the vcol Item_field inherit the context from the select_lex.
2025-10-16 10:38:51 +11:00
..
archive Merge remote-tracking branch 'github/bb-11.4-release' into bb-11.8-serg 2025-04-27 19:40:00 +02:00
atomic Fix the test: changing charset should be dome when we can not skip the test. 2025-05-09 07:36:15 +02:00
binlog Merge 11.8 into 12.1 2025-10-09 17:46:33 +03:00
binlog_encryption MDEV-35617: DROP USER should leave no active session for that user 2025-07-16 09:14:33 +07:00
client Fix typos in mysql-test/ 2025-04-29 13:53:16 +10:00
compat MDEV-37430 sql_mode=ORACLE: TYPE definitions in PACKAGE BODY 2025-08-28 13:45:29 +04:00
csv mariadb-test: wait on disconnect 2025-07-16 09:14:33 +07:00
encryption Merge branch '11.8' into bb-12.1-release 2025-10-08 09:05:38 +02:00
engines Merge branch '11.8' into bb-12.1-release 2025-10-08 09:05:38 +02:00
events MDEV-35617: DROP USER should leave no active session for that user 2025-07-16 09:14:33 +07:00
federated Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
funcs_1 Merge branch '10.11' into 11.4 2025-07-28 19:40:10 +02:00
funcs_2 Merge 11.4 into 11.8 2025-04-02 14:07:01 +03:00
galera Merge 11.8 into 12.1 2025-10-09 17:46:33 +03:00
galera_3nodes Merge 11.8 into 12.1 2025-10-09 17:46:33 +03:00
galera_3nodes_sr Merge 11.4 into 11.8 2025-04-02 14:07:01 +03:00
galera_sr Fix typos in mysql-test/ 2025-04-29 13:53:16 +10:00
gcol MDEV-36132 Substitute vcol expressions with indexed vcol fields in ORDER BY and GROUP BY 2025-07-22 10:44:12 +10:00
handler mariadb-test: wait on disconnect 2025-07-16 09:14:33 +07:00
heap Merge branch '11.4' into 11.7 2025-02-06 16:46:36 +01:00
innodb Merge 11.8 into 12.1 2025-10-09 17:46:33 +03:00
innodb_fts MDEV-35163 InnoDB persistent statistics fail to update after ALTER TABLE...ALGORITHM=COPY 2025-09-22 17:39:47 +05:30
innodb_gis mariadb-test: wait on disconnect 2025-07-16 09:14:33 +07:00
innodb_i_s
innodb_zip Fix typos in mysql-test/ 2025-04-29 13:53:16 +10:00
jp Fix typos in mysql-test/ 2025-04-29 13:53:16 +10:00
json Merge branch '11.8' into 12.0 2025-05-22 09:22:55 +02:00
large_tests fix failing large_tests.maria_recover_encrypted 2024-04-22 18:38:39 +02:00
maria Merge branch '11.8' into bb-12.1-release 2025-10-08 09:05:38 +02:00
mariabackup Merge branch '11.8' into bb-12.1-release 2025-10-08 09:05:38 +02:00
merge mariadb-test: wait on disconnect 2025-07-16 09:14:33 +07:00
mtr/t Remove dates from all rdiff files 2025-01-05 16:40:11 +02:00
mtr2
multi_source Merge branch '11.8' into bb-12.1-release 2025-10-08 09:05:38 +02:00
optimizer_unfixed_bugs deprecate SQL_NOTES variable in favor of NOTE_VERBOSITY 2024-02-03 11:22:20 +01:00
parts Merge branch '11.8' into 12.0 2025-07-31 20:55:47 +02:00
perfschema Merge branch '11.8' into bb-12.1-release 2025-10-08 09:05:38 +02:00
perfschema_stress remove features that were deprecated in 10.5 2025-04-29 16:53:02 +02:00
period Merge branch '11.8' into bb-12.1-release 2025-10-08 09:05:38 +02:00
plugins Merge branch '11.8' into bb-12.1-release 2025-10-08 09:05:38 +02:00
roles Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
rpl Merge 11.8 into 12.1 2025-10-09 17:46:33 +03:00
s3 Merge branch '11.8' into 12.0 2025-06-18 07:50:39 +02:00
sql_sequence Merge branch '11.8' into bb-12.1-release 2025-10-08 09:05:38 +02:00
storage_engine mariadb-test: wait on disconnect 2025-07-16 09:14:33 +07:00
stress MDEV-34453 Trying to read 16384 bytes at 70368744161280 outside the bounds of the file: ./ibdata1 2024-09-20 20:26:43 +05:30
sys_vars MDEV-37723: TPROC-H Query4...: Remove @@new_mode=FIX_DISK_TMPTABLE_COSTS in 12.1 2025-10-08 15:08:03 +03:00
sysschema Merge branch '11.8' into bb-12.1-release 2025-10-08 09:05:38 +02:00
unit Merge branch '11.4' into 11.5 2024-08-05 17:50:18 +02:00
vcol MDEV-37435 Make new vcols created in vcol index substitution inherit name resolution from the select_lex 2025-10-16 10:38:51 +11:00
versioning Merge branch '11.8' into bb-12.1-release 2025-10-08 09:05:38 +02:00
wsrep Merge branch '11.8' into bb-12.1-release 2025-10-08 09:05:38 +02:00