#At file:///C:/bzr/mysql-6.0-falcon-team/
2769 Vladislav Vaintroub 2008-08-07
Bug#38186
Problem:
Waiting for tablespace to be dropped has no effect.
Cause:
We are checking the the existence of wrong file
(tableSpaceName)
Solution:
Change first parameter in waitForPendingDrops
to be filename, not tablespace name.
modified:
storage/falcon/StorageHandler.cpp
=== modified file 'storage/falcon/StorageHandler.cpp'
--- a/storage/falcon/StorageHandler.cpp 2008-07-31 08:52:32 +0000
+++ b/storage/falcon/StorageHandler.cpp 2008-08-07 18:18:29 +0000
@@ -488,7 +488,7 @@ int StorageHandler::createTablespace(con
TableSpaceManager *tableSpaceManager =
dictionaryConnection->database->tableSpaceManager;
- if (!tableSpaceManager->waitForPendingDrop(tableSpaceName, 10))
+ if (!tableSpaceManager->waitForPendingDrop(filename, 10))
// file still exists after waiting for 10 seconds
return StorageErrorTableSpaceExist;
| Thread |
|---|
| • bzr commit into mysql-6.0-falcon branch (vvaintroub:2769) Bug#38186 | Vladislav Vaintroub | 7 Aug |