跳到主要内容
版本:V1.4.1

9500 ~ 9999

此范围表示过程语言 (PL)错误码。

ERROR 9519 (HY000) : expression is of wrong type​

  • seekdb 错误码:9519

  • 错误原因:表达式的结果类型不符合预期。

  • 解决方法:请检查表达式的结果类型。

ERROR 9526 (HY000) : identifier '%.*s' too long​

  • seekdb 错误码:9526

  • 错误原因:Label 的名称过长,最大只允许128字符。

  • 解决方法:修改长度。

ERROR 9542 (HY000) : wrong number or types of arguments in call to '%.*s'​

  • seekdb 错误码:9542

  • 错误原因:子过程调用的时候,没有找到合适的函数,可能是函数名不对,也可能是参数个数不对,也可能是参数的类型不匹配。

  • 解决方法:检查函数名,参数个数和参数类型。如果还有问题,再检查一下函数的访问范围。

ERROR 9544 (HY000) : too many declarations of '%.*s' match this call​

  • seekdb 错误码:9544

  • 错误原因:匹配多个函数调用。可能调用的函数存在多个可匹配的调用方法,没有一个可以精确匹配的函数。

  • 解决方法:检查调用函数的名字是否正确及参数类型是否正确。

ERROR 9694 (42000) : Duplicate condition information item '%s'​

  • seekdb 错误码:9694

  • 错误原因:condition 定义中出现了重复项。

  • 解决方法:condition 定义中删除重复项。

ERROR 9695 (02000) : Unhandled user-defined not found condition​

  • seekdb 错误码:9695

  • 错误原因:使用了用户未定义的 condition。

  • 解决方法:不要使用未定义的 condition。

ERROR 9743(HY000) : Can't drop or alter a procedure/function from within another stored routine.Can't drop or alter a '%s' from within another stored routine​

  • seekdb 错误码:9743
  • 兼容 MySQL 错误码:1357

ERROR 9747 (HY000) : malformed ps packet​

  • seekdb 错误码:9747
  • 错误原因:客户端发送的预处理语句(prepared statement)数据包格式错误。
  • 解决方法:可以检查客户端和服务器版本是否兼容,确保客户端和服务器版本匹配。

ERROR 9749 (HY000) : object does not exist​

  • seekdb 错误码:9749
  • 错误原因:请求的对象不存在。
  • 解决方式:检查请求的对象名称是否正确或错误,确认是否可以找到该对象。

ERROR 9762 (42000) : Loading local data is disabled; this must be enabled on both the client and server sides​

  • seekdb 错误码:9762

  • 兼容 MySQL 错误码:3948

  • 错误原因:Local Data 导入数据失败。

  • 解决方法:如果需要使用 load data local 功能,需要保证:

    • OBJDBC 版本不低于 2.4.8(如果使用 Java + OBJDBC)。

    • 直接使用 MySQL 或 MariaDB 原生客户端,对版本没有特殊要求。

    • MySQL/MariaDB 客户端连接数据库时增加命令行参数 --local-infile。

      如果版本没有问题,需要设置变量 local_infile 值为 ON:

      • 开启变量。

        set @@local_infile=1;
      • 检查变量。

        show variables like 'local_infile';

ERROR 9765 (HY000) : object '%.*s' must be of type function or array to be used this way​

  • seekdb 错误码:9765

  • 错误原因:对象 '%.*s' 必须是函数或数组类型才能这样使用。

  • 解决方法:检查对象的类型,并根据需要进行调整。

ERROR 9808 (HY000) : Table type is not valid, the definition of materialized view can only reference user tables or other materialized views​

  • seekdb 错误码:9808

  • 错误原因:物化视图的定义中引用的表类型无效。

  • 解决方法:检查物化视图的定义引用的对象类型(物化视图的定义只能引用用户表或其他物化视图)。

ERROR 9809 (HY000) : Base tables are altered during the creation or complete refresh of materialized views, please try again when base tables have no ongoing DDL operations​

  • seekdb 错误码:9809

  • 错误原因:在创建或完全刷新物化视图期间,基表正在进行的 DDL 操作。

  • 解决方法:检查物化视图基表是否有正在进行的 DDL 操作。

ERROR 9810 (HY000) : Materialized view %s.%s has invalid dependency info, please perform a complete refresh to recover​

  • seekdb 错误码:9810

  • 错误原因:物化视图 %s 的依赖关系信息无效。

  • 解决方法:对物化视图做一次全量刷新。

ERROR 32491 (HY000) : snapshot expression not allowed here​

  • seekdb 错误码:32491

  • 错误原因:此处不允许出现 SNAPSHOT 表达式,SNAPSHOT 表达式仅支持只读语句。

  • 解决方式:去掉 SNAPSHOT 表达式,或者修改语句为只读。