List:Commits« Previous MessageNext Message »
From:U-ROWVWADEjas Date:June 9 2007 6:13pm
Subject:bk commit into 6.0-falcon tree (jas:1.2559)
View as plain text  
Below is the list of changes that have just been committed into a local
6.0-falcon repository of . When  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@stripped, 2007-06-09 14:13:27-04:00, jas@rowvwade. +3 -0
  Work on Falcon shutdown.

  storage/falcon/Connection.cpp@stripped, 2007-06-09 14:13:19-04:00, jas@rowvwade. +1 -0
    Work on Falcon shutdown.

  storage/falcon/Database.cpp@stripped, 2007-06-09 14:13:19-04:00, jas@rowvwade. +1 -1
    Work on Falcon shutdown.

  storage/falcon/StorageHandler.cpp@stripped, 2007-06-09 14:13:20-04:00, jas@rowvwade. +7 -0
    Work on Falcon shutdown.

# 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:	jas
# Host:	rowvwade.
# Root:	D:/MySQL/mysql-5.1-falcon

--- 1.31/storage/falcon/StorageHandler.cpp	2007-06-09 14:13:47 -04:00
+++ 1.32/storage/falcon/StorageHandler.cpp	2007-06-09 14:13:47 -04:00
@@ -137,6 +137,13 @@
 	for (int n = 0; n < databaseHashSize; ++n)
 		for (StorageDatabase *storageDatabase = storageDatabases[n]; storageDatabase; storageDatabase = storageDatabase->collision)
 			storageDatabase->close();
+	
+	/***
+	Configuration configuration(NULL);
+	Connection *connection = new Connection(&configuration);
+	connection->shutdown();
+	connection->close();
+	***/
 }
 
 void StorageHandler::databaseDropped(StorageDatabase *storageDatabase, StorageConnection* storageConnection)

--- 1.16/storage/falcon/Connection.cpp	2007-06-09 14:13:47 -04:00
+++ 1.17/storage/falcon/Connection.cpp	2007-06-09 14:13:47 -04:00
@@ -1797,6 +1797,7 @@
 	if (database)
 		{
 		Database *db = database;
+		database = NULL;
 		unlink(db);
 		close();
 		db->shutdown();

--- 1.71/storage/falcon/Database.cpp	2007-06-09 14:13:47 -04:00
+++ 1.72/storage/falcon/Database.cpp	2007-06-09 14:13:47 -04:00
@@ -568,13 +568,13 @@
 	delete searchWords;
 	delete serialLog;
 	delete pageWriter;
+	delete tableSpaceManager;
 	delete cache;
 	delete roleModel;
 	delete symbolManager;
 	delete filterSetManager;
 	delete repositoryManager;
 	delete transactionManager;
-	delete tableSpaceManager;
 }
 
 void Database::createDatabase(const char * filename)
Thread
bk commit into 6.0-falcon tree (jas:1.2559)U-ROWVWADEjas9 Jun