diff options
author | unknown <monty@mysql.com/narttu.mysql.fi> | 2008-01-11 19:39:43 +0200 |
---|---|---|
committer | unknown <monty@mysql.com/narttu.mysql.fi> | 2008-01-11 19:39:43 +0200 |
commit | e689fbc4582de1b5f81cb69d98f5fe54b7064db1 (patch) | |
tree | 77b755832a75628eaf9d6cea0f9ae271fd224c3a /include/myisam.h | |
parent | 7bfb3446a0ef838c06fb53566d543000c0b62d0e (diff) | |
download | mariadb-git-e689fbc4582de1b5f81cb69d98f5fe54b7064db1.tar.gz |
Fixed compiler warnings by adding casts and changing variable types
Fixed bug that caused change_user.test to fail
Fixed bug that caused mysql_client_test to fail
include/myisam.h:
Fixed prototypes
mysql-test/r/create.result:
Fix that test works even if Maria is not used for temporary tables
mysql-test/t/create.test:
Fix that test works even if Maria is not used for temporary tables
sql/mysqld.cc:
Fixed that default value of max_join_size is set correctly; It needs to match usage in set_var.cc
sql/set_var.cc:
Fixed test, now when max_join_size is initialized correctly
sql/sql_select.cc:
Fixed that one can compile without -DUSE_MARIA_FOR_TMP_TABLES
storage/maria/ma_blockrec.c:
Fixed compiler warnings by adding casts
storage/maria/ma_checkpoint.c:
Fixed compiler warnings by adding casts
storage/maria/ma_create.c:
Fixed compiler warnings by adding casts
storage/maria/ma_delete_table.c:
Fixed compiler warnings by adding casts
storage/maria/ma_loghandler.c:
Fixed compiler warnings by adding casts and changing types for variables
Changed translog_new_page_header to use changing integer instead of calling time() as time() is a slow call and will give same results when calling many times withing one second
storage/maria/ma_pagecrc.c:
Fixed compiler warnings by adding casts
storage/maria/ma_recovery.c:
Fixed indentation
storage/myisam/ha_myisam.cc:
Fixed wrong types for variables
Changed chk_data_link() and repair*() functions to take my_bool as argument
storage/myisam/mi_check.c:
Fixes to handle that param.test_flag is now ulonglong
storage/myisam/myisamchk.c:
Fixes to handle that param.test_flag is now ulonglong
support-files/compiler_warnings.supp:
Fixed line numbers
Diffstat (limited to 'include/myisam.h')
-rw-r--r-- | include/myisam.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/myisam.h b/include/myisam.h index 292a0015964..8452b25098a 100644 --- a/include/myisam.h +++ b/include/myisam.h @@ -372,10 +372,10 @@ typedef struct st_mi_sort_param /* functions in mi_check */ void myisamchk_init(HA_CHECK *param); int chk_status(HA_CHECK *param, MI_INFO *info); -int chk_del(HA_CHECK *param, register MI_INFO *info, uint test_flag); +int chk_del(HA_CHECK *param, register MI_INFO *info, ulonglong test_flag); int chk_size(HA_CHECK *param, MI_INFO *info); int chk_key(HA_CHECK *param, MI_INFO *info); -int chk_data_link(HA_CHECK *param, MI_INFO *info,int extend); +int chk_data_link(HA_CHECK *param, MI_INFO *info, my_bool extend); int mi_repair(HA_CHECK *param, register MI_INFO *info, char * name, int rep_quick); int mi_sort_index(HA_CHECK *param, register MI_INFO *info, char * name); |