1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-23561 Spider doesn't work with ps protocol

This commit is contained in:
Kentoku SHIBA
2020-08-25 20:41:33 +09:00
parent e1a9b7ca7b
commit 8f8f2aea93
10 changed files with 206 additions and 307 deletions

View File

@@ -353,11 +353,7 @@ int spider_udf_get_copy_tgt_tables(
) {
int error_num, roop_count;
TABLE *table_tables = NULL;
#if MYSQL_VERSION_ID < 50500
Open_tables_state open_tables_backup;
#else
Open_tables_backup open_tables_backup;
#endif
SPIDER_Open_tables_backup open_tables_backup;
char table_key[MAX_KEY_LENGTH];
SPIDER_COPY_TABLE_CONN *table_conn = NULL, *src_table_conn_prev = NULL,
*dst_table_conn_prev = NULL;