List:Commits« Previous MessageNext Message »
From:Christopher Powers Date:February 23 2009 10:47pm
Subject:bzr commit into mysql-6.0-falcon-team branch (christopher.powers:3034)
Bug#42725 Bug#42830
View as plain text  
#At file:///home/cpowers/work/dev/dev-06/mysql/

 3034 Christopher Powers	2009-02-23
      Bug#42725 "Exception when filling I_S.TABLESPACES by Falcon"
      Bug#42830 "Falcon Exception: ResultSet has been closed after recovery"
      
      Missed a spot: SequenceManager::initialize()
modified:
  storage/falcon/SequenceManager.cpp

per-file messages:
  storage/falcon/SequenceManager.cpp
    SequenceManager::initialize()
    - Protect resultSet from concurrent system transaction commit
=== modified file 'storage/falcon/SequenceManager.cpp'
--- a/storage/falcon/SequenceManager.cpp	2009-02-23 16:45:52 +0000
+++ b/storage/falcon/SequenceManager.cpp	2009-02-23 22:46:44 +0000
@@ -73,6 +73,9 @@ void SequenceManager::initialize()
 		for (const char **p = ddl; *p; ++p)
 			database->execute (*p);
 
+	Sync syncDDL(&database->syncSysDDL, "SequenceManager::initialize");
+	syncDDL.lock(Shared);
+	
 	PreparedStatement *statement = database->prepareStatement (
 		"select schema, sequenceName, id from system.sequences");
 	ResultSet *resultSet = statement->executeQuery();

Thread
bzr commit into mysql-6.0-falcon-team branch (christopher.powers:3034)Bug#42725 Bug#42830Christopher Powers23 Feb