Oceanbase 触发器 变量定义报错

,

【 使用环境 】测试环境
【 OB or 其他组件 】OB mysql
【 使用版本 】V3.2.4
【问题描述】触发器 具体逻辑变量无法使用 执行报错 【1327 - Undeclared variable】
【复现路径】

CREATE TRIGGER set_is_first_friend_insert BEFORE INSERT ON qw_customer_follower FOR EACH ROW
BEGIN
    DECLARE o_id INT;
    DECLARE o_createtime TIMESTAMP;
    DECLARE o_is_first INT;

		set o_id = (SELECT ID FROM qw_customer_follower  WHERE external_userid = NEW.external_userid AND corpid = NEW.corpid    ORDER BY createtime ASC    LIMIT 1);
		set o_createtime = (SELECT  createtime  FROM qw_customer_follower    WHERE external_userid = NEW.external_userid AND corpid = NEW.corpid    ORDER BY createtime ASC    LIMIT 1);
		set o_is_first = (SELECT  is_first    FROM qw_customer_follower    WHERE external_userid = NEW.external_userid AND corpid = NEW.corpid    ORDER BY createtime ASC    LIMIT 1);
	  ...
   
END;
;```

你好,你提的这个技术问题牵涉到OceanBase企业版范围内的功能细节。建议你通过以下方式寻求帮助:
1.如你所在的企业客户已签署OceanBase企业版销售合同,请你联系客户经理;
2.如你所在的企业客户尚未签署OceanBase企业版销售合同,你可通过OceanBase官网商务咨询页面留下你的联系方式,OceanBase企业版的业务顾问会在一个工作日内与你联系。
https://www.oceanbase.com/contactus?fromPage=https%3A%2F%2Fwww.oceanbase.com%2Fsoftwarecenter-enterprise&dataSources=softwarecenter-enterprise_footercontact_d2022