Cleanup ProfilerOutputDb try/catch logic for DBErrors
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 26 Mar 2018 04:00:15 +0000 (21:00 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 26 Mar 2018 04:00:18 +0000 (21:00 -0700)
commit836e9d237a60929f32efea801485fde77b5950bc
treeaef6d1de9cdaa2431af62e578f343f44ce652a30
parent14cb8f992f7f9d1e1b405c200720c53f4e62b8d2
Cleanup ProfilerOutputDb try/catch logic for DBErrors

Also make it avoid transactions for non-sqlite when DBO_TRX is set.
This was the intention before, but nothing made sure that flag was
not active when the upsert()s ran.

Change-Id: I9cb21b199aae4134d172352e66cf8d2841327f85
includes/profiler/output/ProfilerOutputDb.php