.reference cosmetics

git-svn-id: svn://ultimatepp.org/upp/trunk@4496 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2012-01-30 16:22:00 +00:00
parent 71740dc8d6
commit d6d5ed2fb9
3 changed files with 10 additions and 12 deletions

View file

@ -97,17 +97,11 @@ GUI_APP_MAIN
// Update the schema to match the schema described in "Model.sch"
#ifdef _DEBUG
SqlSchema sch(SQLITE3);
StdStatementExecutor se(sqlite3);
All_Tables(sch);
if(sch.ScriptChanged(SqlSchema::UPGRADE))
Sqlite3PerformScript(sch.Upgrade(),se);
if(sch.ScriptChanged(SqlSchema::ATTRIBUTES)) {
Sqlite3PerformScript(sch.Attributes(),se);
}
if(sch.ScriptChanged(SqlSchema::CONFIG)) {
Sqlite3PerformScript(sch.ConfigDrop(),se);
Sqlite3PerformScript(sch.Config(),se);
}
SqlPerformScript(sch.Upgrade());
if(sch.ScriptChanged(SqlSchema::ATTRIBUTES))
SqlPerformScript(sch.Attributes());
sch.SaveNormal();
#endif

View file

@ -1,4 +1,4 @@
description "Using Value to store any data";
description "Using Value to store any data\377";
uses
Core;

4
reference/Value/init Normal file
View file

@ -0,0 +1,4 @@
#ifndef _Value_icpp_init_stub
#define _Value_icpp_init_stub
#include "Core/init"
#endif