|
Ran
|
Jobs
1
|
Files
519
|
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)
68839 of 116390 branches covered (59.15%)
33 of 34 new or added lines in 5 files covered. (97.06%)
29 existing lines in 14 files now uncovered.103548 of 118219 relevant lines covered (87.59%)
1646609.94 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
91.74 |
-0.04% | src/box/sql/vdbe.c |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
90.73 |
-0.07% | src/box/applier.cc |
| 1 |
95.96 |
0.0% | src/box/replication.cc |
| 1 |
84.43 |
-0.1% | src/box/xlog.c |
| 1 |
87.5 |
-1.59% | src/box/xlog.h |
| 1 |
96.1 |
-0.05% | src/lib/salad/bps_tree.h |
| 1 |
91.68 |
-0.11% | src/lib/swim/swim.c |
| 1 |
97.41 |
-0.85% | src/lib/vclock/vclock.c |
| 2 |
87.38 |
-0.07% | src/box/alter.cc |
| 2 |
89.34 |
-0.11% | src/box/xrow.c |
| 2 |
86.12 |
0.0% | src/lib/core/say.c |
| 2 |
97.26 |
0.0% | src/lib/msgpuck/msgpuck.h |
| 3 |
92.93 |
-0.31% | src/lib/core/fiber.c |
| 4 |
94.23 |
-0.8% | src/box/xrow_update_field.c |
| 7 |
91.27 |
0.67% | src/box/box.cc |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 20024185979.1 | 519 |
87.59 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|