~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/myisam_priv.h

  • Committer: Brian Aker
  • Date: 2010-08-12 17:21:13 UTC
  • mfrom: (1689.5.5 remove_pthread_calls)
  • Revision ID: brian@tangent.org-20100812172113-i0ox868kcbzjim2h
Merge in removal of pthread dead wrappers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
   You should have received a copy of the GNU General Public License
13
13
   along with this program; if not, write to the Free Software
14
 
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
 
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
16
/* This file is included by all internal myisam files */
17
17
 
31
31
#include <string.h>
32
32
#include <list>
33
33
 
34
 
#include <boost/thread/mutex.hpp>
35
 
 
36
34
#if defined(my_write)
37
35
#undef my_write                         /* undef map from my_nosys; We need test-if-disk full */
38
36
#endif
212
210
  ulong this_process;                   /* processid */
213
211
  ulong last_process;                   /* For table-change-check */
214
212
  ulong last_version;                   /* Version on start */
215
 
  uint64_t options;                     /* Options used */
 
213
  ulong options;                        /* Options used */
216
214
  ulong min_pack_length;                /* Theese are used by packed data */
217
215
  ulong max_pack_length;
218
216
  ulong state_diff_length;
234
232
    not_flushed,
235
233
    temporary,delay_key_write,
236
234
    concurrent_insert;
 
235
  drizzled::THR_LOCK lock;
237
236
  drizzled::internal::my_off_t mmaped_length;
238
237
  uint32_t     nonmmaped_inserts;           /* counter of writing in non-mmaped
239
238
                                           area */
472
471
#define MI_UNIQUE_HASH_TYPE     HA_KEYTYPE_ULONG_INT
473
472
#define mi_unique_store(A,B)    mi_int4store((A),(B))
474
473
 
475
 
extern boost::mutex THR_LOCK_myisam;
 
474
extern pthread_mutex_t THR_LOCK_myisam;
476
475
 
477
476
        /* Some extern variables */
478
477