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 /storage/maria/ma_write.c | |
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 'storage/maria/ma_write.c')
-rw-r--r-- | storage/maria/ma_write.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/maria/ma_write.c b/storage/maria/ma_write.c index 74c1a106df2..f1649083105 100644 --- a/storage/maria/ma_write.c +++ b/storage/maria/ma_write.c @@ -478,6 +478,8 @@ static my_bool _ma_ck_write_btree_with_log(MARIA_HA *info, MARIA_KEY *key, my_bool transactional= share->now_transactional; DBUG_ENTER("_ma_ck_write_btree_with_log"); + LINT_INIT_STRUCT(org_key); + if (transactional) { /* Save original value as the key may change */ |