MySQL Lists are EOL. Please join:

List:Internals« Previous MessageNext Message »
From:Sergei Golubchik Date:May 27 2005 10:38am
Subject:bk commit into 4.1 tree (serg:1.2293) BUG#6678
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of serg. When serg 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.2293 05/05/27 12:38:29 serg@stripped +1 -0
  don't downgrade the lock for CREATE ... SELECT (bug#6678)

  sql/ha_innodb.cc
    1.197 05/05/27 12:38:22 serg@stripped +2 -1
    don't downgrade the lock for CREATE ... SELECT (bug#6678)

# 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:	serg
# Host:	serg.mylan
# Root:	/usr/home/serg/Abk/mysql-4.1

--- 1.196/sql/ha_innodb.cc	Fri May  6 09:15:49 2005
+++ 1.197/sql/ha_innodb.cc	Fri May 27 12:38:22 2005
@@ -5420,7 +5420,8 @@
 
     		if ((lock_type >= TL_WRITE_CONCURRENT_INSERT &&
 	 	    lock_type <= TL_WRITE) && !thd->in_lock_tables
-		    && !thd->tablespace_op) {
+		    && !thd->tablespace_op
+                    && thd->lex->sql_command != SQLCOM_CREATE_TABLE) {
 
       			lock_type = TL_WRITE_ALLOW_WRITE;
       		}
Thread
bk commit into 4.1 tree (serg:1.2293) BUG#6678Sergei Golubchik27 May