Skip to content

Commit

Permalink
[fixup] Spider: correct init queries after merge
Browse files Browse the repository at this point in the history
The merge e95bba9 missed it
  • Loading branch information
mariadb-YuchenPei committed Dec 22, 2023
1 parent 91d53ea commit bdaa6ba
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions storage/spider/spd_init_query.h
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,46 @@ static LEX_STRING spider_init_queries[] = {
"alter table mysql.spider_xa_member"
" add column if not exists dsn char(64) default null after default_group;"
)},
{C_STRING_WITH_LEN(
"alter table mysql.spider_link_mon_servers"
" add column if not exists filedsn text default null after dsn,"
" algorithm=copy, lock=shared;"
)},
{C_STRING_WITH_LEN(
"alter table mysql.spider_tables"
" add column if not exists filedsn text default null after dsn,"
" algorithm=copy, lock=shared;"
)},
{C_STRING_WITH_LEN(
"alter table mysql.spider_xa_failed_log"
" add column if not exists filedsn text default null after dsn,"
" algorithm=copy, lock=shared;"
)},
{C_STRING_WITH_LEN(
"alter table mysql.spider_xa_member"
" add column if not exists filedsn text default null after dsn,"
" algorithm=copy, lock=shared;"
)},
{C_STRING_WITH_LEN(
"alter table mysql.spider_link_mon_servers"
" add column if not exists driver char(64) default null after filedsn,"
" algorithm=copy, lock=shared;"
)},
{C_STRING_WITH_LEN(
"alter table mysql.spider_tables"
" add column if not exists driver char(64) default null after filedsn,"
" algorithm=copy, lock=shared;"
)},
{C_STRING_WITH_LEN(
"alter table mysql.spider_xa_failed_log"
" add column if not exists driver char(64) default null after filedsn,"
" algorithm=copy, lock=shared;"
)},
{C_STRING_WITH_LEN(
"alter table mysql.spider_xa_member"
" add column if not exists driver char(64) default null after filedsn,"
" algorithm=copy, lock=shared;"
)},
{C_STRING_WITH_LEN(
"set @win_plugin := IF(@@version_compile_os like 'Win%', 1, 0);"
)},
Expand Down

0 comments on commit bdaa6ba

Please sign in to comment.