~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/archive/archive_test.cc

Merge Stewart's dead code removal

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   along with this program; if not, write to the Free Software
14
14
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
15
15
 
16
 
#include "config.h"
 
16
#include "drizzled/global.h"
17
17
#include "azio.h"
18
18
#include <string.h>
19
19
#include <assert.h>
20
20
#include <stdio.h>
21
21
#include <string.h>
22
 
#include <fcntl.h>
23
 
#include <unistd.h>
24
 
#include <cstdlib>
25
 
#include "drizzled/option.h"
 
22
#include <mysys/my_getopt.h>
26
23
 
27
24
#if TIME_WITH_SYS_TIME
28
25
# include <sys/time.h>
62
59
  if (argc > 2)
63
60
    return 0;
64
61
 
65
 
  drizzled::internal::my_init();
 
62
  my_init();
 
63
 
66
64
  MY_INIT(argv[0]);
67
65
 
68
66
  for (method= AZ_METHOD_BLOCK; method < AZ_METHOD_MAX; method++)
99
97
    }
100
98
  }
101
99
 
102
 
  drizzled::internal::my_end();
 
100
  my_end(0);
103
101
 
104
102
  return 0;
105
103
}