我有一个简单的存储过程:
docker commit -m file1 file2
这给了我:
DELIMITER $$
CREATE PROCEDURE `my_proc`(IN mac VARCHAR(12), IN my_field1 INTEGER)
BEGIN
UPDATE mytable SET field1 = my_field1 WHERE mac_address = mac;
END$$
第4行是" 1064 - You have an error in your SQL syntax; check the manual that corresponds
to your MySQL server version for the right syntax to use near '' at line 4
"
这怎么可能?