~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/archive/azio.cc

  • Committer: Andrew Hutchings
  • Date: 2010-11-14 14:46:36 UTC
  • mto: (1931.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1932.
  • Revision ID: andrew@linuxjedi.co.uk-20101114144636-bkttapbfpp20ccd2
Fix broken Global Status test
Fix some stats not reset
Cleanup code a little

Note: local session stats are not reset, they will be added to the global stats after flush if any query is executed on those sessions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
  size_t offset;
53
53
  azio_stream *s= (azio_stream *)p;
54
54
 
 
55
  internal::my_thread_init();
 
56
 
55
57
  while (1)
56
58
  {
57
59
    pthread_mutex_lock(&s->container.thresh_mutex);
75
77
    pthread_mutex_unlock(&s->container.thresh_mutex);
76
78
  }
77
79
 
 
80
  internal::my_thread_end();
 
81
 
78
82
  return 0;
79
83
}
80
84