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

tarantool / tarantool / 13175
100%
master: 88%

Build:
Build:
LAST BUILD BRANCH: drewdzzz/remove_tuples_from_logs
DEFAULT BRANCH: master
Ran 27 Jul 2018 08:10AM UTC
Jobs 1
Files 352
Run time 26s
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
13175

push

travis-ci

kshcherbatov
sql: introduce TRUNCATE TABLE operation

To implement new TRUNCATE operation, we have introduced a
new P2 argument for OP_Clear opcode that calles box_truncate
instead of tarantoolSqlite3ClearTable.
This operation should work faster than DELETE FROM; but have
a few restricts.

Closes #2201.

@TarantoolBot document
Title: New TRUNCATE operation
TRUNCATE is DDL operation.
Removes all rows from a table or specified partitions of a table,
without logging the individual row deletions.
TRUNCATE TABLE is similar to the DELETE statement with no WHERE
clause; however, TRUNCATE TABLE is faster and uses fewer system
resources.
It couldn't be used with system tables or with tables having FKs.
It also couldn't be called in transaction.
The triggers on table will have ignored.
Example:
TRUNCATE TABLE t1;

62673 of 77010 relevant lines covered (81.38%)

3653747.9 hits per line

Jobs
ID Job ID Ran Files Coverage
3 13175.3 (TARGET=coverage) 27 Jul 2018 08:10AM UTC 0
81.38
Travis Job 13175.3
Source Files on build 13175
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #13175
  • dbe38b0d on github
  • Prev Build on 2.0 (#13143)
  • Next Build on 2.0 (#13180)
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