mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 02:03:04 +01:00
Skip system attachmnets in SHOW USERS
This commit is contained in:
parent
b7621d6f9d
commit
05c1c943e3
@ -5763,6 +5763,7 @@ static processing_state show_users12()
|
||||
"when SEC$USER_NAME is distinct from null then ' ' else '-' end, "
|
||||
"coalesce(MON$USER, SEC$USER_NAME), count(MON$USER) "
|
||||
"from mon$attachments m full join sec$users u on m.MON$USER = u.SEC$USER_NAME "
|
||||
"where coalesce(MON$SYSTEM_FLAG, 0) = 0 "
|
||||
"group by MON$USER, SEC$USER_NAME order by coalesce(MON$USER, SEC$USER_NAME)";
|
||||
|
||||
Firebird::RefPtr<Firebird::IMetadataBuilder>
|
||||
|
Loading…
Reference in New Issue
Block a user