List:Commits« Previous MessageNext Message »
From:U-ROWVWADEjas Date:June 12 2007 10:15pm
Subject:bk commit into 6.0-falcon tree (jas:1.2564)
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-12 16:14:49-04:00, jas@rowvwade. +2 -0
  Fix some compilable but non-functional typos.

  storage/falcon/Statement.cpp@stripped, 2007-06-12 16:14:36-04:00, jas@rowvwade. +2 -2
    Fix erraneously coded "throw" statements.

  storage/falcon/TableSpaceManager.cpp@stripped, 2007-06-12 16:14:37-04:00, jas@rowvwade. +1 -1
    Initialize table space list head.

# 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.7/storage/falcon/TableSpaceManager.cpp	2007-06-12 16:15:13 -04:00
+++ 1.8/storage/falcon/TableSpaceManager.cpp	2007-06-12 16:15:13 -04:00
@@ -53,7 +53,7 @@
 	database = db;
 	memset(nameHash, 0, sizeof(nameHash));
 	memset(idHash, 0, sizeof(nameHash));
-	tableSpaces;
+	tableSpaces = NULL;
 }
 
 TableSpaceManager::~TableSpaceManager()

--- 1.27/storage/falcon/Statement.cpp	2007-06-12 16:15:13 -04:00
+++ 1.28/storage/falcon/Statement.cpp	2007-06-12 16:15:13 -04:00
@@ -2953,7 +2953,7 @@
 	TableSpace *tableSpace = tableSpaceManager->findTableSpace(name);
 	
 	if (!tableSpace)
-		throw(DDL_ERROR, "table space \"%s\" is not defined", name);
+		throw SQLError(DDL_ERROR, "table space \"%s\" is not defined", name);
 
 	Sync sync (&database->syncSysConnection, "Statement::createIndex");
 	sync.lock (Shared);
@@ -2964,7 +2964,7 @@
 	RSet resultSet = statement->executeQuery();
 	
 	if (resultSet->next())
-		throw (DDL_ERROR, "table space \"%s\" is not empty", name);
+		throw SQLError(DDL_ERROR, "table space \"%s\" is not empty", name);
 	
 	resultSet.close();
 	statement.close();
Thread
bk commit into 6.0-falcon tree (jas:1.2564)U-ROWVWADEjas12 Jun