Skip to content

Commit 7c6f0c2

Browse files
rsomla1silvakid
authored andcommitted
Fix name resolution issue for older gcc versions.
1 parent 528814b commit 7c6f0c2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

common/common.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ namespace common {
3131

3232
using namespace mysqlx::common;
3333

34+
/*
35+
Note: for older gcc versions (4.8, 5.4) above using namespace declaration
36+
is not sufficient to correctly resolve mysqlx::impl::common::Session_pool
37+
(but for more recent versions it works).
38+
*/
39+
40+
using mysqlx::common::Session_pool;
41+
3442
using cdk::col_count_t;
3543
using cdk::row_count_t;
3644

0 commit comments

Comments
 (0)