master
Bill 2 years ago
parent 778703946d
commit cf8185c5f0

@ -82,7 +82,7 @@ void TableInfo<Ts ...>::monetdb_append_table(void* srv, const char* alt_name) {
finialize: finialize:
for(uint32_t i = 0; i < cnt; ++i) for(uint32_t i = 0; i < cnt; ++i)
GC::gc_handle->reg(gc_vecs[i]); ;//GC::gc_handle->reg(gc_vecs[i]);
} }

@ -60,6 +60,7 @@ public:
if (GC::scratch_space != nullptr) { if (GC::scratch_space != nullptr) {
[[likely]] [[likely]]
container = (_Ty*)GC::scratch_space->alloc(size * sizeof(_Ty)); container = (_Ty*)GC::scratch_space->alloc(size * sizeof(_Ty));
this->capacity = 0;
} }
else{ else{
container = (_Ty*)malloc(size * sizeof(_Ty)); container = (_Ty*)malloc(size * sizeof(_Ty));

Loading…
Cancel
Save