diff options
author | unknown <bell@sanja.is.com.ua> | 2004-11-08 01:55:20 +0200 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2004-11-08 01:55:20 +0200 |
commit | bff1d4751da5e74bd005675b04a8217b163da16b (patch) | |
tree | 72c4de424794c9a7ba20d1068fc90b2d2c1ce1ea /sql/sql_class.h | |
parent | 7b30603b0efd8ad1c809e0da4f83226689b140ac (diff) | |
parent | f1b9bf699eeec11d7d619683d74c01d6172a7e5f (diff) | |
download | mariadb-git-bff1d4751da5e74bd005675b04a8217b163da16b.tar.gz |
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
into sanja.is.com.ua:/home/bell/mysql/bk/work-update-5.0
sql/sql_prepare.cc:
Auto merged
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index fcaebe64b43..0da77d5636a 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -1131,8 +1131,12 @@ public: { return command == COM_PREPARE; } - inline gptr trans_alloc(unsigned int size) - { + inline bool fill_derived_tables() + { + return !only_prepare() && !lex->only_view_structure(); + } + inline gptr trans_alloc(unsigned int size) + { return alloc_root(&transaction.mem_root,size); } |