summaryrefslogtreecommitdiff
path: root/sql/sql_list.h
diff options
context:
space:
mode:
authorunknown <sergefp@mysql.com>2007-03-29 10:35:28 +0400
committerunknown <sergefp@mysql.com>2007-03-29 10:35:28 +0400
commitbedd5b8766a680539f11ee3f437e4ee1d75b8a87 (patch)
tree85dd8c6e2be153b923a960c908402c1bd6c4d5a4 /sql/sql_list.h
parentec3de56263e748603b954e29ca35bacb3e386176 (diff)
parent9b358f811b046ce5e188235d7e3d60424d5579e7 (diff)
downloadmariadb-git-bedd5b8766a680539f11ee3f437e4ee1d75b8a87.tar.gz
Merge of BUG#26624 and BUG#26625
mysql-test/r/range.result: Auto merged mysql-test/t/range.test: Auto merged
Diffstat (limited to 'sql/sql_list.h')
-rw-r--r--sql/sql_list.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_list.h b/sql/sql_list.h
index d00a4598af5..7913acfd086 100644
--- a/sql/sql_list.h
+++ b/sql/sql_list.h
@@ -23,7 +23,7 @@
class Sql_alloc
{
public:
- static void *operator new(size_t size)
+ static void *operator new(size_t size) throw ()
{
return (void*) sql_alloc((uint) size);
}
@@ -31,9 +31,9 @@ public:
{
return (void*) sql_alloc((uint) size);
}
- static void *operator new[](size_t size, MEM_ROOT *mem_root)
+ static void *operator new[](size_t size, MEM_ROOT *mem_root) throw ()
{ return (void*) alloc_root(mem_root, (uint) size); }
- static void *operator new(size_t size, MEM_ROOT *mem_root)
+ static void *operator new(size_t size, MEM_ROOT *mem_root) throw ()
{ return (void*) alloc_root(mem_root, (uint) size); }
static void operator delete(void *ptr, size_t size) { TRASH(ptr, size); }
static void operator delete(void *ptr, MEM_ROOT *mem_root)