~vkolesnikov/pbxt/pbxt-maria-windows-app-ver-fixes

« back to all changes in this revision

Viewing changes to src/datadic_xt.cc

  • Committer: Paul McCullagh
  • Date: 2010-01-22 14:02:16 UTC
  • Revision ID: paul.mccullagh@primebase.org-20100122140216-5d03mjtcovhwewjx
Removed opened parameter which is no longer required

Show diffs side-by-side

added added

removed removed

Lines of Context:
1437
1437
                XTTableHPtr     tab;
1438
1438
 
1439
1439
                /* Find the table... */
1440
 
                pushsr_(tab, xt_heap_release, xt_use_table(self, (XTPathStrPtr) path, FALSE, TRUE, NULL));
 
1440
                pushsr_(tab, xt_heap_release, xt_use_table(self, (XTPathStrPtr) path, FALSE, TRUE));
1441
1441
 
1442
1442
                /* Clone the foreign key definitions: */
1443
1443
                if (tab && tab->tab_dic.dic_table) {
2626
2626
                        /* get pointer to the referenced table, load it if needed
2627
2627
                         * cyclic references are being handled, absent table is ignored
2628
2628
                         */
2629
 
                        tab = xt_use_table_no_lock(self, db, fk->fk_ref_tab_name, /*TRUE*/FALSE, /*FALSE*/TRUE, NULL, NULL);
 
2629
                        tab = xt_use_table_no_lock(self, db, fk->fk_ref_tab_name, /*TRUE*/FALSE, /*FALSE*/TRUE, NULL);
2630
2630
 
2631
2631
                        if (tab) {
2632
2632
                                pushr_(xt_heap_release, tab);
2727
2727
                // TODO: dont close table immediately so it can be possibly reused in this loop
2728
2728
                XTTable *ref_tab;
2729
2729
 
2730
 
                pushsr_(ref_tab, xt_heap_release, xt_use_table(self, fk->fk_ref_tab_name, FALSE, TRUE, NULL));
 
2730
                pushsr_(ref_tab, xt_heap_release, xt_use_table(self, fk->fk_ref_tab_name, FALSE, TRUE));
2731
2731
                if (ref_tab && !fk->checkReferencedTypes(ref_tab->tab_dic.dic_table))
2732
2732
                        throw_();
2733
2733
                freer_();