List:Internals« Previous MessageNext Message »
From:konstantin Date:May 23 2005 6:35pm
Subject:bk commit into 5.0 tree (konstantin:1.1899)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of kostja. When kostja does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.1899 05/05/23 22:35:16 konstantin@stripped +1 -0
  A comment for view_prepare_mode.

  sql/sql_lex.h
    1.178 05/05/23 22:35:11 konstantin@stripped +7 -1
    A comment.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	konstantin
# Host:	dragonfly.local
# Root:	/opt/local/work/mysql-5.0-root

--- 1.177/sql/sql_lex.h	2005-05-18 20:00:15 +04:00
+++ 1.178/sql/sql_lex.h	2005-05-23 22:35:11 +04:00
@@ -757,7 +757,13 @@
   bool drop_if_exists, drop_temporary, local_file, one_shot_set;
   bool in_comment, ignore_space, verbose, no_write_to_binlog;
   bool tx_chain, tx_release;
-  /* special JOIN::prepare mode: changing of query is prohibited */
+  /*
+    Special JOIN::prepare mode: changing of query is prohibited.
+    When creating a view, we need to just check its syntax omitting
+    any optimizations: afterwards definition of the view will be
+    reconstructed by means of ::print() methods and written to
+    to an .frm file. We need this definition to stay untouched.
+  */
   bool view_prepare_mode;
   bool safe_to_cache_query;
   bool subqueries, ignore;
Thread
bk commit into 5.0 tree (konstantin:1.1899)konstantin23 May