mirror of
https://github.com/MariaDB/server.git
synced 2026-05-17 20:37:12 +02:00
MDEV-38374 nonsense code in wsrep_store_key_val_for_row()
fix copy-paste error. See the code for MYSQL_TYPE_VARCHAR
This commit is contained in:
parent
9fc46b8857
commit
2dcd3cefe1
3 changed files with 32 additions and 1 deletions
|
|
@ -6918,12 +6918,12 @@ wsrep_store_key_val_for_row(
|
|||
wsrep_thd_query(thd));
|
||||
true_len = buff_space;
|
||||
}
|
||||
memcpy(buff, sorted, true_len);
|
||||
buff += true_len;
|
||||
buff_space -= true_len;
|
||||
} else {
|
||||
buff += key_len;
|
||||
}
|
||||
memcpy(buff, sorted, true_len);
|
||||
} else {
|
||||
/* Here we handle all other data types except the
|
||||
true VARCHAR, BLOB and TEXT. Note that the column
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue