List:Commits« Previous MessageNext Message »
From:Christopher Powers Date:February 23 2009 10:48pm
Subject:bzr push into mysql-6.0-falcon-team branch (christopher.powers:3033 to
3034) Bug#42725 Bug#42830
View as plain text  
 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

 3033 Christopher Powers	2009-02-23 [merge]
      merge
modified:
  storage/falcon/Cache.cpp

=== 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 push into mysql-6.0-falcon-team branch (christopher.powers:3033 to3034) Bug#42725 Bug#42830Christopher Powers23 Feb