Commit dc37c17
committed
Fix Python plugin project reparse
Currently, if we try to reparse a Python project,
the CodeCompass_parser exits with the following error:
"terminate called after throwing an instance of
'odb::object_already_persistent'".
As a fix, we perform a database cleanup in case of
incremental parsing.
Note: incremental parsing is not intended to work this
way and should be implemented properly in the future.1 parent 3755e3f commit dc37c17
File tree
2 files changed
+14
-0
lines changed- plugins/python/parser
- include/pythonparser
- src
2 files changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
185 | 198 | | |
186 | 199 | | |
187 | 200 | | |
| |||
0 commit comments