|
Ran
|
Jobs
1
|
Files
513
|
Run time
2min
|
Badge
README BADGES
|
push
github
box: fix _func id overflow Each time one used the `box.schema.func.create`, the primary key of the resulted function increased because of the `_func:auto_increment`. Now the new key is chosen by the `generate_func_id` in Lua and `OP_GenFuncid` SQL opcode, both implemented using the new `box_generate_func_id` function that shares logic with `box_generate_space_id`. Hence we are scanning the entire range of possible ids `[0, BOX_FUNCTION_MAX)` before we are returning an error. Fixes #11849 Fixes #11851 NO_DOC=bugfix (cherry picked from commit 95d35505f)
69851 of 117658 branches covered (59.37%)
33 of 34 new or added lines in 5 files covered. (97.06%)
31 existing lines in 14 files now uncovered.104833 of 119623 relevant lines covered (87.64%)
1399929.06 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
91.69 |
-0.04% | src/box/sql/vdbe.c |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 10 |
91.34 |
-0.02% | src/box/box.cc |
| 4 |
93.31 |
-1.27% | src/lib/swim/swim_io.c |
| 3 |
90.36 |
-0.15% | src/box/applier.cc |
| 3 |
88.01 |
-0.19% | src/box/vy_run.c |
| 2 |
87.47 |
-0.07% | src/box/alter.cc |
| 1 |
96.3 |
-0.17% | src/box/relay.cc |
| 1 |
95.72 |
-0.12% | src/box/replication.cc |
| 1 |
92.51 |
0.04% | src/box/vinyl.c |
| 1 |
91.21 |
0.2% | src/box/vy_scheduler.c |
| 1 |
93.13 |
0.1% | src/lib/core/fiber.c |
| 1 |
71.97 |
-0.2% | src/lib/core/popen.c |
| 1 |
90.38 |
-1.77% | src/lib/core/trigger.cc |
| 1 |
96.95 |
-0.1% | src/lib/msgpuck/msgpuck.h |
| 1 |
91.68 |
-0.11% | src/lib/swim/swim.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 20024189778.1 | 513 |
87.64 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|