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

« back to all changes in this revision

Viewing changes to src/cache_xt.cc

  • Committer: Paul McCullagh
  • Date: 2010-08-31 10:14:41 UTC
  • Revision ID: paul.mccullagh@primebase.org-20100831101441-n70xdvzuzba88z4m
xt_ind_read_bytes is called without an associated index, use NULL

Show diffs side-by-side

added added

removed removed

Lines of Context:
1299
1299
         * Conditionally count the number of deleted entries in the index:
1300
1300
         * We do this before other threads can read the block.
1301
1301
         */
1302
 
        if (ind->mi_lazy_delete && read_data)
 
1302
        if (ind && ind->mi_lazy_delete && read_data)
1303
1303
                xt_ind_count_deleted_items(ot->ot_table, ind, block);
1304
1304
 
1305
1305
        /* Add to the hash table: */