8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 07:23:04 +01:00

Misc and bugfix per Claudio

This commit is contained in:
asfernandes 2009-10-28 15:31:07 +00:00
parent 635fae4478
commit 85335c5cbb
3 changed files with 5 additions and 5 deletions

View File

@ -45,7 +45,7 @@ public:
class VirtualTable : public RecordStream
{
public:
private:
VirtualTable(RecordSource* aRsb)
: rsb(aRsb)
{

View File

@ -30,7 +30,7 @@ namespace Jrd {
class WindowRsb : public RecordStream
{
public:
private:
WindowRsb(RecordSource* aRsb);
public:

View File

@ -4865,13 +4865,13 @@ ISC_STATUS API_ROUTINE GDS_START_MULTIPLE(ISC_STATUS* user_status,
if (count <= 0 || !vector)
status_exception::raise(Arg::Gds(isc_bad_teb_form));
if (vector->teb_tpb_length < 0 || (vector->teb_tpb_length > 0 && !vector->teb_tpb))
status_exception::raise(Arg::Gds(isc_bad_tpb_form));
Transaction* ptr = &transaction;
for (USHORT n = 0; n < count; n++, ptr = &(*ptr)->next, vector++)
{
if (vector->teb_tpb_length < 0 || (vector->teb_tpb_length > 0 && !vector->teb_tpb))
status_exception::raise(Arg::Gds(isc_bad_tpb_form));
attachment = translate<CAttachment>(vector->teb_database);
*ptr = new CTransaction(0, 0, attachment);