DROP TABLE IF EXISTS diaries;
SET NAMES utf8mb4;
CREATE TABLE diaries(
title TEXT
) DEFAULT CHARSET=utf8mb4;
INSERT INTO diaries VALUES ('Hello');
SET STATEMENT max_statement_time = 0.001 FOR
SELECT sleep(1), title FROM diaries;
ERROR 70100: Query was interrupted: execution time limit 0.001 sec exceeded
SELECT sleep(1), title FROM diaries;
sleep(1)	title
0	Hello
SET STATEMENT max_statement_time = 10 FOR
SELECT sleep(1), title FROM diaries;
sleep(1)	title
0	Hello
DROP TABLE diaries;
