ICP  1
Classes | Macros | Variables
ISISDB.cpp File Reference
#include "stdafx.h"
#include "isisdb.h"

Go to the source code of this file.

Classes

class  DBLock
 

Macros

#define SQLITE_CHECK_RC(__rc)
 

Variables

static const int db_schema_version = 43
 update when you change database schema More...
 
Poco::SingletonHolder
< SQLITESessionPool
sqlite_session_pool
 

Macro Definition Documentation

#define SQLITE_CHECK_RC (   __rc)
Value:
if (__rc != SQLITE_OK) \
{ \
_snprintf_s(last_error, sizeof(last_error), _TRUNCATE, "SELOGGER: SQLITE error %s at %s:%d", errmsg, __FILE__, __LINE__); \
sqlite3_free(errmsg); \
closeDatabase(); \
throw std::exception(last_error); \
}
static char last_error[1024]
Definition: selogger.cpp:198

Definition at line 85 of file ISISDB.cpp.

Referenced by ISISDB::ISISDB().

Variable Documentation

const int db_schema_version = 43
static

update when you change database schema

Definition at line 8 of file ISISDB.cpp.

Referenced by ISISDB::ISISDB(), and ISISDB::version().

Poco::SingletonHolder<SQLITESessionPool> sqlite_session_pool

Definition at line 357 of file ISISDB.cpp.

Referenced by se_exec_sql(), se_get_block_details(), and se_get_values().