summaryrefslogtreecommitdiff
path: root/src/sql.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sql.cpp')
-rw-r--r--src/sql.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sql.cpp b/src/sql.cpp
index 63e946c..2b91aab 100644
--- a/src/sql.cpp
+++ b/src/sql.cpp
@@ -16,6 +16,12 @@ namespace WebStat::SQL {
const std::string ENTITY_INSERT {
#embed "sql/entityInsert.sql"
};
+ const std::string UNPARSABLE_INSERT {
+#embed "sql/unparsableInsert.sql"
+ };
+ const std::string UNINSERTABLE_INSERT {
+#embed "sql/uninsertableInsert.sql"
+ };
const std::string ENTITY_UPDATE_DETAIL {
#embed "sql/entityUpdateDetail.sql"
};
@@ -40,6 +46,8 @@ namespace WebStat::SQL {
HASH_OPTS(ACCESS_LOG_INSERT);
HASH_OPTS(ACCESS_LOG_PURGE_OLD);
HASH_OPTS(ENTITY_INSERT);
+ HASH_OPTS(UNPARSABLE_INSERT);
+ HASH_OPTS(UNINSERTABLE_INSERT);
HASH_OPTS(ENTITY_UPDATE_DETAIL);
HASH_OPTS(HOST_UPSERT);
const DB::CommandOptionsPtr SELECT_UNINSERTABLE_OPTS