mariadb/mysql-test/suite
Yuchen Pei b86a2f03b6
MDEV-32640 Reset thd->lex->mi.connection_name.str towards the end of mysql_execute_command
Reset the connection_name to contain a null string, if the pointer
points to the same space as that of the system variable
default_master_connection.

We do this because the system variable may be updated which could free
the pointer and create a new one, causing use-after-free for
re-execution of prepared statements and stored procedures where the
LEX may be reused.

This allows connection_name to be set again be to the system variable
pointer in the next call of this function (see earlier in this
function), after any possible updates to the system variable.
2024-05-07 14:54:13 +10:00
..
archive
atomic
binlog Merge branch '11.3' into 11.4 2024-02-15 13:53:21 +01:00
binlog_encryption Merge branch '11.3' into 11.4 2024-02-15 13:53:21 +01:00
client
compat MDEV-33616 Tests failing on macOS 2024-04-24 08:44:24 -04:00
csv
encryption Merge 11.2 into 11.3 2024-01-05 14:20:35 +02:00
engines Merge branch '11.3' into 11.4 2024-02-15 13:53:21 +01:00
events Merge branch '11.2' into 11.3 2023-12-21 02:14:59 +01:00
federated Merge branch '11.3' into 11.4 2024-02-15 13:53:21 +01:00
funcs_1 Merge branch '11.3' into 11.4 2024-02-15 13:53:21 +01:00
funcs_2
galera MDEV-31857 fix galera.MW-284 2024-02-14 16:19:22 +01:00
galera_3nodes test.cnf files should !include default_my.cnf 2024-02-03 11:22:20 +01:00
galera_3nodes_sr Merge 10.6 into 10.11 2024-01-03 15:37:57 +02:00
galera_sr Merge 10.6 into 10.11 2024-01-03 15:37:57 +02:00
gcol Merge branch '11.1' into 11.2 2023-12-20 23:43:05 +01:00
handler
heap
innodb Fixed failure in innodb.corrupted_during_recovery 2024-02-23 00:31:23 +02:00
innodb_fts Merge branch '11.2' into 11.3 2023-12-21 02:14:59 +01:00
innodb_gis Merge branch '11.2' into 11.3 2023-12-21 02:14:59 +01:00
innodb_i_s
innodb_zip Merge branch '11.0' into 11.1 2024-02-02 11:30:47 +01:00
jp
json
large_tests
maria Merge branch '10.11' into 11.0 2023-11-08 17:09:44 +01:00
mariabackup Merge branch '11.3' into 11.4 2024-02-15 13:53:21 +01:00
merge
mtr/t
mtr2
multi_source Merge branch '11.3' into 11.4 2024-02-15 13:53:21 +01:00
optimizer_unfixed_bugs deprecate SQL_NOTES variable in favor of NOTE_VERBOSITY 2024-02-03 11:22:20 +01:00
parts MDEV-22164 log a warning when WITHOUT VALIDATION was used 2024-01-08 13:06:16 +01:00
perfschema Merge branch '11.3' into 11.4 2024-02-15 13:53:21 +01:00
perfschema_stress
period MDEV-32501 KEY_PERIOD_USAGE reveals information to unprivileged user 2024-02-12 22:26:06 +01:00
plugins Merge branch '11.0' into 11.1 2024-02-02 11:30:47 +01:00
roles Merge 11.0 into 11.1 2023-11-24 15:58:35 +02:00
rpl MDEV-31404 post-push for rpl.max_binlog_total_size 2024-04-30 14:00:19 +03:00
s3 test.cnf files should !include default_my.cnf 2024-02-03 11:22:20 +01:00
sql_sequence Merge 10.6 into 10.11 2024-01-17 17:37:15 +02:00
storage_engine
stress
sys_vars MDEV-32640 Reset thd->lex->mi.connection_name.str towards the end of mysql_execute_command 2024-05-07 14:54:13 +10:00
sysschema Merge remote-tracking branch '11.3' into 11.4 2023-12-21 15:40:55 +01:00
unit
vcol Merge branch '11.2' into 11.3 2023-12-21 02:14:59 +01:00
versioning Merge branch '11.3' into 11.4 2024-02-15 13:53:21 +01:00
wsrep test.cnf files should !include default_my.cnf 2024-02-03 11:22:20 +01:00