mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 00:03:02 +01:00
Misc.
This commit is contained in:
parent
5d654929f6
commit
6488dfed7f
@ -7,13 +7,13 @@ Author:
|
|||||||
|
|
||||||
Syntax is:
|
Syntax is:
|
||||||
|
|
||||||
GRANT CREATE <OBJECT> TO [USER | ROLE] <user/role name> [with grant option];
|
GRANT CREATE <OBJECT> TO [USER | ROLE] <user/role name> [WITH GRANT OPTION];
|
||||||
GRANT ALTER ANY <OBJECT> TO [USER | ROLE] <user/role name> [with grant option];
|
GRANT ALTER ANY <OBJECT> TO [USER | ROLE] <user/role name> [WITH GRANT OPTION];
|
||||||
GRANT DROP ANY <OBJECT> TO [USER | ROLE] <user/role name> [with grant option];
|
GRANT DROP ANY <OBJECT> TO [USER | ROLE] <user/role name> [WITH GRANT OPTION];
|
||||||
|
|
||||||
REVOKE [grant option for] CREATE <OBJECT> FROM [USER | ROLE] <user/role name>;
|
REVOKE [GRANT OPTION FOR] CREATE <OBJECT> FROM [USER | ROLE] <user/role name>;
|
||||||
REVOKE [grant option for] ALTER ANY <OBJECT> FROM [USER | ROLE] <user/role name>;
|
REVOKE [GRANT OPTION FOR] ALTER ANY <OBJECT> FROM [USER | ROLE] <user/role name>;
|
||||||
REVOKE [grant option for] DROP ANY <OBJECT> FROM [USER | ROLE] <user/role name>;
|
REVOKE [GRANT OPTION FOR] DROP ANY <OBJECT> FROM [USER | ROLE] <user/role name>;
|
||||||
|
|
||||||
Where <OBJECT> could be:
|
Where <OBJECT> could be:
|
||||||
TABLE, VIEW, PROCEDURE, FUNCTION, PACKAGE, GENERATOR, SEQUENCE, DOMAIN,
|
TABLE, VIEW, PROCEDURE, FUNCTION, PACKAGE, GENERATOR, SEQUENCE, DOMAIN,
|
||||||
|
@ -888,7 +888,7 @@ void GDS_breakpoint(int);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define FB_UNUSED(value) do { if (value) {} } while (false)
|
#define FB_UNUSED(value) do { if (value) {} } while (false)
|
||||||
#define FB_UNUSED_VAR(value) (void)value;
|
#define FB_UNUSED_VAR(value) (void) value
|
||||||
|
|
||||||
// 30 Dec 2002. Nickolay Samofatov
|
// 30 Dec 2002. Nickolay Samofatov
|
||||||
// This needs to be checked for all supported platforms
|
// This needs to be checked for all supported platforms
|
||||||
@ -977,7 +977,10 @@ static const TEXT* const FB_LONG_MONTHS_UPPER[] =
|
|||||||
|
|
||||||
const FB_SIZE_T FB_MAX_SIZEOF = ~FB_SIZE_T(0); // Assume FB_SIZE_T is unsigned
|
const FB_SIZE_T FB_MAX_SIZEOF = ~FB_SIZE_T(0); // Assume FB_SIZE_T is unsigned
|
||||||
|
|
||||||
inline FB_SIZE_T fb_strlen(const char* str) { return static_cast<FB_SIZE_T>(strlen(str)); }
|
inline FB_SIZE_T fb_strlen(const char* str)
|
||||||
|
{
|
||||||
|
return static_cast<FB_SIZE_T>(strlen(str));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif /* COMMON_COMMON_H */
|
#endif /* COMMON_COMMON_H */
|
||||||
|
@ -387,7 +387,6 @@ bool_t xdr_float(XDR* xdrs, float* ip)
|
|||||||
**************************************/
|
**************************************/
|
||||||
fb_assert(sizeof(float) == sizeof(SLONG));
|
fb_assert(sizeof(float) == sizeof(SLONG));
|
||||||
|
|
||||||
|
|
||||||
switch (xdrs->x_op)
|
switch (xdrs->x_op)
|
||||||
{
|
{
|
||||||
case XDR_ENCODE:
|
case XDR_ENCODE:
|
||||||
|
Loading…
Reference in New Issue
Block a user