@@ -86,7 +86,7 @@ using namespace Firebird;
86
86
static ULONG get_request_info (thread_db*, DsqlRequest*, ULONG, UCHAR*);
87
87
static dsql_dbb* init (Jrd::thread_db*, Jrd::Attachment*);
88
88
static DsqlRequest* prepareRequest (thread_db*, dsql_dbb*, jrd_tra*, ULONG, const TEXT*, USHORT, unsigned , bool );
89
- static DsqlRequest* safePrepareRequest (thread_db*, dsql_dbb*, jrd_tra*, ULONG, const TEXT*, USHORT, bool );
89
+ static DsqlRequest* safePrepareRequest (thread_db*, dsql_dbb*, jrd_tra*, ULONG, const TEXT*, USHORT, unsigned , bool );
90
90
static RefPtr<DsqlStatement> prepareStatement (thread_db*, dsql_dbb*, jrd_tra*, ULONG, const TEXT*, USHORT,
91
91
unsigned , bool , ntrace_result_t * traceResult);
92
92
static UCHAR* put_item (UCHAR, const USHORT, const UCHAR*, UCHAR*, const UCHAR* const );
@@ -443,15 +443,15 @@ static dsql_dbb* init(thread_db* tdbb, Jrd::Attachment* attachment)
443
443
444
444
// Use SEH frame when preparing user requests to catch possible stack overflows
445
445
static DsqlRequest* safePrepareRequest (thread_db* tdbb, dsql_dbb* database, jrd_tra* transaction,
446
- ULONG textLength, const TEXT* text, USHORT clientDialect, bool isInternalRequest)
446
+ ULONG textLength, const TEXT* text, USHORT clientDialect, unsigned prepareFlags, bool isInternalRequest)
447
447
{
448
448
if (isInternalRequest)
449
- return prepareRequest (tdbb, database, transaction, textLength, text, clientDialect, true );
449
+ return prepareRequest (tdbb, database, transaction, textLength, text, clientDialect, prepareFlags, true );
450
450
451
451
#ifdef WIN_NT
452
452
START_CHECK_FOR_EXCEPTIONS (NULL );
453
453
#endif
454
- return prepareRequest (tdbb, database, transaction, textLength, text, clientDialect, false );
454
+ return prepareRequest (tdbb, database, transaction, textLength, text, clientDialect, prepareFlags, false );
455
455
456
456
#ifdef WIN_NT
457
457
END_CHECK_FOR_EXCEPTIONS (NULL );
0 commit comments