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
commit7f228cf20ea057a5d677d3546c6b29742db386a7 (patch)
tree7a10933aa27f945821757097c651e2de18b1c2aa /sql/sql_string.h
parentb0d5c8a10bf9f165affe89d8d593888e12b694f5 (diff)
parent2f3b860305a88e7e44ed68c5ed3a0f1837921cb0 (diff)
downloadmariadb-git-7f228cf20ea057a5d677d3546c6b29742db386a7.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); }