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

tarantool / tarantool / 11219759109
87%
master: 88%

Build:
Build:
LAST BUILD BRANCH: ninarodicova/test4
DEFAULT BRANCH: master
Ran 07 Oct 2024 04:29PM UTC
Jobs 1
Files 514
Run time 2min
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

07 Oct 2024 04:18PM UTC coverage: 87.242% (-0.003%) from 87.245%
11219759109

push

github

locker
index_def: make index_def_new non-failing

Function `index_def_new` can fail only due to failure of identifier
validation and due to failure of `key_def_merge` helper. The helper
`key_def_merge` can fail only because of OOM or if multikey validation
has failed.

Firstly, we never need to check identifier in `index_def_new` because we
always do it earlier actually (except for cases we use string literals
for internal indexes, but we don't need to check them anyway), so let's
remove this check. Secondly, `key_def_merge` cannot fail because of
multikey validation in `index_def_new` because the secondary index is
already validated and primary index cannot have multikey path at all.
So here it can fail only because of allocation failure - let's simply
make `key_def_merge` panic on OOM so that `index_def_new` will become
non-failing.

Closes tarantool/security#130

NO_TEST=not reproducible
NO_CHANGELOG=not reproducible
NO_DOC=bugfix

(cherry picked from commit d628b71bc)

68443 of 121737 branches covered (56.22%)

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

50 existing lines in 22 files now uncovered.

101071 of 115851 relevant lines covered (87.24%)

2546109.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11219759109.1 07 Oct 2024 04:29PM UTC 0
87.24
GitHub Action Run
Source Files on build 11219759109
Detailed source file information is not available for this build.
  • Back to Repo
  • 5f0e55f4 on github
  • Prev Build on release/3.2 (#11217623235)
  • Next Build on release/3.2 (#11239290339)
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