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

SRombauts / SQLiteCpp
96%
master: 100%

Build:
Build:
LAST BUILD BRANCH: use-in-loadable-extension
DEFAULT BRANCH: master
Repo Added 20 Jun 2016 02:42PM UTC
Files 20
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

LAST BUILD ON BRANCH fix-vs2013-column-test
branch: fix-vs2013-column-test
CHANGE BRANCH
x
Reset
  • fix-vs2013-column-test
  • 2.0.0
  • 2.1.0
  • 2.2.0
  • 2.3.0
  • 2.4.0
  • 2.5.0
  • 3.0.0
  • 3.1.0
  • 3.1.1
  • add-bind-no-copy-pull-request-86
  • add-cmake-project-version-to-fix-warning
  • add-implicit-cast-char-short
  • asan-tests
  • coverity_scan
  • create-function-unit-test
  • database-backup
  • fix-coveralls
  • fix-lp64-ambiguous-bind
  • fix-nullptr
  • fix-warning-extern-variable-has-an-initializer
  • gcc-7
  • gcc-9-fix-bind
  • gcov-inline-functions
  • libsqlite3
  • master
  • move-constructor
  • sqlite-3.34
  • sqlitecpp-2.x
  • sqlitecpp-3.x
  • statement-unit-tests
  • subdir_example
  • test-building-with-mingw-on-appveyor
  • test-travis-ci-configuration
  • travis-valgrind
  • try_execute
  • update-sqlite3.19.3
  • vs2019

pending completion
497

push

travis-ci

SRombauts
Fix #189 unit test "Column.basis" failing on Visual Studio 2013

The implicit cast to std::string() would fallback to const char* with MSVC 2010-2013 (witch does not work with the NULL char in the middle)

Without it, trying to access a binary blob with implicit cast to string
ends up converting it to a C-style char*, damaging the data by truncating it to the first null character!

450 of 467 relevant lines covered (96.36%)

36.51 hits per line

Relevant lines Covered
Build:
Build:
467 RELEVANT LINES 450 COVERED LINES
36.51 HITS PER LINE
Source Files on fix-vs2013-column-test
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
497 fix-vs2013-column-test Fix #189 unit test "Column.basis" failing on Visual Studio 2013 The implicit cast to std::string() would fallback to const char* with MSVC 2010-2013 (witch does not work with the NULL char in the middle) Without it, trying to access a binary blo... push 03 Mar 2019 07:57AM UTC SRombauts travis-ci pending completion  
496 fix-vs2013-column-test Fix #189 unit test "Column.basis" failing on Visual Studio 2013 The implicit cast to std::string() would fallback to const char* with MSVC 2010-2013 (witch does not work with the NULL char in the middle) Without it, trying to access a binary blo... push 03 Mar 2019 07:33AM UTC SRombauts travis-ci pending completion  
495 fix-vs2013-column-test Further testing push 03 Mar 2019 07:23AM UTC SRombauts travis-ci pending completion  
493 fix-vs2013-column-test Fix #189 unit test "Column.basis" failing on Visual Studio 2013 It seems to be related to an SQLite3 bug: Accessing the blob as a string can change it's type (under VS2013 only!) So we do this specific test separately at the end, after having tes... push 02 Mar 2019 11:39PM UTC SRombauts travis-ci pending completion  
490 fix-vs2013-column-test Fix #189 unit test "Column.basis" failing on Visual Studio 2013 Switch to using unsigned char for the buffer since char is seen as a text instead of a blob under VS2013 push 02 Mar 2019 10:57PM UTC SRombauts travis-ci pending completion  
482 fix-vs2013-column-test Fix #189 unit test "Column.basis" failing on Visual Studio 2013 Switch to using unsigned char for the buffer since char is seen as a text instead of a blob under VS2013 Also fix #168 Better MSVC support push 02 Mar 2019 09:11PM UTC SRombauts travis-ci pending completion  
480 fix-vs2013-column-test Trying to fix the Column basis unit test on VS2013 push 02 Mar 2019 05:36PM UTC SRombauts travis-ci pending completion  
See All Builds (588)
  • Repo on GitHub
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