summaryrefslogtreecommitdiff
path: root/sql/rpl_tblmap.h
diff options
context:
space:
mode:
authorKonstantin Osipov <kostja@sun.com>2009-10-14 15:14:58 +0400
committerKonstantin Osipov <kostja@sun.com>2009-10-14 15:14:58 +0400
commit595b8f92ae89eb2ef2d502ca80668a525ed2fa99 (patch)
treed00e87e2bd51be32ad14dc200c4e45fa3db718ad /sql/rpl_tblmap.h
parentc84a238984f3c3726fb3df0b058cc814796e6479 (diff)
downloadmariadb-git-595b8f92ae89eb2ef2d502ca80668a525ed2fa99.tar.gz
Backport of:
---------------------------------------------------------- revno: 2630.22.8 committer: Konstantin Osipov <konstantin@mysql.com> branch nick: mysql-6.0-runtime timestamp: Sun 2008-08-10 18:49:52 +0400 message: Get rid of typedef struct for the most commonly used types: TABLE, TABLE_SHARE, LEX. This simplifies use of tags and forward declarations.
Diffstat (limited to 'sql/rpl_tblmap.h')
-rw-r--r--sql/rpl_tblmap.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/rpl_tblmap.h b/sql/rpl_tblmap.h
index 3b5b10be580..85890bcb4d8 100644
--- a/sql/rpl_tblmap.h
+++ b/sql/rpl_tblmap.h
@@ -18,8 +18,7 @@
/* Forward declarations */
#ifndef MYSQL_CLIENT
-struct st_table;
-typedef st_table TABLE;
+struct TABLE;
#else
class Table_map_log_event;
typedef Table_map_log_event TABLE;