~vkolesnikov/pbxt/pbxt-disabled-mmap

« back to all changes in this revision

Viewing changes to src/database_xt.cc

  • Committer: Paul McCullagh
  • Date: 2009-03-24 13:48:19 UTC
  • Revision ID: paul.mccullagh@primebase.org-20090324134819-kgf8b1d1qe56v44p
Make sure table initialization in ha_pbxt is only done when the table is actually openned

Show diffs side-by-side

added added

removed removed

Lines of Context:
875
875
        XTTableHPtr                     tab;
876
876
        xtTableID                       tab_id;
877
877
 
878
 
        pushsr_(tab, xt_heap_release, xt_use_table(self, tab_name, no_load, missing_ok));
 
878
        pushsr_(tab, xt_heap_release, xt_use_table(self, tab_name, no_load, missing_ok, NULL));
879
879
        if (!tab) {
880
880
                freer_(); // xt_heap_release(tab)
881
881
                return NULL;