mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-02-02 09:20:39 +01:00
Be sure to actually use the tpb we have just declared.
This commit is contained in:
parent
1d1284567a
commit
f222127d4f
@ -221,7 +221,7 @@ Begin
|
|||||||
tpb.insertTag(status, isc_tpb_read);
|
tpb.insertTag(status, isc_tpb_read);
|
||||||
|
|
||||||
// start transaction
|
// start transaction
|
||||||
tra := att.startTransaction(status, 0, nil);
|
tra := att.startTransaction(status, tpb.getBufferLength( status ), tpb.getBuffer( status ));
|
||||||
|
|
||||||
// prepare statement
|
// prepare statement
|
||||||
stmt := att.prepare(status, tra, 0, 'Select last_name, first_name, phone_ext from phone_list ' +
|
stmt := att.prepare(status, tra, 0, 'Select last_name, first_name, phone_ext from phone_list ' +
|
||||||
|
Loading…
Reference in New Issue
Block a user