master #6
| @ -22,7 +22,7 @@ | |||||||
| <!--    <div class="modal-content">--> | <!--    <div class="modal-content">--> | ||||||
| <!--        <div class="modal-header">--> | <!--        <div class="modal-header">--> | ||||||
| <!--            <span class="close" onclick="closeCreateRoomModal()">×</span>--> | <!--            <span class="close" onclick="closeCreateRoomModal()">×</span>--> | ||||||
| <!--            <h2>Создать Комнату</h2>--> | <!--            <h2> Создать Комнату</h2>--> | ||||||
| <!--        </div>--> | <!--        </div>--> | ||||||
| <!--        <div class="modal-body">--> | <!--        <div class="modal-body">--> | ||||||
| <!--            <input type="text" id="newRoomName" placeholder="Название комнаты">--> | <!--            <input type="text" id="newRoomName" placeholder="Название комнаты">--> | ||||||
| @ -65,4 +65,4 @@ | |||||||
| <script src="/assets/js/list-rooms.js"></script> | <script src="/assets/js/list-rooms.js"></script> | ||||||
| </body> | </body> | ||||||
| </html> | </html> | ||||||
| {% ENDELDEF %} | {% ENDELDEF %} | ||||||
|  | |||||||
| @ -250,4 +250,4 @@ h1 { | |||||||
|     font-size: 28px; |     font-size: 28px; | ||||||
|     font-weight: bold; |     font-weight: bold; | ||||||
|     cursor: pointer; |     cursor: pointer; | ||||||
| } | } | ||||||
|  | |||||||
| @ -76,7 +76,7 @@ namespace iu9cawebchat { | |||||||
| 
 | 
 | ||||||
|         int ret = sqlite3_prepare_v2(connection.hand, req_statement.c_str(), -1, &stmt_obj, NULL); |         int ret = sqlite3_prepare_v2(connection.hand, req_statement.c_str(), -1, &stmt_obj, NULL); | ||||||
|         if (ret != 0) { |         if (ret != 0) { | ||||||
|             int err_pos = sqlite3_error_offset(connection.hand); |             int err_pos = -1; | ||||||
|             een9_THROW("Compilation of request\n" + req_statement + "\nfailed" + |             een9_THROW("Compilation of request\n" + req_statement + "\nfailed" + | ||||||
|                 ((err_pos >= 0) ? " with offset " + std::to_string(err_pos) : "")); |                 ((err_pos >= 0) ? " with offset " + std::to_string(err_pos) : "")); | ||||||
|         } |         } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user