summaryrefslogtreecommitdiff
path: root/sql/sql_list.h
diff options
context:
space:
mode:
authorsergefp@pylon.mylan <>2007-03-29 12:24:23 +0400
committersergefp@pylon.mylan <>2007-03-29 12:24:23 +0400
commit87d98bec74b54c44e24a9b89fa0296b967c6a8d5 (patch)
tree899f2fd8517100118e0727eb54ee00cb8ac31524 /sql/sql_list.h
parent101857299a01f4bf854ff3c6a0241390dba7d250 (diff)
parent399bc9861ecdebee886b854cdb11037a6e039a6f (diff)
downloadmariadb-git-87d98bec74b54c44e24a9b89fa0296b967c6a8d5.tar.gz
Merge mysql.com:/home/psergey/mysql-5.0-merge
into mysql.com:/home/psergey/mysql-5.1-merge
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 af30cbe0d6a..ba61a931e04 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)