DBG: added breakpoints table

This commit is contained in:
mr.exodia 2013-11-17 17:38:27 +01:00
parent cfa9c9ae0c
commit 2ea70c2d7e

View File

@ -20,6 +20,8 @@ void dbinit()
dprintf("SQL Error: %s\n", sqllasterror());
if(!sqlexec(userdb, "CREATE TABLE IF NOT EXISTS labels (id INTEGER PRIMARY KEY AUTOINCREMENT, mod TEXT, addr INT64 NOT NULL, text TEXT NOT NULL)"))
dprintf("SQL Error: %s\n", sqllasterror());
if(!sqlexec(userdb, "CREATE TABLE IF NOT EXISTS breakpoints (id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT, addr INT64 NOT NULL, enabled INT NOT NULL, oldbytes INT NOT NULL, type INT NOT NULL)"))
dprintf("SQL Error: %s\n", sqllasterror());
}
bool dbload()