MDEV-32485 Fix Spider upgrade failure caused by duplication in mysql.func
This commit is contained in:
parent
15a1168b36
commit
0b2fd01ed0
@ -657,7 +657,7 @@ static LEX_STRING spider_init_queries[] = {
|
|||||||
"if @win_plugin = 0 then"
|
"if @win_plugin = 0 then"
|
||||||
" begin not atomic"
|
" begin not atomic"
|
||||||
" declare exit handler for 1041, 1123"
|
" declare exit handler for 1041, 1123"
|
||||||
" insert into mysql.func values"
|
" replace into mysql.func values"
|
||||||
" ('spider_direct_sql', 2, 'ha_spider.so', 'function'),"
|
" ('spider_direct_sql', 2, 'ha_spider.so', 'function'),"
|
||||||
" ('spider_bg_direct_sql', 2, 'ha_spider.so', 'aggregate'),"
|
" ('spider_bg_direct_sql', 2, 'ha_spider.so', 'aggregate'),"
|
||||||
" ('spider_ping_table', 2, 'ha_spider.so', 'function'),"
|
" ('spider_ping_table', 2, 'ha_spider.so', 'function'),"
|
||||||
@ -677,7 +677,7 @@ static LEX_STRING spider_init_queries[] = {
|
|||||||
"else"
|
"else"
|
||||||
" begin not atomic"
|
" begin not atomic"
|
||||||
" declare exit handler for 1041, 1123"
|
" declare exit handler for 1041, 1123"
|
||||||
" insert into mysql.func values"
|
" replace into mysql.func values"
|
||||||
" ('spider_direct_sql', 2, 'ha_spider.dll', 'function'),"
|
" ('spider_direct_sql', 2, 'ha_spider.dll', 'function'),"
|
||||||
" ('spider_bg_direct_sql', 2, 'ha_spider.dll', 'aggregate'),"
|
" ('spider_bg_direct_sql', 2, 'ha_spider.dll', 'aggregate'),"
|
||||||
" ('spider_ping_table', 2, 'ha_spider.dll', 'function'),"
|
" ('spider_ping_table', 2, 'ha_spider.dll', 'function'),"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user