mirror of
https://github.com/MariaDB/server.git
synced 2026-05-03 05:35:31 +02:00
MDEV-9949 Connect Engine: long SRCDEF leads to broken table
Two bugs here: * the server could create an frm (with a long attribute value) that it could not read back * Connect engine opened files from inside DROP TABLE and was ignoring the error (correctly) but was not hiding it from the server (incorrectly). This caused a crash later when DROP TABLE was finishing successfully while stmt_da already have seen an error. Also added a text case for MDEV-7935 CREATE TABLE ... AS SELECT ... can cause a Server crash (Assertion `0' in Protocol::end_statement) because Connect stopped clearing the error status in stmt_da as a fix for MDEV-7935
This commit is contained in:
parent
09464ddec4
commit
ea195d372b
8 changed files with 64 additions and 10 deletions
|
|
@ -6506,8 +6506,8 @@ ER_PARTITION_EXCHANGE_FOREIGN_KEY
|
|||
swe "Tabellen att byta ut mot partition har foreign key referenser: '%-.64s'"
|
||||
ER_NO_SUCH_KEY_VALUE
|
||||
eng "Key value '%-.192s' was not found in table '%-.192s.%-.192s'"
|
||||
ER_RPL_INFO_DATA_TOO_LONG
|
||||
eng "Data for column '%s' too long"
|
||||
ER_VALUE_TOO_LONG
|
||||
eng "Too long value for '%s'"
|
||||
ER_NETWORK_READ_EVENT_CHECKSUM_FAILURE
|
||||
eng "Replication event checksum verification failed while reading from network."
|
||||
ER_BINLOG_READ_EVENT_CHECKSUM_FAILURE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue