Commit 6f38dd24 authored by Adrian Negreanu's avatar Adrian Negreanu

sqlite3: SQLITE_TRANSIENTs

In table basecompoundref, use SQLITE_TRANSIENT for
base, derived, refid
parent cd4bdf67
......@@ -845,19 +845,19 @@ static void generateSqlite3ForClass(sqlite3 *db, ClassDef *cd)
BaseClassDef *bcd;
for (bcli.toFirst();(bcd=bcli.current());++bcli)
{
bindTextParameter(i_s_basecompoundref,":refid",bcd->classDef->getOutputFileBase());
bindTextParameter(i_s_basecompoundref,":refid",bcd->classDef->getOutputFileBase(),FALSE);
bindIntParameter(i_s_basecompoundref,":prot",bcd->prot);
bindIntParameter(i_s_basecompoundref,":virt",bcd->virt);
if (!bcd->templSpecifiers.isEmpty())
{
bindTextParameter(i_s_basecompoundref,":base",insertTemplateSpecifierInScope(bcd->classDef->name(),bcd->templSpecifiers));
bindTextParameter(i_s_basecompoundref,":base",insertTemplateSpecifierInScope(bcd->classDef->name(),bcd->templSpecifiers),FALSE);
}
else
{
bindTextParameter(i_s_basecompoundref,":base",bcd->classDef->displayName());
bindTextParameter(i_s_basecompoundref,":base",bcd->classDef->displayName(),FALSE);
}
bindTextParameter(i_s_basecompoundref,":derived",cd->displayName());
bindTextParameter(i_s_basecompoundref,":derived",cd->displayName(),FALSE);
if (-1==step(db,i_s_basecompoundref)) {
sqlite3_clear_bindings(i_s_basecompoundref);
continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment