@@ -1460,6 +1460,21 @@ static void getSQLDesc(SqlStmt &s,const char *col,const QCString &value,const De
14601460 )
14611461 );
14621462}
1463+
1464+ static void getSQLDescCompound (SqlStmt &s,const char *col,const QCString &value,const Definition *def)
1465+ {
1466+ bindTextParameter (
1467+ s,
1468+ col,
1469+ getSQLDocBlock (
1470+ def,
1471+ def,
1472+ value,
1473+ def->docFile (),
1474+ def->docLine ()
1475+ )
1476+ );
1477+ }
14631478// //////////////////////////////////////////
14641479
14651480/* (updated Sep 01 2018)
@@ -1990,8 +2005,8 @@ static void generateSqlite3ForClass(const ClassDef *cd)
19902005 }
19912006 }
19922007
1993- getSQLDesc (compounddef_insert," :briefdescription" ,cd->briefDescription (),cd);
1994- getSQLDesc (compounddef_insert," :detaileddescription" ,cd->documentation (),cd);
2008+ getSQLDescCompound (compounddef_insert," :briefdescription" ,cd->briefDescription (),cd);
2009+ getSQLDescCompound (compounddef_insert," :detaileddescription" ,cd->documentation (),cd);
19952010
19962011 step (compounddef_insert);
19972012
@@ -2060,8 +2075,8 @@ static void generateSqlite3ForConcept(const ConceptDef *cd)
20602075 bindIntParameter (compounddef_insert," :line" ,cd->getDefLine ());
20612076 bindIntParameter (compounddef_insert," :column" ,cd->getDefColumn ());
20622077
2063- getSQLDesc (compounddef_insert," :briefdescription" ,cd->briefDescription (),cd);
2064- getSQLDesc (compounddef_insert," :detaileddescription" ,cd->documentation (),cd);
2078+ getSQLDescCompound (compounddef_insert," :briefdescription" ,cd->briefDescription (),cd);
2079+ getSQLDescCompound (compounddef_insert," :detaileddescription" ,cd->documentation (),cd);
20652080
20662081 step (compounddef_insert);
20672082
@@ -2093,8 +2108,8 @@ static void generateSqlite3ForModule(const ModuleDef *mod)
20932108 bindIntParameter (compounddef_insert," :line" ,mod->getDefLine ());
20942109 bindIntParameter (compounddef_insert," :column" ,mod->getDefColumn ());
20952110
2096- getSQLDesc (compounddef_insert," :briefdescription" ,mod->briefDescription (),mod);
2097- getSQLDesc (compounddef_insert," :detaileddescription" ,mod->documentation (),mod);
2111+ getSQLDescCompound (compounddef_insert," :briefdescription" ,mod->briefDescription (),mod);
2112+ getSQLDescCompound (compounddef_insert," :detaileddescription" ,mod->documentation (),mod);
20982113
20992114 step (compounddef_insert);
21002115
@@ -2150,8 +2165,8 @@ static void generateSqlite3ForNamespace(const NamespaceDef *nd)
21502165 bindIntParameter (compounddef_insert," :line" ,nd->getDefLine ());
21512166 bindIntParameter (compounddef_insert," :column" ,nd->getDefColumn ());
21522167
2153- getSQLDesc (compounddef_insert," :briefdescription" ,nd->briefDescription (),nd);
2154- getSQLDesc (compounddef_insert," :detaileddescription" ,nd->documentation (),nd);
2168+ getSQLDescCompound (compounddef_insert," :briefdescription" ,nd->briefDescription (),nd);
2169+ getSQLDescCompound (compounddef_insert," :detaileddescription" ,nd->documentation (),nd);
21552170
21562171 step (compounddef_insert);
21572172
0 commit comments