Skip to content

Commit 4d13869

Browse files
committed
Deprecates sqlite3_prepare in favor of sqlite3_prepare_v2.
1 parent 163021c commit 4d13869

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

headeronly_src/sqlite3pp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
#ifndef SQLITE3PP_H
2626
#define SQLITE3PP_H
2727

28-
#define SQLITE3PP_VERSION "1.0.7"
28+
#define SQLITE3PP_VERSION "1.0.8"
2929
#define SQLITE3PP_VERSION_MAJOR 1
3030
#define SQLITE3PP_VERSION_MINOR 0
31-
#define SQLITE3PP_VERSION_PATCH 7
31+
#define SQLITE3PP_VERSION_PATCH 8
3232

3333
#include <functional>
3434
#include <iterator>

headeronly_src/sqlite3pp.ipp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ namespace sqlite3pp
278278

279279
inline int statement::prepare_impl(char const* stmt)
280280
{
281-
return sqlite3_prepare(db_.db_, stmt, std::strlen(stmt), &stmt_, &tail_);
281+
return sqlite3_prepare_v2(db_.db_, stmt, std::strlen(stmt), &stmt_, &tail_);
282282
}
283283

284284
inline int statement::finish()

0 commit comments

Comments
 (0)