Re: [Maria-developers] [Commits] Mdev-15085 Rebased to latest 10.3

29 Jan
2018
29 Jan
'18
7:36 p.m.
Hi, Sachin! On Jan 29, Sachin Setiya wrote:
No-no, you cannot create items in fill_record(). It would create a new item for every inserted row. I think the only thing you need to do here (and it doesn't depend on AUTO_INCREMENT_FLAG or field->default_value), you need to set all_fields_have_values to false. Like if (field->invisible) { all_fields_have_values= false; continue; } Indeed, hidden columns did not get a value, so all_fields_have_values should be false. I'd expect the rest will work automatically :)
Regards, Sergei Chief Architect MariaDB and security@mariadb.org
2622
Age (days ago)
2623
Last active (days ago)
1 comments
2 participants
participants (2)
-
Sachin Setiya
-
Sergei Golubchik