~vkolesnikov/pbxt/pbxt-bug-688404

« back to all changes in this revision

Viewing changes to src/datadic_xt.cc

  • Committer: Paul McCullagh
  • Date: 2010-09-03 13:12:42 UTC
  • Revision ID: paul.mccullagh@primebase.org-20100903131242-5qmpie7psxbdz39m
Fixed bug #523994: Deleting all records does not update table statistics

Show diffs side-by-side

added added

removed removed

Lines of Context:
2039
2039
        if (!(ot = xt_db_open_table_using_tab(tr_fkey->co_table->dt_table, self)))
2040
2040
                xt_throw(self);
2041
2041
 
2042
 
        /* {FREE-ROWS-BAD} */
2043
 
        /*
2044
 
        row_count = ((xtInt8) ot->ot_table->tab_row_eof_id) - 1;
2045
 
        row_count -= (xtInt8) ot->ot_table->tab_row_fnum;
2046
 
        */
2047
2042
        /* Check if there are any rows in the referencing table: */
2048
2043
        if (!xt_tab_seq_init(ot))
2049
2044
                goto failed;