List:Commits« Previous MessageNext Message »
From:Sergei Golubchik Date:November 29 2007 7:21pm
Subject:Re: bk commit into 6.0 tree (svoj:1.2695) BUG#22972
View as plain text  
Hi!

On Nov 28, Sergey Vojtovich wrote:
> ChangeSet@stripped, 2007-11-28 18:07:24+04:00, svoj@stripped +5 -0
>   BUG#22972 - Falcon: Partitioned table with pending transaction leads to
>               strange error
>   
>   Falcon cannot drop a table with pending transaction and error
>   message is misleading.
>   
>   With this fix Falcon returns descriptive warning.
> 
> diff -Nrup a/storage/falcon/ha_falcon.cpp b/storage/falcon/ha_falcon.cpp
> --- a/storage/falcon/ha_falcon.cpp	2007-11-28 00:07:21 +04:00
> +++ b/storage/falcon/ha_falcon.cpp	2007-11-28 18:07:22 +04:00
> @@ -1645,7 +1645,7 @@ int StorageInterface::getMySqlError(int 
>  
>  		case StorageErrorUncommittedUpdates:
>  			DBUG_PRINT("info", ("StorageErrorUncommittedUpdates"));
> -			return (HA_ERR_TABLE_EXIST);
> +			return (HA_ERR_LOCK_OR_ACTIVE_TRANSACTION);
>  
>  		case StorageErrorUncommittedRecords:
>  			DBUG_PRINT("info", ("StorageErrorUncommittedRecords"));

Why HA_ERR_TABLE_EXIST resulted in "ERROR 1051: Unknown table 't1'" ?
 
Regards / Mit vielen Grüssen,
Sergei

-- 
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /   Sergei Golubchik <serg@stripped>
 / /|_/ / // /\ \/ /_/ / /__  Principal Software Developer
/_/  /_/\_, /___/\___\_\___/  MySQL GmbH, Dachauer Str. 37, D-80335 München
       <___/                  Geschäftsführer: Kaj Arnö - HRB
München 162140
Thread
bk commit into 6.0 tree (svoj:1.2695) BUG#22972Sergey Vojtovich28 Nov
  • Re: bk commit into 6.0 tree (svoj:1.2695) BUG#22972Sergei Golubchik29 Nov
  • Re: bk commit into 6.0 tree (svoj:1.2695) BUG#22972Sergei Golubchik30 Nov