static BAT * delta_full_bat( sql_column *c, sql_delta *bat, int temp) { if (!store_initialized && bat->cached) return bat->cached; return delta_full_bat_( c, bat, temp); }
BAT * delta_full_bat( sql_column *c, sql_delta *bat, int temp, BAT *d, BAT *s) { if (bat->cached && s) return BATsemijoin(bat->cached, s); if (bat->cached) return temp_descriptor(bat->cached->batCacheid); return delta_full_bat_( c, bat, temp, d, s); }