Skip to content

Commit

Permalink
Fix compiler warning in embedded server
Browse files Browse the repository at this point in the history
  • Loading branch information
knielsen committed Jul 3, 2017
1 parent c36620d commit a4d9fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/item_func.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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;

Expand Down

0 comments on commit a4d9fa9

Please sign in to comment.