diff --git a/sql/log.cc b/sql/log.cc index fb42b42e0cb..36ddd6f2eb4 100644 --- a/sql/log.cc +++ b/sql/log.cc @@ -6591,8 +6591,8 @@ mysql_bin_log_commit_pos(THD *thd, ulonglong *out_pos, const char **out_file) } else { - *out_pos= NULL; *out_file= NULL; + *out_pos= 0; } } #endif /* INNODB_COMPATIBILITY_HOOKS */