mariadb/mysql-test/suite
Yuchen Pei 77cf457209
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-09-25 14:49:24 +10: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 branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
binlog_encryption Merge branch '10.11' into 11.4 2025-07-28 19:40:10 +02: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 fix tests for --view 2025-08-03 14:59:18 +02:00
engines Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +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 MDEV-36554: Assertion `is_wsrep() == wsrep_on(mysql_thd)' failed in void trx_t::commit_in_memory(const mtr_t*) 2025-08-04 14:58:18 +02:00
galera_3nodes Merge branch '11.8' into 12.0 2025-07-31 20:55:47 +02: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 Merge branch '10.11' into 11.4 2025-07-28 19:40:10 +02: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 branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
innodb_fts Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
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
maria MDEV-24 Segmented key cache for Aria 2025-06-25 17:59:45 +03:00
mariabackup Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
merge mariadb-test: wait on disconnect 2025-07-16 09:14:33 +07:00
mtr/t
mtr2
multi_source Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
optimizer_unfixed_bugs
parts Merge branch '11.8' into 12.0 2025-07-31 20:55:47 +02:00
perfschema Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +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 12.0 2025-07-31 20:55:47 +02:00
plugins Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
roles Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
rpl Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
s3 Merge branch '11.8' into 12.0 2025-06-18 07:50:39 +02:00
sql_sequence Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
storage_engine mariadb-test: wait on disconnect 2025-07-16 09:14:33 +07:00
stress
sys_vars MDEV-36077: Galera feature: Retry applying writesets at slaves 2025-08-04 14:58:10 +02:00
sysschema Merge branch '11.8' into 12.0 2025-07-31 20:55:47 +02:00
unit
vcol MDEV-37435 Make new vcols created in vcol index substitution inherit name resolution from the select_lex 2025-09-25 14:49:24 +10:00
versioning Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
wsrep Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00