~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/ha_statistics.h

  • Committer: Jay Pipes
  • Date: 2009-02-21 16:00:06 UTC
  • mto: (907.1.1 trunk-with-temporal)
  • mto: This revision was merged to the branch mainline in revision 908.
  • Revision ID: jpipes@serialcoder-20090221160006-vnk3wt4qbcz62eru
Removes the TIME column type and related time functions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef DRIZZLED_HA_STATISTICS_H
21
21
#define DRIZZLED_HA_STATISTICS_H
22
22
 
 
23
#include <stdint.h>
23
24
#include <drizzled/definitions.h>
24
25
#include <time.h>
25
26
 
26
 
namespace drizzled
27
 
{
28
 
 
29
27
class ha_statistics
30
28
{
31
29
public:
46
44
  ha_rows records;
47
45
  ha_rows deleted;                      /* Deleted records */
48
46
  uint32_t mean_rec_length;             /* physical reclength */
49
 
  uint32_t block_size;                  /* index block size */
50
47
  time_t create_time;                   /* When table was created */
51
48
  time_t check_time;
52
49
  time_t update_time;
 
50
  uint32_t block_size;                  /* index block size */
53
51
 
54
52
  ha_statistics():
55
53
    data_file_length(0), max_data_file_length(0),
56
54
    index_file_length(0), delete_length(0), auto_increment_value(0),
57
 
    records(0), deleted(0), mean_rec_length(0), block_size(0),
58
 
    create_time(0), check_time(0), update_time(0)
 
55
    records(0), deleted(0), mean_rec_length(0), create_time(0),
 
56
    check_time(0), update_time(0), block_size(0)
59
57
  {}
60
58
};
61
59
 
62
 
} /* namespace drizzled */
63
 
 
64
60
#endif /* DRIZZLED_HA_STATISTICS_H */