mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-02-02 09:20:39 +01:00
Misc.
This commit is contained in:
parent
26095f5a77
commit
5ffc936053
@ -136,7 +136,7 @@ Proposed syntax for testing:
|
||||
COMMENT ON DATABASE IS {'txt'|NULL};
|
||||
COMMENT ON <basic_type> name IS {'txt'|NULL};
|
||||
COMMENT ON COLUMN table_or_view_name.field_name IS {'txt'|NULL};
|
||||
COMMENT ON {PROCEDURE | FUNCTION} [<package_name> .] name.param_name IS {'txt'|NULL};
|
||||
COMMENT ON {PROCEDURE | [EXTERNAL] FUNCTION} [<package_name> .] name.param_name IS {'txt'|NULL};
|
||||
COMMENT ON [PROCEDURE | FUNCTION] PARAMETER [<package_name> .] name.param_name IS {'txt'|NULL};
|
||||
|
||||
An empty literal string '' will act as NULL since the internal code (DYN in this case)
|
||||
@ -146,9 +146,7 @@ basic_type:
|
||||
- DOMAIN
|
||||
- TABLE
|
||||
- VIEW
|
||||
- PROCEDURE
|
||||
- TRIGGER
|
||||
- [EXTERNAL] FUNCTION
|
||||
- FILTER
|
||||
- EXCEPTION
|
||||
- GENERATOR
|
||||
|
@ -1130,6 +1130,7 @@ bool CommentOnNode::checkPermission(thread_db* tdbb, jrd_tra* transaction)
|
||||
|
||||
dsc dscName;
|
||||
MetaName relationName;
|
||||
|
||||
switch (objType)
|
||||
{
|
||||
case obj_schema:
|
||||
@ -1210,6 +1211,7 @@ bool CommentOnNode::checkPermission(thread_db* tdbb, jrd_tra* transaction)
|
||||
default:
|
||||
fb_assert(false);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -153,7 +153,7 @@ typedef ULONG TraNumber;
|
||||
template <typename T>
|
||||
inline T FB_ALIGN(T n, uintptr_t b)
|
||||
{
|
||||
return (T) ((((uintptr_t)n) + b - 1) & ~(b - 1));
|
||||
return (T) ((((uintptr_t) n) + b - 1) & ~(b - 1));
|
||||
}
|
||||
|
||||
#endif /* INCLUDE_FB_TYPES_H */
|
||||
|
@ -1341,7 +1341,7 @@ processing_state SHOW_grants2 (const SCHAR* object,
|
||||
{
|
||||
case 'C':
|
||||
priv_flags |= priv_CREATE;
|
||||
break;
|
||||
break;
|
||||
case 'L':
|
||||
priv_flags |= priv_ALTER;
|
||||
break;
|
||||
@ -1350,6 +1350,7 @@ processing_state SHOW_grants2 (const SCHAR* object,
|
||||
break;
|
||||
default:
|
||||
priv_flags |= priv_UNKNOWN;
|
||||
break;
|
||||
}
|
||||
|
||||
make_priv_string (priv_flags, priv_string);
|
||||
|
@ -290,7 +290,7 @@ void TempSpace::extend(FB_SIZE_T size)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// NS 2014-07-31: FIXME: missing exception handling.
|
||||
// error thrown in block of code below will leave TempSpace in inconsistent state:
|
||||
// logical/physical size already increased while allocation has in fact failed.
|
||||
|
@ -1913,7 +1913,7 @@ ULONG PageSpace::lastUsedPage()
|
||||
pipLast = pipFirst;
|
||||
|
||||
window.win_page = pipLast;
|
||||
};
|
||||
}
|
||||
|
||||
page_inv_page* pip = (page_inv_page*) window.win_buffer;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user