Commit 3c83a67
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 correctly in the future.1 parent 3755e3f commit 3c83a67
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
91 | 96 | | |
92 | 97 | | |
93 | 98 | | |
| |||
0 commit comments