Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
6f38dd24
Commit
6f38dd24
authored
Feb 01, 2014
by
Adrian Negreanu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sqlite3: SQLITE_TRANSIENTs
In table basecompoundref, use SQLITE_TRANSIENT for base, derived, refid
parent
cd4bdf67
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sqlite3gen.cpp
src/sqlite3gen.cpp
+4
-4
No files found.
src/sqlite3gen.cpp
View file @
6f38dd24
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment