mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
move away from TIMESTAMP_DNUN_FIELD/TIMESTAMP_DN_FIELD code
use the new approach with Field->default_value expressions. But keep the old TIMESTAMP_UN_FIELD for ON UPDATE NOW().
This commit is contained in:
@@ -2489,8 +2489,8 @@ TABLE *Delayed_insert::get_local_table(THD* client_thd)
|
||||
(*field)->default_value= vcol;
|
||||
*dfield_ptr++= *field;
|
||||
}
|
||||
if ((*field)->has_insert_default_function() ||
|
||||
(*field)->has_update_default_function())
|
||||
else
|
||||
if ((*field)->has_update_default_function())
|
||||
*dfield_ptr++= *field;
|
||||
}
|
||||
if (vfield)
|
||||
|
Reference in New Issue
Block a user