summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2005-06-21 21:15:21 +0400
committerunknown <konstantin@mysql.com>2005-06-21 21:15:21 +0400
commit04f6f63dd8bdcb4e0d5e7cc6b2200a87eff037fe (patch)
treefab3ef77e6e35e13cb625ee131672ccc19d70fd7 /include
parente85b001321f12b754417f906bb63f4d2f9f8ffbb (diff)
downloadmariadb-git-04f6f63dd8bdcb4e0d5e7cc6b2200a87eff037fe.tar.gz
A preparatory patch to help adding JOIN::transform() and move one-time
query transformations to the PREPARE stage (prepared statements). sql/item.h: Remove an unused friend declaration. sql/mysql_priv.h: Change signature of insert_fields() sql/sp_head.cc: Make is_stmt_prepare_or_first_sp_execute really work: reset SP state to EXECUTED after execution. sql/sql_base.cc: allocate_view_names flag of insert_fields is removed. The purpose of this variable was to amend the case when a view is replaced with a base table between subsequent executions of a prepared statement: in that case the new table theoretically can be used instead of the view. If allocate_view_names was set, all the references to the view expressions were replaced with Item_field's which in turn could have been resolved by their names. But this approach doesn't work for other reasons, so let's not try to help what must be solved by TDC. sql/sql_class.h: Add is_first_sp_execute() helper method. sql/sql_handler.cc: insert_fields signature changed. sql/sql_lex.h: Add a comment for variable 'first_execution'.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions