~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/archive/archive_reader.c

  • Committer: Stewart Smith
  • Date: 2008-07-09 01:40:54 UTC
  • mfrom: (105 drizzle)
  • mto: This revision was merged to the branch mainline in revision 111.
  • Revision ID: stewart@flamingspork.com-20080709014054-xfgfzirbhqzrzkkj
mergeĀ fromĀ mainline

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
static void usage(void);
19
19
static const char *opt_tmpdir;
20
20
static const char *new_auto_increment;
21
 
unsigned long long new_auto_increment_value;
 
21
uint64_t new_auto_increment_value;
22
22
static const char *load_default_groups[]= { "archive_reader", 0 };
23
23
static char **default_argv;
24
24
int opt_check, opt_force, opt_quiet, opt_backup= 0, opt_extract_frm;
79
79
  if (reader_handle.version > 2)
80
80
  {
81
81
    printf("\tMinor version %u\n", reader_handle.minor_version);
82
 
    printf("\tStart position %lu\n", (unsigned long long)reader_handle.start);
 
82
    printf("\tStart position %lu\n", (uint64_t)reader_handle.start);
83
83
    printf("\tBlock size %u\n", reader_handle.block_size);
84
84
    printf("\tRows %lu\n", reader_handle.rows);
85
85
    printf("\tAutoincrement %lu\n", reader_handle.auto_increment);
114
114
  {
115
115
    int error;
116
116
    unsigned int read;
117
 
    unsigned long long row_count= 0;
 
117
    uint64_t row_count= 0;
118
118
 
119
119
    while ((read= azread_row(&reader_handle, &error)))
120
120
    {
140
140
  {
141
141
    int error;
142
142
    unsigned int read;
143
 
    unsigned long long row_count= 0;
 
143
    uint64_t row_count= 0;
144
144
    char *buffer;
145
145
 
146
146
    azio_stream writer_handle;