mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
branches/zip: Initialize some uninitialized variables in order to avoid
comparing uninitialized values. dict_mem_table_create(): Initialize table->version_number. ins_node_create(): Initialize node->table_version_number. row_create_prebuilt(): Initialize all fields. Initialize most fields by memset(), so that any fields that are added will be initialized automatically.
This commit is contained in:
@@ -72,6 +72,7 @@ ins_node_create(
|
||||
|
||||
node->state = INS_NODE_SET_IX_LOCK;
|
||||
node->table = table;
|
||||
node->table_version_number = table->version_number;
|
||||
node->index = NULL;
|
||||
node->entry = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user