main.commit 'xtradb' w3 [ fail ]
|
Test ended at 2016-09-04 18:15:34
|
|
CURRENT_TEST: main.commit
|
innodb_open_files should not be greater than the open_files_limit.
|
mysqltest: At line 486: query 'CREATE FUNCTION f1() RETURNS INT
|
BEGIN
|
DELETE FROM t1;
|
RETURN 1;
|
END' failed: 1792: Cannot execute statement in a READ ONLY transaction.
|
|
The result from queries just before the failure was:
|
< snip >
|
HANDLER t1 READ FIRST;
|
a
|
HANDLER t1 CLOSE;
|
HANDLER temp_t2 OPEN;
|
HANDLER temp_t2 READ FIRST;
|
a
|
HANDLER temp_t2 CLOSE;
|
# 5: Prepared statements
|
PREPARE stmt FROM "DELETE FROM t1";
|
ERROR 25006: Cannot execute statement in a READ ONLY transaction.
|
PREPARE stmt FROM "DELETE FROM temp_t2";
|
EXECUTE stmt;
|
DEALLOCATE PREPARE stmt;
|
COMMIT;
|
# 6: Stored routines
|
CREATE FUNCTION f1() RETURNS INT
|
BEGIN
|
DELETE FROM t1;
|
RETURN 1;
|
END|
|