[Openvas-devel] [Patch] Manager failure due to nested transactions

Matthew Mundell matthew.mundell at greenbone.net
Tue Oct 21 21:14:37 CEST 2014


Hi Henri

> """
> sql_exec_internal: sqlite3_step failed: cannot start a transaction
> within a transaction
> sqlv: sql_exec_internal failed
> """
>
> I wrote the small patch attached which seems to fix that but I'd
> appreciate a review from someone who's more familiar with the manager
> code to make sure it won't introduce undesired side-effects.

r18557 did a similar thing

	http://lists.wald.intevation.org/pipermail/openvas-commits/2014-January/018608.html

so it should be OK, however, I'm struggling to see where the nested
transaction is started.  Somewhere in report_cache_counts in
set_scan_end_time_otp?

Matt

--
Greenbone Networks GmbH
Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner


More information about the Openvas-devel mailing list