调用 SYSBldPrepare( ) 时的异常

如果 IFX_EXTEND_ROLE 配置参数设置为 ON,那么只有数据库服务器管理员 (DBSA) 和 DBSA 授予 EXTEND 角色的其他人员才有权调用 SYSBldPrepare( ) 函数。缺省情况下,DBSA 为 gbasedbt 用户。

如果您尝试使用 'drop' 选项注销当前已在数据库中注册的 DataBlade 模块所依赖的其他 DataBlade 模块,那么 SYSBldPrepare( ) 函数会发出错误。

如果 SYSBldPrepare( ) 尝试注销未在数据库中注册的 DataBlade 模块,GBase 8s 也会发出错误。

以下示例显示注册未安装的 DataBlade 模块的尝试以及产生的错误消息:
EXECUTE FUNCTION sysbldprepare ('geodetic.3.12', 'create');

(U0001) - registerBlade - Unable to register geodetic.3.12
– DataBlade module not found
- check online log and sysblderrorlog table for more information
发生的运行时错误可能导致 SYSBldPrepare( ) 发出并非 GBase 8s 错误消息的诊断错误消息。请参考以下示例:
EXECUTE FUNCTION sysbldprepare ('ext.1.31', 'create');
调用 SYSBldPrepare( ) 失败会返回如下所示的诊断消息:
(U0001) - registerBlade - registration failed for ext.1.31 
– required VPCLASS is missing from onconfig
- check online log and sysblderrorlog table for more information

(U0001) - registerBlade - registration failed for ext.1.31 
- sbspace problem
- check online log and sysblderrorlog table for more information

(U0001) - registerBlade - registration failed for ext.1.31 
– unknown error
- check online log and sysblderrorlog table for more information