mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug#11759349 -- Merge of patch from mysql-5.1.
This commit is contained in:
@ -186,6 +186,7 @@ int heap_create(const char *name, HP_CREATE_INFO *create_info,
|
||||
share->auto_key= create_info->auto_key;
|
||||
share->auto_key_type= create_info->auto_key_type;
|
||||
share->auto_increment= create_info->auto_increment;
|
||||
share->create_time= (long) time((time_t*) 0);
|
||||
/* Must be allocated separately for rename to work */
|
||||
if (!(share->name= my_strdup(name,MYF(0))))
|
||||
{
|
||||
|
Reference in New Issue
Block a user