~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

Possible solution to longjump clobber problem.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 *
15
15
 * You should have received a copy of the GNU General Public License
16
16
 * along with this program; if not, write to the Free Software
17
 
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
17
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
18
 *
19
19
 * 2005-05-24   Paul McCullagh
20
20
 *
33
33
 
34
34
#ifdef DEBUG
35
35
//#define XT_USE_CACHE_DEBUG_SIZES
36
 
//#define CHECK_BLOCK_TRAILERS
37
36
#endif
38
37
 
39
38
#ifdef XT_USE_CACHE_DEBUG_SIZES
110
109
#else
111
110
        xtWord1                         cb_data[XT_INDEX_PAGE_SIZE];
112
111
#endif
113
 
#ifdef CHECK_BLOCK_TRAILERS
114
 
        xtWord1                         cp_check[4];
115
 
#endif
116
112
} XTIndBlockRec, *XTIndBlockPtr;
117
113
 
118
114
typedef struct XTIndReference {
177
173
XTIndHandlePtr  xt_ind_get_handle(struct XTOpenTable *ot, XTIndexPtr ind, XTIndReferencePtr iref);
178
174
void                    xt_ind_release_handle(XTIndHandlePtr handle, xtBool have_lock, XTThreadPtr thread);
179
175
 
180
 
#ifdef CHECK_BLOCK_TRAILERS
181
 
extern void check_block_trailers();
182
 
#endif
183
 
 
184
176
#ifdef DEBUG
185
177
//#define DEBUG_CHECK_IND_CACHE
186
178
#endif