|
Ran
|
Files
519
|
Run time
35s
|
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%)
103548 of 118219 relevant lines covered (87.59%)
1646609.94 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|