mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Implemented messages sending and storing in database
This commit is contained in:
@@ -16,7 +16,8 @@ static void on_sqlite_error( sqlite3 * connection, [[maybe_unused]] int result )
|
||||
{
|
||||
if ( result != SQLITE_OK )
|
||||
{
|
||||
printf( "sqlite error: %s\n", sqlite3_errmsg( connection ) );
|
||||
const char * message = sqlite3_errmsg( connection );
|
||||
printf( "sqlite error: %s\n", message );
|
||||
}
|
||||
|
||||
assert( result == SQLITE_OK );
|
||||
|
||||
Reference in New Issue
Block a user