[Firebird-devel] MET_scan_relation()

2014-05-09 Thread Dimitry Sibiryakov
Hello, All. What following asserts are supposed to check? My debug build is falling into them every time I try to check (almost fresh) database. switch (REL.RDB$RELATION_TYPE) { case rel_persistent: break; case rel_external:

Re: [Firebird-devel] MET_scan_relation()

2014-05-09 Thread Dmitry Yemanov
09.05.2014 18:13, Dimitry Sibiryakov wrote: What following asserts are supposed to check? That the relation type is assigned properly and, additionally, that the proper flags are already set by the prior MET_lookup_* calls. My debug build is falling into them every time I try to check

Re: [Firebird-devel] MET_scan_relation()

2014-05-09 Thread Dimitry Sibiryakov
09.05.2014 19:37, Dmitry Yemanov wrote: What is check database? Validate with gfix? Yes, gfix -full case rel_global_temp_delete: fb_assert(relation-rel_flags REL_temp_tran); What exactly asserts do you see fired? This one. I just run isql -i oltp_ddl.sql and then