List:Internals« Previous MessageNext Message »
From:pem Date:September 14 2005 8:16am
Subject:bk commit into 5.0 tree (pem:1.1951)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of pem. When pem 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.1951 05/09/14 09:43:02 pem@stripped +1 -0
  Merge mysql.com:/usr/local/bk/mysql-5.0
  into  mysql.com:/usr/home/pem/mysql-5.0

  sql/sql_yacc.yy
    1.423 05/09/14 09:42:53 pem@stripped +0 -0
    Auto merged

# 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:	pem
# Host:	mysql.comhem.se
# Root:	/usr/home/pem/mysql-5.0/RESYNC

--- 1.422/sql/sql_yacc.yy	2005-09-13 19:17:35 +02:00
+++ 1.423/sql/sql_yacc.yy	2005-09-14 09:42:53 +02:00
@@ -8005,6 +8005,15 @@
             if (tmp == &sys_time_zone &&
                 lex->add_time_zone_tables_to_query_tables(YYTHD))
               YYABORT;
+            else
+              if (spc && tmp == &sys_autocommit)
+              {
+                /*
+                  We don't allow setting AUTOCOMMIT from a stored function
+		  or trigger.
+                */
+                lex->sphead->m_flags|= sp_head::HAS_SET_AUTOCOMMIT_STMT;
+              }
 	  }
 	  else
 	  {
Thread
bk commit into 5.0 tree (pem:1.1951)pem14 Sep