8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 09:20:39 +01:00

Fixed VC10 build

This commit is contained in:
alexpeshkoff 2014-09-03 13:51:48 +00:00
parent ade505bed5
commit 9f5be859ad
3 changed files with 7 additions and 4 deletions

View File

@ -65,6 +65,7 @@
<ClCompile Include="..\..\..\src\jrd\cvt2.cpp" />
<ClCompile Include="..\..\..\src\jrd\Database.cpp" />
<ClCompile Include="..\..\..\src\jrd\DataTypeUtil.cpp" />
<ClCompile Include="..\..\..\src\jrd\DbCreators.cpp" />
<ClCompile Include="..\..\..\src\jrd\DebugInterface.cpp" />
<ClCompile Include="..\..\..\src\jrd\err.cpp" />
<ClCompile Include="..\..\..\src\jrd\event.cpp" />

View File

@ -456,6 +456,7 @@
<ClCompile Include="..\..\..\src\jrd\Mapping.cpp">
<Filter>JRD files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\jrd\DbCreators.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\jrd\recsrc\RecordSource.h">
@ -977,6 +978,7 @@
<ClInclude Include="..\..\..\src\jrd\Mapping.h">
<Filter>Header files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\jrd\Monitoring.h" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\..\src\dsql\DdlNodes.epp">

View File

@ -1332,9 +1332,9 @@ static bool packet_receive(rem_port* port, UCHAR* buffer, SSHORT buffer_length,
{
LocalStatus st;
port->port_crypt_plugin->decrypt(&st, n, buffer, buffer);
if (!st.isSuccess())
if (st.getStatus() & IStatus::FB_HAS_ERRORS)
{
status_exception::raise(st.get());
status_exception::raise(&st);
}
}
@ -1371,9 +1371,9 @@ static bool packet_send( rem_port* port, const SCHAR* buffer, SSHORT buffer_leng
char* d = b.getBuffer(buffer_length);
port->port_crypt_plugin->encrypt(&st, buffer_length, data, d);
if (!st.isSuccess())
if (st.getStatus() & IStatus::FB_HAS_ERRORS)
{
status_exception::raise(st.get());
status_exception::raise(&st);
}
data = d;