Skip to content

Commit 7f9e195

Browse files
rennoxdahlerlend
authored andcommitted
BUG#37694461 Commands out of sync after executing JavaScript [post-fix]
Fixing windows build. Change-Id: I935ee89599fc39378f310c03e6dfb45bb5af8287
1 parent 5684818 commit 7f9e195

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

router/src/harness/include/mysql/harness/scoped_callback.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@
2929
#include <functional>
3030
#include <utility>
3131

32+
#include "harness_export.h"
33+
3234
namespace mysql_harness {
3335

34-
class ScopedCallback {
36+
class HARNESS_EXPORT ScopedCallback {
3537
public:
3638
explicit ScopedCallback(std::function<void()> c) noexcept
3739
: callback_{std::move(c)} {}

router/src/jit_executor/src/jit_executor_context_pool.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,9 @@ class Pool {
9292
T item = m_item_factory(m_created_items);
9393
increase_active_items();
9494
return item;
95-
} catch (const std::runtime_error &err) {
96-
// An initialization failure would raise this exception
95+
} catch (const std::runtime_error &) {
96+
// An initialization failure would raise this exception, no action is
97+
// needed
9798
return {};
9899
}
99100
}

0 commit comments

Comments
 (0)