• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / tarantool / 24831027011

23 Apr 2026 10:48AM UTC coverage: 87.589% (+0.02%) from 87.572%
24831027011

push

github

Buristan
datetime: fixed timestamp type check in set()

Missed 'invalid timestamp' tests for `new()` (regular behaviour)
and for `set()` (old behaviour) added also.

Fixes #12411

@TarantoolBot document
Title: Datetime `set()` timestamp type check fixed.

For backward compatibility
the `compat.datetime_setfn_timestamp_type_check` option has been
introduced. It's disabled by default for now ('old' behaviour),
which means no type check is performed. The 'new' behaviour
(with type check) is planned to be set as the default in version 4.x.

Required docu page: https://tarantool.io/compat/datetime_setfn_timestamp_type_check

See DATETIME_SETFN_TIMESTAMP_TYPE_CHECK_BRIEF in compat.lua for details.

(cherry picked from commit df461f1a2)

68816 of 116391 branches covered (59.12%)

1 of 1 new or added line in 1 file covered. (100.0%)

68 existing lines in 18 files now uncovered.

103585 of 118262 relevant lines covered (87.59%)

1642960.37 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

90.63
/src/box/engine.c


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc