Hi,
there is patch for #3023 attached.
Reason for this patch is explained in commit message.
I am open to discussion. In my opinion we don't need to connect sysdb
pointer with domain structure because it is not used in other upgrade
functions too.
Regards
--
Petr^4 Čech