~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/archive/ha_archive.cc

  • Committer: Monty Taylor
  • Date: 2010-10-30 01:19:00 UTC
  • mto: (1892.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1893.
  • Revision ID: mordred@inaugust.com-20101030011900-2tdt8w9vt7a6pbk0
Fixed things to make things compile with clang

Show diffs side-by-side

added added

removed removed

Lines of Context:
385
385
  {
386
386
    az_method method;
387
387
 
388
 
    switch (archive_aio_state())
 
388
    if (archive_aio_state())
389
389
    {
390
 
    case false:
391
 
      method= AZ_METHOD_BLOCK;
392
 
      break;
393
 
    case true:
394
390
      method= AZ_METHOD_AIO;
395
 
      break;
396
 
    default:
 
391
    }
 
392
    else
 
393
    {
397
394
      method= AZ_METHOD_BLOCK;
398
395
    }
399
396
    if (!(azopen(&archive, share->data_file_name.c_str(), O_RDONLY,