bug fix on select into

This commit is contained in:
2022-09-21 17:23:50 +08:00
parent 48beab441d
commit 34a9fe105c
12 changed files with 305 additions and 111 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
example:
g++-9 -shared -fPIC example.cpp aquery_mem.cpp -fno-semantic-interposition -Ofast -march=native -flto --std=c++1z -o ../test.so
$(CXX) -shared -fPIC example.cpp aquery_mem.cpp -fno-semantic-interposition -Ofast -march=native -flto --std=c++1z -o ../test.so
all: example
+2 -2
View File
@@ -75,7 +75,7 @@ extern void register_memory(void* ptr, deallocator_t deallocator);
__AQEXPORT__(void) init_session(Context* cxt);
#define __AQ_NO_SESSION__ __AQEXPORT__(void) init_session(Context*) {}
void* memcpy(void*, void*, unsigned long long);
void* memcpy(void*, const void*, unsigned long long);
struct ColRef_storage {
void* container;
unsigned int capacity, size;
@@ -86,4 +86,4 @@ struct ColRef_storage {
memcpy(this, &vt, sizeof(ColRef_storage));
}
};
#endif
#endif