mirror of
https://github.com/MariaDB/server.git
synced 2026-04-30 20:25:32 +02:00
timestamp MYD-4.0 format compatibility fix
This commit is contained in:
parent
7b39d3060f
commit
6732f7a962
1 changed files with 1 additions and 0 deletions
|
|
@ -2672,6 +2672,7 @@ Field_timestamp::Field_timestamp(char *ptr_arg, uint32 len_arg,
|
|||
:Field_str(ptr_arg, 19, (uchar*) 0,0,
|
||||
unireg_check_arg, field_name_arg, table_arg, cs)
|
||||
{
|
||||
flags|=ZEROFILL_FLAG; /* 4.0 MYD compatibility */
|
||||
if (table && !table->timestamp_field)
|
||||
{
|
||||
table->timestamp_field= this; // Automatic timestamp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue