summaryrefslogtreecommitdiff
path: root/sql/sql_list.h
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2010-07-03 10:20:05 -0300
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2010-07-03 10:20:05 -0300
commit85d281737f0feccbd43d7f025658d260d340dd84 (patch)
treee5ae3e4c65cf1add2483952570c00d0d3144f601 /sql/sql_list.h
parent0300935ff3f6b422cff4c383d74ce0124dfd7f1f (diff)
downloadmariadb-git-85d281737f0feccbd43d7f025658d260d340dd84.tar.gz
Fix somewhat bogus GCC warning. Although needless as the base
class is mostly empty, initialize the base class explicitly in the copy constructor.
Diffstat (limited to 'sql/sql_list.h')
-rw-r--r--sql/sql_list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_list.h b/sql/sql_list.h
index 3e0ba2b2ede..c61846c22cd 100644
--- a/sql/sql_list.h
+++ b/sql/sql_list.h
@@ -74,7 +74,7 @@ public:
SQL_I_List() { empty(); }
- SQL_I_List(const SQL_I_List &tmp)
+ SQL_I_List(const SQL_I_List &tmp) : Sql_alloc()
{
elements= tmp.elements;
first= tmp.first;