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/sql_lex.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/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index 5af22a895a7..bb3dc00fc8d 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -417,11 +417,11 @@ public: bool no_table_names_allowed; /* used for global order by */ bool no_error; /* suppress error message (convert it to warnings) */ - static void *operator new(size_t size) + static void *operator new(size_t size) throw () { return sql_alloc(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) {} |