Fix issue 2993 - Crash when inserting a record with a DATETIME with CURRENT_TIMESTAMP as default

Fix for issue 2993