Commit fc87369
HA: Use Transaction for each query
During #800, the commit dd0ca8f inlined
the HA.insertEnvironment method into the retryable realization function.
However, while doing so, I forgot to change the query execution context
from h.db to tx. This resulted in an error when being used together with
a single database connection, as introduced in #828.
Co-Authored-By: Yonas Habteab <yonas.habteab@icinga.com>1 parent accf30b commit fc87369
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
395 | | - | |
| 395 | + | |
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
| |||
0 commit comments