File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ namespace sqlite_orm {
95
95
bool table_exists (sqlite3* db, const std::string& tableName) const {
96
96
bool result = false ;
97
97
std::stringstream ss;
98
- ss << " SELECT COUNT(*) FROM sqlite_master WHERE type = " << streaming_identifier (" table" )
98
+ ss << " SELECT COUNT(*) FROM sqlite_master WHERE type = " << quote_string_literal (" table" )
99
99
<< " AND name = " << quote_string_literal (tableName) << std::flush;
100
100
perform_exec (
101
101
db,
Original file line number Diff line number Diff line change @@ -14296,7 +14296,7 @@ namespace sqlite_orm {
14296
14296
bool table_exists(sqlite3* db, const std::string& tableName) const {
14297
14297
bool result = false;
14298
14298
std::stringstream ss;
14299
- ss << "SELECT COUNT(*) FROM sqlite_master WHERE type = " << streaming_identifier ("table")
14299
+ ss << "SELECT COUNT(*) FROM sqlite_master WHERE type = " << quote_string_literal ("table")
14300
14300
<< " AND name = " << quote_string_literal(tableName) << std::flush;
14301
14301
perform_exec(
14302
14302
db,
You can’t perform that action at this time.
0 commit comments