~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbxt/src/cache_xt.h

  • Committer: lbieber
  • Date: 2010-09-22 13:48:54 UTC
  • mfrom: (1784.1.3 build)
  • Revision ID: lbieber@orisndriz08-20100922134854-y7mae2taqhn73vsx
Merge Paul M. - latest changes from PBXT 1.0.11-7
Merge Paul M. - fix bug 641038 - pbxt rollback not working (tables reported as non-transactional)
Merge Andrew - fix show stoppers for new drizzledump

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
#ifdef DEBUG
35
35
//#define XT_USE_CACHE_DEBUG_SIZES
 
36
//#define CHECK_BLOCK_TRAILERS
36
37
#endif
37
38
 
38
39
#ifdef XT_USE_CACHE_DEBUG_SIZES
109
110
#else
110
111
        xtWord1                         cb_data[XT_INDEX_PAGE_SIZE];
111
112
#endif
 
113
#ifdef CHECK_BLOCK_TRAILERS
 
114
        xtWord1                         cp_check[4];
 
115
#endif
112
116
} XTIndBlockRec, *XTIndBlockPtr;
113
117
 
114
118
typedef struct XTIndReference {
173
177
XTIndHandlePtr  xt_ind_get_handle(struct XTOpenTable *ot, XTIndexPtr ind, XTIndReferencePtr iref);
174
178
void                    xt_ind_release_handle(XTIndHandlePtr handle, xtBool have_lock, XTThreadPtr thread);
175
179
 
 
180
#ifdef CHECK_BLOCK_TRAILERS
 
181
extern void check_block_trailers();
 
182
#endif
 
183
 
176
184
#ifdef DEBUG
177
185
//#define DEBUG_CHECK_IND_CACHE
178
186
#endif