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 commit6f3534e928. (cherry picked from commit107643dba8)
This commit is contained in:
parent
6a38b0e6ed
commit
d3419fec39
|
|
@ -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…
Reference in New Issue