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

Restored accidentialy committed file

This commit is contained in:
AlexPeshkoff 2024-01-11 20:11:29 +03:00
parent 8aacea411b
commit 0b43e3d5dd

View File

@ -156,7 +156,7 @@ bool get_sql_roles(BurpGlobals* tdgbl);
bool get_mapping(BurpGlobals* tdgbl);
bool get_db_creator(BurpGlobals* tdgbl);
bool get_security_class(BurpGlobals* tdgbl);
void get_source_blob(BurpGlobals* tdgbl, ISC_QUAD&, bool, void (*postProcess) (BlobBuffer& segment) = nullptr);
void get_source_blob(BurpGlobals* tdgbl, ISC_QUAD&, bool);
USHORT get_text(BurpGlobals* tdgbl, TEXT*, ULONG);
USHORT get_text2(BurpGlobals* tdgbl, TEXT* text, ULONG length);
bool get_trigger(BurpGlobals* tdgbl);
@ -2721,11 +2721,6 @@ bool get_chk_constraint(BurpGlobals* tdgbl)
return true;
}
void clearAttributes(BlobBuffer& attr)
{
}
bool get_collation(BurpGlobals* tdgbl)
{
/**************************************
@ -8836,7 +8831,7 @@ bool get_security_class(BurpGlobals* tdgbl)
return true;
}
void get_source_blob(BurpGlobals* tdgbl, ISC_QUAD& blob_id, bool glb_trans, void (*postProcess) (BlobBuffer& segment))
void get_source_blob(BurpGlobals* tdgbl, ISC_QUAD& blob_id, bool glb_trans)
{
/**************************************
*
@ -8900,7 +8895,7 @@ void get_source_blob(BurpGlobals* tdgbl, ISC_QUAD& blob_id, bool glb_trans, void
// Allocate blob buffer if static buffer is too short
BlobBuffer static_buffer;
UCHAR* buffer = static_buffer.getBuffer(length);
UCHAR* const buffer = static_buffer.getBuffer(length);
while (length > 0)
{
@ -8911,12 +8906,6 @@ void get_source_blob(BurpGlobals* tdgbl, ISC_QUAD& blob_id, bool glb_trans, void
--length; // -- or ++ ??? p is decremented, will have to test.
const USHORT seg_len = p - buffer;
if (postProcess)
{
postProcess(static_buffer);
buffer = static_buffer.begin();
}
if (!blob.putSegment(seg_len, buffer))
{
BURP_error_redirect(&status_vector, 38);