~vkolesnikov/pbxt/pbxt-bug-688404

« back to all changes in this revision

Viewing changes to src/xt_defs.h

  • Committer: Paul McCullagh
  • Date: 2010-09-03 13:12:42 UTC
  • Revision ID: paul.mccullagh@primebase.org-20100903131242-5qmpie7psxbdz39m
Fixed bug #523994: Deleting all records does not update table statistics

Show diffs side-by-side

added added

removed removed

Lines of Context:
397
397
 */
398
398
#define XT_XLOG_FLUSH_FREQ                              1000
399
399
 
 
400
/*
 
401
 * Define here if you want to check (and correct) the table free list
 
402
 * counts. The free list counts are not durable, because they are not
 
403
 * written to the log.
 
404
 *
 
405
 * The row free count is most critical because it can be used to
 
406
 * estimate the the of rows in the record.
 
407
 */
 
408
#define XT_CHECK_ROW_FREE_COUNT
 
409
#ifdef DEBUG
 
410
#define XT_CHECK_RECORD_FREE_COUNT
 
411
#endif
 
412
#define XT_CORRECT_TABLE_FREE_COUNT 
 
413
 
 
414
#if defined(XT_CHECK_ROW_FREE_COUNT) && defined(XT_CORRECT_TABLE_FREE_COUNT)
 
415
#define XT_ROW_COUNT_CORRECTED
 
416
#endif
 
417
 
400
418
/* ----------------------------------------------------------------------
401
419
 * GLOBAL CONSTANTS
402
420
 */