Skip to content

Commit cdeac2d

Browse files
Tor Didriksendahlerlend
Tor Didriksen
authored andcommitted
Bug#30050452: CRASH WHEN EXECUTING "SELECT SLEEP(10)" THROUGH CURSOR (WITH THREAD-POOL)
Post-push fix for broken build: struct 'Key_value_store_logger' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags] Change-Id: Iee44de91ef55c4375c680e15f44d560d03ec54ad (cherry picked from commit 6575dd86299a21b1de8e4452c058b91fd9e4b415)
1 parent a36bd8b commit cdeac2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

storage/temptable/include/temptable/kv_store.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ class Key_value_store
5959
: public Key_value_store_logger<Key_value_store<Lock, KeyValueImpl>,
6060
DEBUG_BUILD> {
6161
/** Do not break encapsulation when using CRTP. */
62-
friend struct Key_value_store_logger<Key_value_store<Lock, KeyValueImpl>,
63-
DEBUG_BUILD>;
62+
friend class Key_value_store_logger<Key_value_store<Lock, KeyValueImpl>,
63+
DEBUG_BUILD>;
6464

6565
/** Help ADL to bring debugging/logging symbols into the scope. */
6666
using Key_value_store_logger<Key_value_store<Lock, KeyValueImpl>,

0 commit comments

Comments
 (0)