mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix for compiler warnings on windows
Fix wrong cast of time() include/my_pthread.h: Safety fix that also removes compiler warnings sql/handler.h: Changed timestamp columns to be of type time_t storage/maria/ma_check.c: Removed wrong cast storage/maria/ma_create.c: Removed wrong cast storage/myisam/mi_check.c: Removed wrong cast storage/myisam/mi_create.c: Removed wrong cast storage/xtradb/handler/ha_innodb.cc: Removed compiler warning on windows
This commit is contained in:
@ -891,9 +891,9 @@ typedef struct {
|
||||
ulonglong delete_length;
|
||||
ha_rows records;
|
||||
ulong mean_rec_length;
|
||||
ulong create_time;
|
||||
ulong check_time;
|
||||
ulong update_time;
|
||||
time_t create_time;
|
||||
time_t check_time;
|
||||
time_t update_time;
|
||||
ulonglong check_sum;
|
||||
} PARTITION_INFO;
|
||||
|
||||
@ -1060,9 +1060,9 @@ public:
|
||||
ha_rows records;
|
||||
ha_rows deleted; /* Deleted records */
|
||||
ulong mean_rec_length; /* physical reclength */
|
||||
ulong create_time; /* When table was created */
|
||||
ulong check_time;
|
||||
ulong update_time;
|
||||
time_t create_time; /* When table was created */
|
||||
time_t check_time;
|
||||
time_t update_time;
|
||||
uint block_size; /* index block size */
|
||||
|
||||
ha_statistics():
|
||||
|
Reference in New Issue
Block a user