summaryrefslogtreecommitdiff
path: root/sql/lock.h
diff options
context:
space:
mode:
authorAlexander Nozdrin <alik@sun.com>2010-04-12 17:17:37 +0400
committerAlexander Nozdrin <alik@sun.com>2010-04-12 17:17:37 +0400
commit60333fbec9254056741a17d175611ca6eaebd1dd (patch)
tree07de8752c2b89e5dc9eb4362f9e6cf8c0ef82713 /sql/lock.h
parentbbf97ab183de9216bc2010d7777e0c45e68fef18 (diff)
downloadmariadb-git-60333fbec9254056741a17d175611ca6eaebd1dd.tar.gz
A post-fix patch for WL#4877/WL#5030:
Fix tons of warnings about mismatch struct and class usage.
Diffstat (limited to 'sql/lock.h')
-rw-r--r--sql/lock.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/lock.h b/sql/lock.h
index 803bac960b3..19b23f1f42b 100644
--- a/sql/lock.h
+++ b/sql/lock.h
@@ -4,8 +4,8 @@
#include "thr_lock.h" /* thr_lock_type */
// Forward declarations
-class TABLE;
-class TABLE_LIST;
+struct TABLE;
+struct TABLE_LIST;
class THD;
typedef struct st_mysql_lock MYSQL_LOCK;
@@ -55,7 +55,7 @@ typedef struct st_mysql_lock MYSQL_LOCK;
#include "thr_lock.h" /* thr_lock_type */
-class TABLE_LIST;
+struct TABLE_LIST;
class THD;
struct TABLE;
typedef struct st_mysql_lock MYSQL_LOCK;