mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 22:02:49 -06:00
11 lines
238 B
C++
11 lines
238 B
C++
#include <Core/Core.h>
|
|
#include <plugin/sqlite3/Sqlite3.h>
|
|
using namespace Upp;
|
|
|
|
CONSOLE_APP_MAIN
|
|
{
|
|
Sqlite3Session session;
|
|
session.LogErrors(true);
|
|
if (!session.Open("data"))
|
|
Cout() << "Error opening SQL";
|
|
}//crash here!
|