mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:03:03 +01:00
Fixed use of isc_spb_dbname in isc_action_svc_display_user
This commit is contained in:
parent
8a79c20b98
commit
2366a0d64c
@ -2810,10 +2810,11 @@ static bool process_switches(Firebird::ClumpletReader& spb,
|
||||
if (spb.isEof() && svc_action == isc_action_svc_display_user)
|
||||
{
|
||||
// in case of "display all users" the spb buffer contains
|
||||
// nothing but isc_action_svc_display_user
|
||||
// nothing but isc_action_svc_display_user or isc_spb_dbname
|
||||
break;
|
||||
}
|
||||
if (spb.getClumpTag() != isc_spb_sec_username) {
|
||||
if (spb.getClumpTag() != isc_spb_sec_username &&
|
||||
spb.getClumpTag() != isc_spb_dbname) {
|
||||
// unexpected item in service parameter block, expected @1
|
||||
ERR_post(isc_unexp_spb_form, isc_arg_string,
|
||||
error_string(SPB_SEC_USERNAME,
|
||||
|
Loading…
Reference in New Issue
Block a user