summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorthek@adventure.(none) <>2007-11-21 20:57:28 +0100
committerthek@adventure.(none) <>2007-11-21 20:57:28 +0100
commit13be72f9c3a31d830872749931ed050e82da0096 (patch)
tree56a4502f7ac333265e9987599f455992b346a5e2 /sql/sql_lex.h
parenteb0ffb4cc8e55a578c03b2ffba38ab0da2d53565 (diff)
parent7580f9043a29f7ed4f050f997810e220a69f2186 (diff)
downloadmariadb-git-13be72f9c3a31d830872749931ed050e82da0096.tar.gz
Merge adventure.(none):/home/thek/Development/cpp/bug31153/my51-bug31153
into adventure.(none):/home/thek/Development/cpp/mysql-5.1-runtime
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index da0ff94ec96..cdae7449cc7 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -1834,11 +1834,11 @@ typedef struct st_lex : public Query_tables_list
struct st_lex_local: public st_lex
{
- 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);
}