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
commit385b4bf7ffc61246ec10cf893e0b905c858af7f5 (patch)
tree7a10933aa27f945821757097c651e2de18b1c2aa /sql/sql_string.h
parentcf43a69a399f596b112d4898db8fbc6b5062dcbd (diff)
parente087c05d3d7d0acd26b23b95a5cdf930d20d251d (diff)
downloadmariadb-git-385b4bf7ffc61246ec10cf893e0b905c858af7f5.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); }