diff options
author | Michael Widenius <monty@askmonty.org> | 2013-06-09 13:26:10 +0300 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2013-06-09 13:26:10 +0300 |
commit | 3bc814bedaaa44ee69e47f74a9ebc196e0f44bd7 (patch) | |
tree | 3badb3df88b316f64e1d0b5c8d0bc4bc95678753 /include/maria.h | |
parent | 5730786041237db73e330ca388c98561ade8c43c (diff) | |
download | mariadb-git-3bc814bedaaa44ee69e47f74a9ebc196e0f44bd7.tar.gz |
- Added -Wno-uninitialized to avoid warnings in release builds
(uninitalized variables are detected by DBUG builds)
- Fixed wrong declaration which cased compile failure on 32 bit
cmake/build_configurations/mysql_release.cmake:
Added -Wno-uninitialized to avoid warnings in release builds
(uninitalized variables are detected by DBUG builds)
include/maria.h:
Fixed wrong declaration which cased compile failure on 32 bit
include/myisam.h:
Fixed wrong declaration which cased compile failure on 32 bit
Diffstat (limited to 'include/maria.h')
-rw-r--r-- | include/maria.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/maria.h b/include/maria.h index cb2f92e8a35..aba5d508070 100644 --- a/include/maria.h +++ b/include/maria.h @@ -387,7 +387,7 @@ void maria_disable_non_unique_index(MARIA_HA *info, ha_rows rows); my_bool maria_test_if_sort_rep(MARIA_HA *info, ha_rows rows, ulonglong key_map, my_bool force); -int maria_init_bulk_insert(MARIA_HA *info, ulong cache_size, ha_rows rows); +int maria_init_bulk_insert(MARIA_HA *info, size_t cache_size, ha_rows rows); void maria_flush_bulk_insert(MARIA_HA *info, uint inx); void maria_end_bulk_insert(MARIA_HA *info); int maria_preload(MARIA_HA *info, ulonglong key_map, my_bool ignore_leaves); |