This is an automated email from the ASF dual-hosted git repository.

wenjun pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new d8506925dd [Fix-17022][tools] SQL syntax error at upgrade sql file in 
3.2.0_schema (#17028)
d8506925dd is described below

commit d8506925dd12c110b228884aaa5c49dad416aa93
Author: wdg <[email protected]>
AuthorDate: Mon Feb 24 18:02:37 2025 +0800

    [Fix-17022][tools] SQL syntax error at upgrade sql file in 3.2.0_schema 
(#17028)
---
 .../resources/sql/upgrade/3.2.0_schema/mysql/dolphinscheduler_dml.sql  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/dolphinscheduler-dao/src/main/resources/sql/upgrade/3.2.0_schema/mysql/dolphinscheduler_dml.sql
 
b/dolphinscheduler-dao/src/main/resources/sql/upgrade/3.2.0_schema/mysql/dolphinscheduler_dml.sql
index 4a9351c6b1..69c00c4619 100644
--- 
a/dolphinscheduler-dao/src/main/resources/sql/upgrade/3.2.0_schema/mysql/dolphinscheduler_dml.sql
+++ 
b/dolphinscheduler-dao/src/main/resources/sql/upgrade/3.2.0_schema/mysql/dolphinscheduler_dml.sql
@@ -30,10 +30,11 @@ END IF;
 END;
 d//
 
+delimiter ;
+
 -- If the admin account is not associated with a tenant, the admin's tenant 
will be set to the default tenant.
 UPDATE `t_ds_user` SET `tenant_id` = '-1' WHERE (`user_name` = 'admin') AND 
(`tenant_id` = '0');
 
-delimiter ;
 CALL dolphin_t_ds_tenant_insert_default();
 DROP PROCEDURE dolphin_t_ds_tenant_insert_default;
 

Reply via email to