mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:43:04 +01:00
Nickolay compiler caught line without effect mine because I forgot the assignment.
This commit is contained in:
parent
73cce1b081
commit
98bf2c354f
@ -743,7 +743,7 @@ void SCL_init(bool create,
|
||||
if (sql_role) {
|
||||
if (!preODS9 && strcmp (role_name, NULL_ROLE)) {
|
||||
strncpy(role_name, sql_role, MAX_SQL_IDENTIFIER_LEN);
|
||||
role_name[MAX_SQL_IDENTIFIER_LEN];
|
||||
role_name[MAX_SQL_IDENTIFIER_LEN] = 0;
|
||||
}
|
||||
/* CVC: Role is an identifier, it may have embedded blanks. */
|
||||
fb_utils::exact_name(role_name);
|
||||
|
Loading…
Reference in New Issue
Block a user