• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / tarantool / 12549
100%
master: 88%

Build:
Build:
LAST BUILD BRANCH: tests_2Kb
DEFAULT BRANCH: master
Ran 19 Jun 2018 09:14AM UTC
Jobs 1
Files 353
Run time 23s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
12549

push

travis-ci

kyukhin
sql: remove redundant goto from VDBE prologue

Structure of VDBE prologue:

    0: OP_Init 0 N (address to start) 0 --|
|-> 1: ...                                |
|      ...                                |
|   N: OP_Transaction         <------------
|   N+1: (Constant expressions to be saved in registers)
|      ...
|-- M: OP_Goto 0 1 0

However, last opcode in VDBE program (i.e. OP_Goto) is generated always,
despite the existence of OP_Transaction or constant expressions.
Thus, VDBE program for queries like <SELECT * FROM table;> features
redundant jump. Such useless jump wastes exectuion time (although it is
executed once) and may affect jump prediction.

This patch adds conditional branch for generating jump opcode finishing
VDBE program: it is appended only if we need to start transaction or
code constrant expressions.

Closes #3231

62209 of 76601 relevant lines covered (81.21%)

1494046.83 hits per line

Jobs
ID Job ID Ran Files Coverage
3 12549.3 (TARGET=coverage) 19 Jun 2018 09:14AM UTC 0
81.21
Travis Job 12549.3
Source Files on build 12549
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #12549
  • df245de9 on github
  • Prev Build on 2.0 (#12546)
  • Next Build on 2.0 (#12553)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc