Commit 2480aa3e authored by 季圣华's avatar 季圣华
Browse files

更新sql,解决函数创建的bug

parent e2be094c
...@@ -1991,7 +1991,7 @@ INSERT INTO `tbl_sequence` VALUES ('depot_number_seq', '1', '999999999999999999' ...@@ -1991,7 +1991,7 @@ INSERT INTO `tbl_sequence` VALUES ('depot_number_seq', '1', '999999999999999999'
-- ---------------------------- -- ----------------------------
DROP FUNCTION IF EXISTS `_nextval`; DROP FUNCTION IF EXISTS `_nextval`;
DELIMITER ;; DELIMITER ;;
CREATE DEFINER=`root`@`%` FUNCTION `_nextval`(name varchar(50)) RETURNS mediumtext CHARSET utf8 CREATE FUNCTION `_nextval`(name varchar(50)) RETURNS mediumtext CHARSET utf8
begin begin
declare _cur bigint; declare _cur bigint;
declare _maxvalue bigint; -- 接收最大值 declare _maxvalue bigint; -- 接收最大值
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment