From 5ba48ff58fd75d30f61fd7642b27ecb6f1ec5cb9 Mon Sep 17 00:00:00 2001 From: Fedor_Kitanin Date: Sun, 25 Aug 2024 17:58:18 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D1=8B=20=D0=BD=D0=BE=D0=B2=D1=8B=D0=B5=20=D1=84=D0=B0?= =?UTF-8?q?=D0=B9=D0=BB=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/HypertextPages/list-rooms.nytl.html | 4 ++-- assets/css/list-rooms.css | 2 +- src/web_chat/iu9_ca_web_chat_lib/sqlite3_wrapper.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/HypertextPages/list-rooms.nytl.html b/assets/HypertextPages/list-rooms.nytl.html index ddc4923..79b9f58 100644 --- a/assets/HypertextPages/list-rooms.nytl.html +++ b/assets/HypertextPages/list-rooms.nytl.html @@ -22,7 +22,7 @@ - + @@ -65,4 +65,4 @@ -{% ENDELDEF %} \ No newline at end of file +{% ENDELDEF %} diff --git a/assets/css/list-rooms.css b/assets/css/list-rooms.css index 0fa8ff2..4603a16 100644 --- a/assets/css/list-rooms.css +++ b/assets/css/list-rooms.css @@ -250,4 +250,4 @@ h1 { font-size: 28px; font-weight: bold; cursor: pointer; -} \ No newline at end of file +} diff --git a/src/web_chat/iu9_ca_web_chat_lib/sqlite3_wrapper.cpp b/src/web_chat/iu9_ca_web_chat_lib/sqlite3_wrapper.cpp index 55f150c..f69983b 100644 --- a/src/web_chat/iu9_ca_web_chat_lib/sqlite3_wrapper.cpp +++ b/src/web_chat/iu9_ca_web_chat_lib/sqlite3_wrapper.cpp @@ -76,7 +76,7 @@ namespace iu9cawebchat { int ret = sqlite3_prepare_v2(connection.hand, req_statement.c_str(), -1, &stmt_obj, NULL); if (ret != 0) { - int err_pos = sqlite3_error_offset(connection.hand); + int err_pos = -1; een9_THROW("Compilation of request\n" + req_statement + "\nfailed" + ((err_pos >= 0) ? " with offset " + std::to_string(err_pos) : "")); }