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

tarantool / tarantool / 16425
83%
master: 88%

Build:
Build:
LAST BUILD BRANCH: gh-12970-read-only-auto
DEFAULT BRANCH: master
Ran 08 Apr 2019 12:49PM UTC
Jobs 1
Files 305
Run time 22s
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
16425

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)

7 of 7 new or added lines in 2 files covered. (100.0%)

41528 of 50304 relevant lines covered (82.55%)

835540.44 hits per line

Jobs
ID Job ID Ran Files Coverage
5 16425.5 (TARGET=coverage) 08 Apr 2019 12:49PM UTC 0
82.55
Travis Job 16425.5
Source Files on build 16425
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #16425
  • 5dc6d79f on github
  • Prev Build on 1.10 (#16422)
  • Next Build on 1.10 (#16476)
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