create table ... as ... union all/except ...

This commit is contained in:
2022-11-18 05:31:00 +08:00
parent 1673726a2d
commit 7f8c57735d
3 changed files with 53 additions and 31 deletions
+1 -1
View File
@@ -360,7 +360,7 @@ int dll_main(int argc, char** argv, Context* cxt){
if(!server->haserror()){
uint32_t limit;
memcpy(&limit, n_recvd[i] + 1, sizeof(uint32_t));
printf("Limit: %x\n", limit);
// printf("Limit: %x\n", limit);
if (limit == 0)
continue;
timer.reset();
+12
View File
@@ -77,6 +77,7 @@ public:
}
template<template <typename> class VT, typename T>
void initfrom(VT<T>&& v, const char* name = "") {
puts("rref");
ty = types::Types<_Ty>::getType();
this->size = v.size;
this->capacity = v.capacity;
@@ -85,7 +86,18 @@ public:
v.capacity = 0;
}
template<template <typename> class VT, typename T>
void initfrom(VT<T>& v, const char* name = "") {
puts("lref");
ty = types::Types<_Ty>::getType();
this->size = v.size;
this->capacity = 0;
this->container = (_Ty*)(v.container);
this->name = name;
v.capacity = 0;
}
template<template <typename> class VT, typename T>
void initfrom(const VT<T>& v, const char* name = "") {
puts("constlref");
ty = types::Types<_Ty>::getType();
this->size = v.size;
this->capacity = 0;