~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbxt/src/systab_xt.cc

  • Committer: Brian Aker
  • Date: 2010-05-03 20:01:36 UTC
  • mfrom: (1516.1.2 staging)
  • Revision ID: brian@gaz-20100503200136-8cbqn0m5hztqb9h8
Merge Paul's latest PBXT (includes version 1.1)

Show diffs side-by-side

added added

removed removed

Lines of Context:
590
590
 
591
591
void XTSystemTableShare::createSystemTables(XTThreadPtr XT_UNUSED(self), XTDatabaseHPtr XT_UNUSED(db))
592
592
{
593
 
#ifdef PBXT_SYS_TAB
 
593
#ifndef DRIZZLED
594
594
        int             i = 0;
595
595
 
596
596
        while (xt_internal_tables[i].sts_path) {
597
 
#ifdef DRIZZLED
598
 
                // must ignore errors here
599
 
                drizzled::Session *session = current_thd;
600
 
                //session->main_da.disable_status();
601
 
#endif
602
597
                if (!xt_create_table_frm(pbxt_hton,
603
598
                        current_thd, "pbxt",
604
599
                        strchr(xt_internal_tables[i].sts_path, '.') + 1,
607
602
                        TRUE /*do not recreate*/))
608
603
                        xt_internal_tables[i].sts_exists = TRUE;
609
604
                i++;
610
 
#ifdef DRIZZLED
611
 
                session->main_da.reset_diagnostics_area();      
612
 
#endif
613
605
        }
614
606
#endif
615
607
}