[MDEV-18853] Assertion `0' failed in Protocol::end_statement upon DELETE .. FOR PORTION via prepared statement Created: 2019-03-08  Updated: 2019-04-02  Resolved: 2019-04-02

Status: Closed
Project: MariaDB Server
Component/s: Data Manipulation - Delete, Prepared Statements, Versioned Tables
Affects Version/s: 10.4
Fix Version/s: 10.4.4

Type: Bug Priority: Critical
Reporter: Elena Stepanova Assignee: Nikita Malyavin
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-18852 Server crashes in reinit_stmt_before_... Closed

 Description   

$ perl ./mtr  --ps-protocol period.delete

10.4 7b9981fb

#7  0x00007f2b5ce20ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x0000565362702a79 in Protocol::end_statement (this=0x7f2b040010c8) at /data/src/10.4/sql/protocol.cc:606
#9  0x000056536281f445 in dispatch_command (command=COM_STMT_EXECUTE, thd=0x7f2b04000b00, packet=0x7f2b041a0741 "\v", packet_length=9, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:2423
#10 0x000056536281bd55 in do_command (thd=0x7f2b04000b00) at /data/src/10.4/sql/sql_parse.cc:1358
#11 0x0000565362995b0d in do_handle_one_connection (connect=0x565365e29890) at /data/src/10.4/sql/sql_connect.cc:1399
#12 0x000056536299587e in handle_one_connection (arg=0x565365e29890) at /data/src/10.4/sql/sql_connect.cc:1302
#13 0x0000565362e8bbf7 in pfs_spawn_thread (arg=0x565365e6f770) at /data/src/10.4/storage/perfschema/pfs.cc:1862
#14 0x00007f2b5eaf7494 in start_thread (arg=0x7f2b5213d700) at pthread_create.c:333
#15 0x00007f2b5cedd93f in clone () from /lib/x86_64-linux-gnu/libc.so.6



 Comments   
Comment by Sergei Golubchik [ 2019-03-08 ]

please add the period suite to the mtr default list after ensuring that is passes in normal and --ps modes.

Generated at Thu Feb 08 08:47:14 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.