~vkolesnikov/pbxt/pbxt-15-operator-new

« back to all changes in this revision

Viewing changes to src/datadic_xt.cc

  • Committer: Paul McCullagh
  • Date: 2010-01-22 14:28:24 UTC
  • mfrom: (824.1.3 1.1-trunk)
  • Revision ID: paul.mccullagh@primebase.org-20100122142824-op8l5myhwttjdv54
Merged 1.1 trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1442
1442
                XTTableHPtr     tab;
1443
1443
 
1444
1444
                /* Find the table... */
1445
 
                pushsr_(tab, xt_heap_release, xt_use_table(self, (XTPathStrPtr) path, FALSE, TRUE, NULL));
 
1445
                pushsr_(tab, xt_heap_release, xt_use_table(self, (XTPathStrPtr) path, FALSE, TRUE));
1446
1446
 
1447
1447
                /* Clone the foreign key definitions: */
1448
1448
                if (tab) {
2636
2636
                        /* get pointer to the referenced table, load it if needed
2637
2637
                         * cyclic references are being handled, absent table is ignored
2638
2638
                         */
2639
 
                        tab = xt_use_table_no_lock(self, db, fk->fk_ref_tab_name, /*TRUE*/FALSE, /*FALSE*/TRUE, NULL, NULL);
 
2639
                        tab = xt_use_table_no_lock(self, db, fk->fk_ref_tab_name, /*TRUE*/FALSE, /*FALSE*/TRUE, NULL);
2640
2640
 
2641
2641
                        if (tab) {
2642
2642
                                pushr_(xt_heap_release, tab);
2737
2737
                // TODO: dont close table immediately so it can be possibly reused in this loop
2738
2738
                XTTable *ref_tab;
2739
2739
 
2740
 
                pushsr_(ref_tab, xt_heap_release, xt_use_table(self, fk->fk_ref_tab_name, FALSE, TRUE, NULL));
 
2740
                pushsr_(ref_tab, xt_heap_release, xt_use_table(self, fk->fk_ref_tab_name, FALSE, TRUE));
2741
2741
                if (ref_tab && !fk->checkReferencedTypes(ref_tab->tab_dic.dic_table))
2742
2742
                        throw_();
2743
2743
                freer_();