我无法重现该问题:
DROP PROCEDURE IF EXISTS `deleteUser`;
DROP TABLE IF EXISTS `Table3`, `Table2`, `Table1`;
CREATE TABLE IF NOT EXISTS `Table1` (
`id` INT
);
CREATE TABLE IF NOT EXISTS `Table2` (
`user_id` INT
);
CREATE TABLE IF NOT EXISTS `Table3` (
`userid` INT
);
INSERT INTO `Table1` VALUES (100), (200), (300), (400);
INSERT INTO `Table2` VALUES (100), (600), (700), (800);
INSERT INTO `Table3` VALUES (100), (900), (1000), (1100);
SELECT `id` FROM `Table1`;
SELECT `user_id` FROM `Table2`;
SELECT `userid` FROM `Table3`;
DELIMITER \\
CREATE PROCEDURE `deleteUser`(IN `_userid` INT)
BEGIN
DELETE FROM `Table1` WHERE `id` = `_userid`;
DELETE FROM `Table2` WHERE `user_id` = `_userid`;
DELETE FROM `Table3` WHERE `userid` = `_userid`;
END\\
DELIMITER ;
CALL `deleteUser`(100);
SELECT `id` FROM `Table1`;
SELECT `user_id` FROM `Table2`;
SELECT `userid` FROM `Table3`;
Rextester中的示例。