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

mattn / go-sqlite3 / 509
54%

Build:
DEFAULT BRANCH: master
Ran 24 Mar 2017 08:41AM CUT
Jobs 12
Files 0
Run time 1s
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
509

Pull #399

travis-ci

web-flow
Adding hook to vhook to allow vtables to be modified

This commit changes the vtable 'xUpdate' goModule field to a new
'cXUpdate' callback function which in turns calls a 'goVUpdate'
callback.

This new callback allows Go defined virtual table implementations
satisfying the VTabUpdater interface (also newly defined) a way to
delete/insert/update rows in a VTab.

Additionally, an anonymous interface is used within the goVUpdate
callback looking for 'TableName() string' which, when defined on a VTab
is used to provide a better contextual error message to end users if the
VTab is read only.

Care was taken to follow existing code style/conventions for this
addition, and for backwards-compatibility with existing VTab
implementations (hence why a new interface was required).
Pull Request #399: Adding hook to vtable to allow VTab's to be updated

771 of 1231 relevant lines covered (62.63%)

95427.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 509.1 (GOTAGS=) 24 Mar 2017 08:41AM CUT 0
62.63
Travis Job 509.1
2 509.2 (GOTAGS=) 24 Mar 2017 08:41AM CUT 0
61.32
Travis Job 509.2
3 509.3 (GOTAGS=) 24 Mar 2017 08:43AM CUT 0
61.32
Travis Job 509.3
4 509.4 (GOTAGS=libsqlite3) 24 Mar 2017 08:41AM CUT 0
62.63
Travis Job 509.4
5 509.5 (GOTAGS=libsqlite3) 24 Mar 2017 08:41AM CUT 0
61.32
Travis Job 509.5
6 509.6 (GOTAGS=libsqlite3) 24 Mar 2017 08:46AM CUT 0
61.32
Travis Job 509.6
7 509.7 (GOTAGS=trace) 24 Mar 2017 08:45AM CUT 0
62.63
Travis Job 509.7
8 509.8 (GOTAGS=trace) 24 Mar 2017 08:45AM CUT 0
61.32
Travis Job 509.8
9 509.9 (GOTAGS=trace) 24 Mar 2017 08:48AM CUT 0
61.32
Travis Job 509.9
10 509.10 (GOTAGS=vtable) 24 Mar 2017 08:47AM CUT 0
62.63
Travis Job 509.10
11 509.11 (GOTAGS=vtable) 24 Mar 2017 08:49AM CUT 0
61.32
Travis Job 509.11
12 509.12 (GOTAGS=vtable) 24 Mar 2017 08:51AM CUT 0
61.32
Travis Job 509.12
Source Files on build 509
  • List 0
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
No data available in table
Showing 0 to 0 of 0 entries
  • Previous
  • Next
  • Back to Repo
  • Travis Build #509
  • Pull Request #399
  • PR Base - master (#508)
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

© 2025 Coveralls, Inc