Skip to content

Commit 05ea5a8

Browse files
committed
Remoe reset and reexecution
1 parent 79d159d commit 05ea5a8

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

hdr/sqlite_modern_cpp.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,6 @@ namespace sqlite {
7373
_stmt(std::move(other._stmt)),
7474
_inx(other._inx), execution_started(other.execution_started) { }
7575

76-
void reset[[deprecated]]() {
77-
used(true);
78-
_inx = 0;
79-
used(false);
80-
}
81-
8276
void execute() {
8377
_start_execute();
8478
int hresult;

hdr/sqlite_modern_cpp/errors.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ namespace sqlite {
3737
//Some additional errors are here for the C++ interface
3838
class more_rows: public sqlite_exception { using sqlite_exception::sqlite_exception; };
3939
class no_rows: public sqlite_exception { using sqlite_exception::sqlite_exception; };
40-
class [[deprecated]] reexecution: public sqlite_exception { using sqlite_exception::sqlite_exception; }; // Prepared statements needed to be reset before calling them again in older versions
4140
class more_statements: public sqlite_exception { using sqlite_exception::sqlite_exception; }; // Prepared statements can only contain one statement
4241

4342
static void throw_sqlite_error(const int& error_code, const std::string &sql = "") {

0 commit comments

Comments
 (0)