diff options
author | Michael Widenius <monty@askmonty.org> | 2012-08-13 22:23:28 +0300 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2012-08-13 22:23:28 +0300 |
commit | cee888acb36141136cdb121a7bb7d53200b14cb6 (patch) | |
tree | aff0fbc9585911eb70b4f7c1f8f8adc7a0a05019 /plugin | |
parent | 1aa6f042dab7a09dd86d96f934faa87df1c005c1 (diff) | |
download | mariadb-git-cee888acb36141136cdb121a7bb7d53200b14cb6.tar.gz |
Fixed compiler warnings (A few of these was bugs)
client/mysqldump.c:
Slave needs to be initialized with 0
dbug/dbug.c:
Removed not existing function
plugin/semisync/semisync_master.cc:
Fixed compiler warning
sql/opt_range.cc:
thd needs to be set early as it's used in some error conditions.
sql/sql_table.cc:
Changed to use uchar* to make array indexing portable
storage/innobase/handler/ha_innodb.cc:
Removed not used variable
storage/maria/ma_delete.c:
Fixed compiler warning
storage/maria/ma_write.c:
Fixed compiler warning
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/semisync/semisync_master.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/semisync/semisync_master.cc b/plugin/semisync/semisync_master.cc index 8573c4dcbde..d1b982468d2 100644 --- a/plugin/semisync/semisync_master.cc +++ b/plugin/semisync/semisync_master.cc @@ -1049,10 +1049,11 @@ int ReplSemiSyncMaster::readSlaveReply(NET *net, uint32 server_id, ulong log_file_len = 0; ulong packet_len; int result = -1; - struct timespec start_ts; ulong trc_level = trace_level_; + LINT_INIT_STRUCT(start_ts); + function_enter(kWho); assert((unsigned char)event_buf[1] == kPacketMagicNum); |