Permalink
Browse files

db, bugfix: compile warning in sqlite on windows.

  • Loading branch information...
xicilion committed May 15, 2018
1 parent a77c70d commit b0248329a6307a012e434200edf91caa5e71a6c7
Showing with 1 addition and 1 deletion.
  1. +1 −1 fibjs/src/db/sql/SQLite.cpp
@@ -261,7 +261,7 @@ result_t SQLite::execute(const char* sql, int32_t sLen, obj_ptr<NArray>& retVal)
if (!stmt)
return CHECK_ERROR(Runtime::setError("SQLite: Query was empty"));
sLen -= pStr1 - sql;
sLen -= (int32_t)(pStr1 - sql);
int32_t columns = sqlite3_column_count(stmt);
obj_ptr<DBResult> res;

0 comments on commit b024832

Please sign in to comment.