From: <hv...@us...> - 2011-06-01 14:10:03
|
Revision: 53081 http://firebird.svn.sourceforge.net/firebird/?rev=53081&view=rev Author: hvlad Date: 2011-06-01 14:09:57 +0000 (Wed, 01 Jun 2011) Log Message: ----------- Fixed AV when transaction start failed Modified Paths: -------------- firebird/trunk/src/yvalve/why.cpp Modified: firebird/trunk/src/yvalve/why.cpp =================================================================== --- firebird/trunk/src/yvalve/why.cpp 2011-06-01 12:17:13 UTC (rev 53080) +++ firebird/trunk/src/yvalve/why.cpp 2011-06-01 14:09:57 UTC (rev 53081) @@ -2988,7 +2988,10 @@ YTransaction* transaction = attachment->startTransaction(&status, vector->teb_tpb_length, vector->teb_tpb); - *traHandle = transaction->handle; + + if (transaction) + *traHandle = transaction->handle; + return status[1]; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |