Skip to content

Commit 7a991ac

Browse files
abhi5466dahlerlend
authored andcommitted
Bug#26203731 : INFORMATION_SCHEMA.TABLES TABLE STATISTICS ARE NULL
Post push fix: Compilation with clang fails with error 'class member cannot be redeclared' for class Attachable_trx_rw. Definition of class Attachable_trx_rw is moved inside class THD. Remove forward declaration of class Attachable_trx_rw and declaration of class Attachable_trx_rw_i_s from class THD.
1 parent f51392a commit 7a991ac

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

sql/sql_class.h

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1733,22 +1733,6 @@ class THD :public MDL_context_owner,
17331733
Attachable_trx_rw &operator =(const Attachable_trx_rw &);
17341734
};
17351735

1736-
/*
1737-
Forward declaration of a read-write attachable transaction class.
1738-
Its exact definition is located in the gtid module that proves its
1739-
safe usage. Any potential customer to the class must beware of a danger
1740-
of screwing the global transaction state through ha_commit_{stmt,trans}.
1741-
*/
1742-
class Attachable_trx_rw;
1743-
1744-
/*
1745-
Forward declaration of a read-write transaction class.
1746-
Its exact definition is located in the stats writing module. Any
1747-
potential customer to the class must beware of a danger of
1748-
screwing the global transaction state through ha_commit_{stmt,trans}.
1749-
*/
1750-
class Attachable_trx_rw_i_s;
1751-
17521736
Attachable_trx *m_attachable_trx;
17531737

17541738
public:

0 commit comments

Comments
 (0)