summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authormonty@mysql.com <>2006-02-25 21:54:34 +0200
committermonty@mysql.com <>2006-02-25 21:54:34 +0200
commit1e2e9e28565d97f140f230824a1adfcea475ee34 (patch)
tree69f6c8a1a1bef870aa8b2cbe729b0fd87fcf1c31 /sql/table.h
parent066c7148fb5243a0533fd7b6edfe948cb1722548 (diff)
parent54274976e7b4a9a28e94a6f0b4f8d064140248db (diff)
downloadmariadb-git-1e2e9e28565d97f140f230824a1adfcea475ee34.tar.gz
Merge mysql.com:/home/my/mysql-5.0
into mysql.com:/home/my/mysql-5.1
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/table.h b/sql/table.h
index d1009ade09b..2bde68e5919 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -216,6 +216,8 @@ typedef struct st_table_share
/* Information for one open table */
struct st_table {
+ st_table() {} /* Remove gcc warning */
+
TABLE_SHARE *s;
handler *file;
#ifdef NOT_YET
@@ -490,6 +492,7 @@ public:
typedef struct st_table_list
{
+ st_table_list() {} /* Remove gcc warning */
/*
List of tables local to a subquery (used by SQL_LIST). Considers
views as leaves (unlike 'next_leaf' below). Created at parse time
@@ -722,6 +725,7 @@ class Item;
class Field_iterator: public Sql_alloc
{
public:
+ Field_iterator() {} /* Remove gcc warning */
virtual ~Field_iterator() {}
virtual void set(TABLE_LIST *)= 0;
virtual void next()= 0;