mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 18:20:07 +01:00
Fix compiler warning in embedded server
This commit is contained in:
parent
c36620ddc3
commit
a4d9fa99ea
1 changed files with 1 additions and 1 deletions
|
@ -3650,7 +3650,6 @@ longlong Item_master_gtid_wait::val_int()
|
|||
{
|
||||
DBUG_ASSERT(fixed == 1);
|
||||
longlong result= 0;
|
||||
String *gtid_pos = args[0]->val_str(&value);
|
||||
|
||||
if (args[0]->null_value)
|
||||
{
|
||||
|
@ -3660,6 +3659,7 @@ longlong Item_master_gtid_wait::val_int()
|
|||
|
||||
null_value=0;
|
||||
#ifdef HAVE_REPLICATION
|
||||
String *gtid_pos = args[0]->val_str(&value);
|
||||
THD* thd= current_thd;
|
||||
longlong timeout_us;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue