1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-13861 Assertion `0' failed in Protocol::end_statement

followup for 378beed0a6 - only count WARN_LEVEL_ERROR,
not warnings or notes.
This commit is contained in:
Sergei Golubchik
2017-09-21 18:05:07 +02:00
parent cb1b466c0c
commit 8d0448d507
3 changed files with 18 additions and 1 deletions

View File

@ -745,3 +745,9 @@ f1 f2
drop view v1;
drop table t1;
SET @@sql_mode= @save_mode;
CREATE TABLE t1 (f INT);
CREATE VIEW v1 AS SELECT * FROM t1 WHERE f <=> 'foo' WITH CHECK OPTION;
REPLACE INTO v1 SET f = NULL;
ERROR HY000: CHECK OPTION failed 'test.v1'
DROP VIEW v1;
DROP TABLE t1;