#At
file:///export/home/log/Narayanan/mysql_checkouts_bazaar/5.1_main_repository/mysql-5.1-bugteam-40092-39802/
based on revid:satya.bn@stripped
2880 Narayanan V 2009-04-30
Bug#39802 On Windows, 32-bit time_t should be enforced
Bug#40092 Storage engine API uses time_t datatype
Change the usage of time_t in the storage
engine API to datatypes with known size
@ sql/handler.h
Bug#39802 On Windows, 32-bit time_t should be enforced
Bug#40092 Storage engine API uses time_t datatype
Changed create_time, check_time, update_time in the
ha_statistics and PARTITION_INFO structures to ulong.
modified:
sql/handler.h
=== modified file 'sql/handler.h'
--- a/sql/handler.h 2008-12-10 20:14:50 +0000
+++ b/sql/handler.h 2009-04-30 12:34:20 +0000
@@ -876,9 +876,9 @@ typedef struct {
ulonglong delete_length;
ha_rows records;
ulong mean_rec_length;
- time_t create_time;
- time_t check_time;
- time_t update_time;
+ ulong create_time;
+ ulong check_time;
+ ulong update_time;
ulonglong check_sum;
} PARTITION_INFO;
@@ -1037,9 +1037,9 @@ public:
ha_rows records;
ha_rows deleted; /* Deleted records */
ulong mean_rec_length; /* physical reclength */
- time_t create_time; /* When table was created */
- time_t check_time;
- time_t update_time;
+ ulong create_time; /* When table was created */
+ ulong check_time;
+ ulong update_time;
uint block_size; /* index block size */
ha_statistics():
Attachment: [text/bzr-bundle] bzr/v.narayanan@sun.com-20090430123420-n0qh3hfisljy9cur.bundle