mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
Change sqlite3_errstr to sqlite3_errmsg
sqlite3_errstr was introduced in 3.7.15 (http://sqlite.org/changes.html) which breaks build in redhat6 (sqlite3 ver 3.6.X) and in line 77, sqlite3_errmsg is already used.
This commit is contained in:
parent
fc91f293be
commit
e58a33c9cb
@ -110,7 +110,7 @@ vector<DataBlock> readCorpus(const string &filename) {
|
|||||||
if (status != SQLITE_DONE) {
|
if (status != SQLITE_DONE) {
|
||||||
ostringstream oss;
|
ostringstream oss;
|
||||||
oss << "Error retrieving blocks from corpus: "
|
oss << "Error retrieving blocks from corpus: "
|
||||||
<< sqlite3_errstr(status);
|
<< sqlite3_errmsg(db);
|
||||||
|
|
||||||
status = sqlite3_finalize(statement);
|
status = sqlite3_finalize(statement);
|
||||||
assert(status == SQLITE_OK);
|
assert(status == SQLITE_OK);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user