|
Ran
|
Jobs
1
|
Files
306
|
Run time
23s
|
Badge
README BADGES
|
push
travis-ci
<a href="https://github.com/tarantool/tarantool/commit/<a class=hub.com/tarantool/tarantool/commit/e562a1e67bffc640d098180ddf98431d2049a554">e562a1e67<a href="https://github.com/tarantool/tarantool/commit/e562a1e67bffc640d098180ddf98431d2049a554">">func: fix not unloading of unused modules C functions are loaded from .so/.dylib dynamic libraries. A library is loaded when any function from there is called first time. And was supposed to be unloaded, when all its functions are dropped from the schema (box.schema.func.drop()), and none of them is still in a call. But the unloading part was broken. In fact, box.schema.func.drop() never unloaded anything. Moreover, when functions from the module were added again without a restart, it led to a second mmap of the same module. And so on, the same library could be loaded any number of times. The problem was in a useless flag in struct module preventing its unloading even when it is totally unused. It is dropped. Closes #4648 (cherry picked from commit </a><a class="double-link" href="https://github.com/tarantool/tarantool/commit/<a class="double-link" href="https://github.com/tarantool/tarantool/commit/ca07088cd4ad45f04951504e0a5924af2de0129c">ca07088cd</a>">ca07088cd</a><a href="https://github.com/tarantool/tarantool/commit/e562a1e67bffc640d098180ddf98431d2049a554">)
41660 of 50578 relevant lines covered (82.37%)
903223.67 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 4 | 19916.4 (TARGET=coverage) | 0 |
82.37 |
Travis Job 19916.4 |