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

tarantool / tarantool / 6571927679
88%

Build:
DEFAULT BRANCH: master
Ran 19 Oct 2023 08:39AM UTC
Jobs 1
Files 499
Run time 19s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Oct 2023 08:30AM UTC coverage: 86.42% (-0.003%) from 86.423%
6571927679

push

github

locker
box: call tuple_free from box_free

There are four problems we have to address to make this possible:

 1. memtx_engine_shutdown may delete the tuple referenced by
    box_tuple_last so that tuple_free, which is called later by
    box_free, will crash trying to free it. Fix this by clearing
    box_tuple_last in memtx_engine_shutdown.

 2. tuple_format_destroy and tuple_field_delete, called by it, expect
    all constraints to be detached. Let's destroy the constraints if
    this isn't the case. This effectively reverts commit 7a87b9a594ee5
    ("box: do not call constraint[i].destroy() in
    tuple_field_delete()").

 3. tuple_field_delete, called by tuple_format_destroy, expects the
    default value function to be unpinned. Let's unpin it if this isn't
    the case. To avoid linking dependencies between the tuple and box
    libraries, we have to introduce a virtual destructor for
    field_default_func.

 4. The tuple_format unit test calls tuple_free after box_free. If
    box_free calls tuple_free by itself, this leads to a crash. Fix this
    by removing tuple_free and tuple_init calls from the test.

Closes #9174

NO_DOC=code health
NO_CHANGELOG=code health
NO_TEST=checked by existing tests

65057 of 116996 branches covered (0.0%)

17 of 17 new or added lines in 5 files covered. (100.0%)

96866 of 112087 relevant lines covered (86.42%)

2655215.33 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6571927679.1 19 Oct 2023 08:39AM UTC 0
86.42
GitHub Action Run
Source Files on build 6571927679
Detailed source file information is not available for this build.
  • Back to Repo
  • 05751e6c on github
  • Prev Build on master (#6562398000)
  • Next Build on master (#6578237276)
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