Browse Source

Support to use OceanBase like MySQL as metadata database (#13662)

* modify the order of creating tables

* use temp variable to set 'sql_mode'

* Revert "modify the order of creating tables"

This reverts commit 6f3534e92824ac0c94cbef8f79a4d8cd8e17142a.
3.2.1-prepare
He Wang 12 months ago committed by GitHub
parent
commit
107643dba8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_mysql.sql

3
dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_mysql.sql

@ -1039,7 +1039,8 @@ VALUES ('1', 'admin', '7ad2410b2f4c074479a8937a28a22b8f', '0', 'xxx@qq.com', '',
-- ----------------------------
-- Table structure for t_ds_plugin_define
-- ----------------------------
SET sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY','') into @new_sql_mode;
SET sql_mode=@new_sql_mode;
DROP TABLE IF EXISTS `t_ds_plugin_define`;
CREATE TABLE `t_ds_plugin_define` (
`id` int NOT NULL AUTO_INCREMENT,

Loading…
Cancel
Save