mirror of
https://github.com/MariaDB/server.git
synced 2026-05-04 22:25:32 +02:00
cleanup: TABLE::init()
unused freshly initialized record should be trashed with TRASH_ALLOC, not TRASH_FREE
This commit is contained in:
parent
335082ec5e
commit
d440319842
1 changed files with 1 additions and 1 deletions
|
|
@ -4454,7 +4454,7 @@ void TABLE::init(THD *thd, TABLE_LIST *tl)
|
|||
DBUG_ASSERT(key_read == 0);
|
||||
|
||||
/* mark the record[0] uninitialized */
|
||||
TRASH(record[0], s->reclength);
|
||||
TRASH_ALLOC(record[0], s->reclength);
|
||||
|
||||
/*
|
||||
Initialize the null marker bits, to ensure that if we are doing a read
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue