diff options
author | Marc Alff <marc.alff@sun.com> | 2008-08-11 16:44:13 -0600 |
---|---|---|
committer | Marc Alff <marc.alff@sun.com> | 2008-08-11 16:44:13 -0600 |
commit | 7f228cf20ea057a5d677d3546c6b29742db386a7 (patch) | |
tree | 7a10933aa27f945821757097c651e2de18b1c2aa /sql/field.h | |
parent | b0d5c8a10bf9f165affe89d8d593888e12b694f5 (diff) | |
parent | 2f3b860305a88e7e44ed68c5ed3a0f1837921cb0 (diff) | |
download | mariadb-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/field.h')
-rw-r--r-- | sql/field.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/field.h b/sql/field.h index 8e00cf013dc..36f494f6e50 100644 --- a/sql/field.h +++ b/sql/field.h @@ -50,7 +50,8 @@ class Field Field(const Item &); /* Prevent use of these */ void operator=(Field &); public: - static void *operator new(size_t size) {return sql_alloc(size); } + static void *operator new(size_t size) throw () + { return sql_alloc(size); } static void operator delete(void *ptr_arg, size_t size) { TRASH(ptr_arg, size); } uchar *ptr; // Position to field in record |