Ran
|
Jobs
1
|
Files
479
|
Run time
1min
|
Badge
Embed ▾
README BADGES
|
push
github
sql: do not use raw index for count Currently, we use raw index for count operation instead of `box_index_count`. As a result, we skip a check if current transaction can continue and we don't begin transaction in engine if needed. So, if count statement is the first in a transaction, it won't be tracked by MVCC since it wasn't notified about the transaction. The commit fixes the mistake. Also, the commit adds a check if count was successful and covers it with a test. In order to backport the commit to 2.11, space name was wrapped with quotes since it is in lower case and addressing such spaces with SQL without quotes is Tarantool 3.0 feature. Another unsupported feature is prohibition of data access in transactional triggers - it was used in a test case so it was rewritten. Closes #10825 NO_DOC=bugfix (cherry picked from commit 0656a9231)
63154 of 114381 branches covered (55.21%)
5 of 5 new or added lines in 2 files covered. (100.0%)
37 existing lines in 14 files now uncovered.94013 of 109370 relevant lines covered (85.96%)
2679225.08 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
96.21 |
-0.2% | src/box/relay.cc |
1 |
86.36 |
-0.65% | src/curl.c |
1 |
93.57 |
0.01% | src/box/sql.c |
1 |
91.92 |
-0.05% | src/box/vinyl.c |
1 |
89.92 |
-0.1% | src/box/memtx_engine.cc |
1 |
96.0 |
-4.0% | src/lib/core/trigger.h |
2 |
95.18 |
-0.42% | src/lua/fiber.c |
3 |
97.6 |
-0.23% | src/box/memtx_tx.c |
3 |
89.84 |
-0.23% | src/box/applier.cc |
3 |
87.19 |
0.6% | src/box/box.cc |
4 |
81.82 |
-12.12% | src/lua/minifio.c |
4 |
93.31 |
-1.27% | src/lib/swim/swim_io.c |
5 |
93.71 |
-0.83% | src/box/replication.cc |
7 |
94.55 |
-1.53% | src/box/vy_read_iterator.c |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 11952384890.1 | 479 |
85.96 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|