8
0
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:
robocop 2004-12-07 01:17:07 +00:00
parent 73cce1b081
commit 98bf2c354f

View File

@ -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);