34
34
class DRIZZLED_API SqlAlloc
37
static void *operator new(size_t size)
39
return memory::sql_alloc(size);
42
static void *operator new[](size_t size)
44
return memory::sql_alloc(size);
47
static void *operator new[](size_t size, Root& root)
49
return root.alloc(size);
52
static void *operator new(size_t size, Root& root)
54
return root.alloc(size);
57
static void *operator new[](size_t size, Root* root)
59
return root->alloc(size);
62
static void *operator new(size_t size, Root* root)
64
return root->alloc(size);
67
static void operator delete(void*, size_t)
37
static void* operator new(size_t size)
39
return memory::sql_alloc(size);
42
static void* operator new[](size_t size)
44
return memory::sql_alloc(size);
47
static void* operator new(size_t size, Root& root)
49
return root.alloc(size);
52
static void* operator new[](size_t size, Root& root)
54
return root.alloc(size);
57
static void* operator new(size_t size, Root* root)
59
return root->alloc(size);
62
static void* operator new[](size_t size, Root* root)
64
return root->alloc(size);
67
static void operator delete(void*)
71
static void operator delete[](void*)
75
static void operator delete(void*, Root&)
79
static void operator delete[](void*, Root&)
69
83
static void operator delete(void*, Root*)
71
87
static void operator delete[](void*, Root*)
73
static void operator delete[](void*, size_t)