summaryrefslogtreecommitdiff
path: root/sql/sql_list.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2002-12-08 03:19:03 +0200
committerunknown <bell@sanja.is.com.ua>2002-12-08 03:19:03 +0200
commit230f5f3b0f65f0c02c49ed6456450f31caa779ea (patch)
treea0a02646c1b32d0f0ec4d86a3682e17b768a9e71 /sql/sql_list.h
parent5b54427d7d879a47893885dbfa0466b4bd69aaf1 (diff)
downloadmariadb-git-230f5f3b0f65f0c02c49ed6456450f31caa779ea.tar.gz
optimized IN with Rows (SCRUM)
NULL with row (IN) cardinality error of row inside row new[] fixed layout mysql-test/r/row.result: test of optimized IN with Rows test of NULL with row test of cardinality error of row inside row mysql-test/t/row.test: test of optimized IN with Rows test of NULL with row test of cardinality error of row inside row sql/item_cmpfunc.cc: optimized IN with Rows NULL with row (IN) cardinality error of row inside row sql/item_cmpfunc.h: optimized IN with Rows NULL with row (IN) cardinality error of row inside row fixed layout sql/sql_list.h: fixed layout new[]
Diffstat (limited to 'sql/sql_list.h')
-rw-r--r--sql/sql_list.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sql/sql_list.h b/sql/sql_list.h
index 56e6528f214..1711a340cae 100644
--- a/sql/sql_list.h
+++ b/sql/sql_list.h
@@ -25,8 +25,16 @@
class Sql_alloc
{
public:
- static void *operator new(size_t size) {return (void*) sql_alloc((uint) size); }
+ static void *operator new(size_t size)
+ {
+ return (void*) sql_alloc((uint) size);
+ }
+ static void *operator new[](size_t size)
+ {
+ return (void*) sql_alloc((uint) size);
+ }
static void operator delete(void *ptr, size_t size) {} /*lint -e715 */
+ static void operator delete[](void *ptr, size_t size) {}
#ifdef HAVE_purify
bool dummy;
inline Sql_alloc() :dummy(0) {}