~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/archive/archive_performance.c

  • Committer: Eric Herman
  • Date: 2008-12-06 19:42:46 UTC
  • mto: (656.1.6 devel)
  • mto: This revision was merged to the branch mainline in revision 665.
  • Revision ID: eric@mysql.com-20081206194246-5cdexuu81i366eek
removed trailing whitespace with simple script:

for file in $(find . -name "*.c") $(find . -name "*.cc") $(find . -name "*.h"); do ruby -pe 'gsub(/\s+$/, $/)' < $file > $file.out; mv $file.out $file; done;

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
# else
31
31
#  include <time.h>
32
32
# endif
33
 
#endif  
 
33
#endif
34
34
 
35
35
 
36
36
#define TEST_FILENAME "performance_test.az"
128
128
      azflush(&writer_handle,  Z_SYNC_FLUSH);
129
129
    }
130
130
  }
131
 
  /* 
132
 
    We put the flush in just to be honest with write speed, normally azclose 
 
131
  /*
 
132
    We put the flush in just to be honest with write speed, normally azclose
133
133
    would be fine.
134
134
  */
135
135
  azflush(&writer_handle,  Z_SYNC_FLUSH);
176
176
long int timedif(struct timeval a, struct timeval b)
177
177
{
178
178
    register int us, s;
179
 
 
 
179
 
180
180
    us = a.tv_usec - b.tv_usec;
181
181
    us /= 1000;
182
182
    s = a.tv_sec - b.tv_sec;