@@ -2350,6 +2350,7 @@ ignore_server_id:
2350
2350
{
2351
2351
insert_dynamic (&Lex->mi.repl_ignore_server_ids, (uchar*) &($1 ));
2352
2352
}
2353
+ ;
2353
2354
2354
2355
do_domain_id_list:
2355
2356
/* Empty */
@@ -2362,6 +2363,7 @@ do_domain_id:
2362
2363
{
2363
2364
insert_dynamic (&Lex->mi.repl_do_domain_ids, (uchar*) &($1 ));
2364
2365
}
2366
+ ;
2365
2367
2366
2368
ignore_domain_id_list:
2367
2369
/* Empty */
@@ -2374,6 +2376,7 @@ ignore_domain_id:
2374
2376
{
2375
2377
insert_dynamic (&Lex->mi.repl_ignore_domain_ids, (uchar*) &($1 ));
2376
2378
}
2379
+ ;
2377
2380
2378
2381
master_file_def:
2379
2382
MASTER_LOG_FILE_SYM EQ TEXT_STRING_sys
@@ -2382,7 +2385,6 @@ master_file_def:
2382
2385
}
2383
2386
| MASTER_LOG_POS_SYM EQ ulonglong_num
2384
2387
{
2385
- Lex->mi.pos = $3 ;
2386
2388
/*
2387
2389
If the user specified a value < BIN_LOG_HEADER_SIZE, adjust it
2388
2390
instead of causing subsequent errors.
@@ -2394,7 +2396,7 @@ master_file_def:
2394
2396
from 0" (4 in fact), unspecified means "don't change the position
2395
2397
(keep the preceding value)").
2396
2398
*/
2397
- Lex->mi.pos= MY_MAX(BIN_LOG_HEADER_SIZE, Lex->mi.pos );
2399
+ Lex->mi.pos= MY_MAX(BIN_LOG_HEADER_SIZE, $3 );
2398
2400
}
2399
2401
| RELAY_LOG_FILE_SYM EQ TEXT_STRING_sys
2400
2402
{
@@ -2415,7 +2417,6 @@ master_file_def:
2415
2417
}
2416
2418
Lex->mi.use_gtid_opt= LEX_MASTER_INFO::LEX_GTID_CURRENT_POS;
2417
2419
}
2418
- ;
2419
2420
| MASTER_USE_GTID_SYM EQ SLAVE_POS_SYM
2420
2421
{
2421
2422
if (Lex->mi.use_gtid_opt != LEX_MASTER_INFO::LEX_GTID_UNCHANGED)
@@ -2425,7 +2426,6 @@ master_file_def:
2425
2426
}
2426
2427
Lex->mi.use_gtid_opt= LEX_MASTER_INFO::LEX_GTID_SLAVE_POS;
2427
2428
}
2428
- ;
2429
2429
| MASTER_USE_GTID_SYM EQ NO_SYM
2430
2430
{
2431
2431
if (Lex->mi.use_gtid_opt != LEX_MASTER_INFO::LEX_GTID_UNCHANGED)
@@ -2443,7 +2443,7 @@ optional_connection_name:
2443
2443
LEX *lex= thd->lex;
2444
2444
lex->mi.connection_name= null_lex_str;
2445
2445
}
2446
- | connection_name;
2446
+ | connection_name
2447
2447
;
2448
2448
2449
2449
connection_name:
@@ -2458,6 +2458,7 @@ connection_name:
2458
2458
}
2459
2459
#endif
2460
2460
}
2461
+ ;
2461
2462
2462
2463
/* create a table */
2463
2464
0 commit comments