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

tarantool / tarantool / 16425 / 5
83%
master: 88%

Build:
Build:
LAST BUILD BRANCH: gh_11563_space_format_new
DEFAULT BRANCH: master
Ran 08 Apr 2019 12:49PM UTC
Files 305
Run time 19s
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

08 Apr 2019 10:15AM UTC coverage: 82.554% (+0.01%) from 82.544%
TARGET=coverage

push

travis-ci

locker
lua: add type of operation to space trigger parameters

Add the type of operation which is being executed to before_replace and
on_replace triggers.

Closes #4099

@TarantoolBot document
Title: new parameter for space before_replace and on_replace triggers
Now before_replace and on_replace triggers accept an additional
parameter: the type of operation that is being executed.
(INSERT/REPLACE/DELETE/UPDATE/UPSERT)
For example, a trigger function may now look like this:
```
function before_replace_trig(old, new, space_name, op_type)
    if op_type == 'INSERT' then
	return old
    else
	return new
    end
end
```
And will restrict all INSERTs, but allow REPLACEs, UPSERTs, DELETEs and
UPDATEs.

(cherry picked from commit 5ab0763b8)

41528 of 50304 relevant lines covered (82.55%)

835540.44 hits per line

Source Files on job 16425.5 (TARGET=coverage)
  • Tree
  • List 0
  • Changed 254
  • Source Changed 2
  • Coverage Changed 254
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 13544
  • Travis Job 16425.5
  • 5dc6d79f on github
  • Prev Job for TARGET=coverage on 1.10 (#16422.5)
  • Next Job for TARGET=coverage on 1.10 (#16476.5)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc