summaryrefslogtreecommitdiff
path: root/sql/sql_string.h
diff options
context:
space:
mode:
authorMarc Alff <marc.alff@sun.com>2008-08-11 16:44:13 -0600
committerMarc Alff <marc.alff@sun.com>2008-08-11 16:44:13 -0600
commit52fa3fddfebd1de5c68c53d75f428090a1f48e7d (patch)
tree7a10933aa27f945821757097c651e2de18b1c2aa /sql/sql_string.h
parentd8e44f24db04ed8e03079699455f54da61c10820 (diff)
parent00f22e76423bc7a0964f7f1a3851beec5cd1d54d (diff)
downloadmariadb-git-52fa3fddfebd1de5c68c53d75f428090a1f48e7d.tar.gz
Manual merge of mysql-5.0-bugteam -> mysql-5.1-bugteam
Note: NULL merge of sql/sql_yacc.yy, the fix for bug#38296 will be provided separately for 5.1
Diffstat (limited to 'sql/sql_string.h')
-rw-r--r--sql/sql_string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_string.h b/sql/sql_string.h
index b4d76a1779a..be11fea70dc 100644
--- a/sql/sql_string.h
+++ b/sql/sql_string.h
@@ -79,7 +79,7 @@ public:
Alloced_length=str.Alloced_length; alloced=0;
str_charset=str.str_charset;
}
- 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_arg,size_t size)
{ TRASH(ptr_arg, size); }