*** Bug #27719 ***
SET @@storage_engine = 'Falcon';
DROP TABLE IF EXISTS t1;
DROP PROCEDURE IF EXISTS p1;
CREATE TABLE t1 (a blob);
INSERT INTO t1 VALUES ('1');
COMMIT;
SET @@autocommit = 0;
CREATE PROCEDURE p1 ()
BEGIN
DECLARE v int DEFAULT 0;
WHILE v < 35000 DO
/* IF v MOD 1000 = 0 THEN SELECT v; END IF; */
UPDATE t1 SET a = '1';
COMMIT;
SET v = v + 1;
END WHILE;
END //
CALL p1;
SELECT count(*) FROM t1;
count(*)
1
DROP TABLE t1;
DROP PROCEDURE p1;
