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 6f3534e928.

(cherry picked from commit 107643dba8)
This commit is contained in:
He Wang 2023-07-07 10:36:44 +08:00 committed by Jay Chung
parent 6a38b0e6ed
commit d3419fec39
1 changed files with 2 additions and 1 deletions

View File

@ -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,