mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 04:43:03 +01:00
Misc and bugfix per Claudio
This commit is contained in:
parent
635fae4478
commit
85335c5cbb
@ -45,7 +45,7 @@ public:
|
||||
|
||||
class VirtualTable : public RecordStream
|
||||
{
|
||||
public:
|
||||
private:
|
||||
VirtualTable(RecordSource* aRsb)
|
||||
: rsb(aRsb)
|
||||
{
|
||||
|
@ -30,7 +30,7 @@ namespace Jrd {
|
||||
|
||||
class WindowRsb : public RecordStream
|
||||
{
|
||||
public:
|
||||
private:
|
||||
WindowRsb(RecordSource* aRsb);
|
||||
|
||||
public:
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user