mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 16:43:03 +01:00
Fix warnings.
This commit is contained in:
parent
00218503d6
commit
80e7651261
@ -234,8 +234,6 @@ FB_UDR_BEGIN_TRIGGER(replicate_persons)
|
||||
"select data_source from replicate_config where name = ?",
|
||||
SQL_DIALECT_CURRENT, NULL), status, statusVector);
|
||||
|
||||
const char* table = metadata->getTriggerTable(status);
|
||||
|
||||
// Skip the first exclamation point, separating the module name and entry point.
|
||||
const char* info = strchr(metadata->getEntryPoint(status), '!');
|
||||
|
||||
|
@ -63,13 +63,6 @@ using namespace Firebird;
|
||||
|
||||
DATABASE DB = STATIC "yachts.lnk";
|
||||
|
||||
static const UCHAR blr_bpb[] =
|
||||
{
|
||||
isc_bpb_version1,
|
||||
isc_bpb_source_type, 1, isc_blob_blr,
|
||||
isc_bpb_target_type, 1, isc_blob_blr
|
||||
};
|
||||
|
||||
static void convert_dtype(TypeClause*, SSHORT);
|
||||
static void free_relation(dsql_rel*);
|
||||
|
||||
|
@ -238,7 +238,6 @@ inline void check_gbak_cheating_insupd(thread_db* tdbb, const jrd_rel* relation,
|
||||
inline void check_gbak_cheating_delete(thread_db* tdbb, const jrd_rel* relation)
|
||||
{
|
||||
const Attachment* const attachment = tdbb->getAttachment();
|
||||
const jrd_tra* const transaction = tdbb->getTransaction();
|
||||
|
||||
if (relation->isSystem() && attachment->isGbak())
|
||||
{
|
||||
@ -2527,8 +2526,6 @@ bool VIO_get_current(thread_db* tdbb,
|
||||
**************************************/
|
||||
SET_TDBB(tdbb);
|
||||
|
||||
Attachment* const attachment = tdbb->getAttachment();
|
||||
|
||||
#ifdef VIO_DEBUG
|
||||
jrd_rel* relation = rpb->rpb_relation;
|
||||
VIO_trace(DEBUG_TRACE,
|
||||
@ -5195,12 +5192,15 @@ static void list_staying_fast(thread_db* tdbb, record_param* rpb, RecordStack& s
|
||||
}
|
||||
}
|
||||
|
||||
const TraNumber oldest_active = tdbb->getTransaction()->tra_oldest_active;
|
||||
///const TraNumber oldest_active = tdbb->getTransaction()->tra_oldest_active;
|
||||
|
||||
while (temp.rpb_b_page)
|
||||
{
|
||||
ULONG page = temp.rpb_page = temp.rpb_b_page;
|
||||
USHORT line = temp.rpb_line = temp.rpb_b_line;
|
||||
///ULONG page = temp.rpb_page = temp.rpb_b_page;
|
||||
///USHORT line = temp.rpb_line = temp.rpb_b_line;
|
||||
temp.rpb_page = temp.rpb_b_page;
|
||||
temp.rpb_line = temp.rpb_b_line;
|
||||
|
||||
temp.rpb_record = NULL;
|
||||
|
||||
if (temp.rpb_flags & rpb_delta)
|
||||
|
Loading…
Reference in New Issue
Block a user