[MDEV-12016] CONNECT table is marked as crashed upon DELETE with binlog_format=ROW Created: 2017-02-07  Updated: 2020-12-01

Status: Open
Project: MariaDB Server
Component/s: Replication, Storage Engine - Connect
Affects Version/s: 10.1, 10.2
Fix Version/s: 10.2

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Olivier Bertrand
Resolution: Unresolved Votes: 0
Labels: None


 Description   

--source include/have_binlog_format_row.inc
 
INSTALL SONAME 'ha_connect';
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (
  id INT NOT NULL
) ENGINE=CONNECT TABLE_TYPE=CSV;
INSERT INTO t1 VALUES(1),(2);
DELETE FROM t1;

CURRENT_TEST: bug.t5
mysqltest: At line 9: query 'DELETE FROM t1' failed: 1194: Table 't1' is marked as crashed and should be repaired

Also, wrongly formatted errors are written to the error log:

2017-02-08  2:00:17 140686105563904 [Note] CONNECT: Version 1.04.0008 August 10, 2016
Column id not found

Not reproducible on 10.0.


Generated at Thu Feb 08 07:54:27 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.