This commit is contained in:
2023-01-23 23:04:15 +08:00
parent 778703946d
commit cf8185c5f0
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ void TableInfo<Ts ...>::monetdb_append_table(void* srv, const char* alt_name) {
finialize:
for(uint32_t i = 0; i < cnt; ++i)
GC::gc_handle->reg(gc_vecs[i]);
;//GC::gc_handle->reg(gc_vecs[i]);
}
+1
View File
@@ -60,6 +60,7 @@ public:
if (GC::scratch_space != nullptr) {
[[likely]]
container = (_Ty*)GC::scratch_space->alloc(size * sizeof(_Ty));
this->capacity = 0;
}
else{
container = (_Ty*)malloc(size * sizeof(_Ty));