List:Commits« Previous MessageNext Message »
From:V Narayanan Date:January 13 2009 9:52am
Subject:bzr commit into mysql-6.0-bugteam branch (v.narayanan:2962) Bug#40092
View as plain text  
#At file:///home/narayanan/Work/mysql/W-M/mysql-6.0-bugteam-40092-1/

 2962 V Narayanan	2009-01-13
      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.
modified:
  sql/handler.h

per-file messages:
  sql/handler.h
    Changed create_time, check_time, update_time in the
    ha_statistics and PARTITION_INFO structures to ulong.
=== modified file 'sql/handler.h'
--- a/sql/handler.h	2008-12-31 13:49:36 +0000
+++ b/sql/handler.h	2009-01-13 09:52:16 +0000
@@ -999,9 +999,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;
 
@@ -1335,9 +1335,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 */
   
   /*

Thread
bzr commit into mysql-6.0-bugteam branch (v.narayanan:2962) Bug#40092V Narayanan13 Jan