~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/iocache.h

  • Committer: Brian Aker
  • Date: 2010-06-01 21:54:27 UTC
  • mto: (1578.6.10 explain-drizzle)
  • mto: This revision was merged to the branch mainline in revision 1589.
  • Revision ID: brian@gir-2.local-20100601215427-1iy7drhhn9zeh2m2
Remove pthread mutex that is no longer used (since IO_CACHE is single
threaded it is not needed).

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
  */
72
72
  unsigned char  **current_pos, **current_end;
73
73
  /*
74
 
    The lock is for append buffer used in SEQ_READ_APPEND cache
75
 
    need mutex copying from append buffer to read buffer.
76
 
  */
77
 
  pthread_mutex_t append_buffer_lock;
78
 
  /*
79
74
    A caller will use my_b_read() macro to read from the cache
80
75
    if the data is already in cache, it will be simply copied with
81
76
    memcpy() and internal variables will be accordinging updated with