on 2017 Apr 20 4:13 AM
Earlier I thought that it would not make sense to change the contents of the dbo-owner's procedures.
But it turns out (ASA 12.0.1.4436, 16.0.0.2419) that one can not create dba-"namesakes" for dbo-owner's procedures:
- Create a dba-"namesakes" procedure (the reasons for this are omitted). Fоr example, call sa_make_object('function', 'xp_cmdshell', 'dba')
==> select creator, procname from sys.SYSPROCS ...
creator,procname
'DBA','xp_cmdshell'
'dbo','xp_cmdshell'
- Unload the database completely (all objects). For example, dbunload -v -c "DSN=SQL Anywhere 16 Demo;UID=dba;PWD=***" -r "reload16.sql" -n
- We do not find a new "dba"."xp_cmdshell"-procedure in the "reload16.sql"-file.
This issue was fixed in December of 2015 and included in the v17 release.
If a user owned a table or procedure with the same name as a system table or procedure (eg. a user with an “sa_split_list” procedure), that object would not be included if the databases was unloaded with dbunload. This has been fixed.
Since the fix involves changes to the unload, upgrade, and database creation scripts, it will not be pushed back into existing branches.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks.
Of course, I'd like to see this fix in v16 😞
User | Count |
---|---|
79 | |
10 | |
10 | |
10 | |
10 | |
9 | |
8 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.