Commit 90acd66e authored by unknown's avatar unknown

sql_list.h:

  One more missed fix from Windows


sql/sql_list.h:
  One more missed fix from Windows
parent edc96d99
...@@ -82,6 +82,7 @@ class base_list :public Sql_alloc { ...@@ -82,6 +82,7 @@ class base_list :public Sql_alloc {
first=tmp.first; first=tmp.first;
last=tmp.last; last=tmp.last;
} }
inline base_list(bool error) { }
inline bool push_back(void *info) inline bool push_back(void *info)
{ {
if (((*last)=new list_node(info, &end_of_list))) if (((*last)=new list_node(info, &end_of_list)))
...@@ -130,6 +131,7 @@ class base_list :public Sql_alloc { ...@@ -130,6 +131,7 @@ class base_list :public Sql_alloc {
inline list_node *last_ref() { return &end_of_list; } inline list_node *last_ref() { return &end_of_list; }
friend class base_list_iterator; friend class base_list_iterator;
friend class error_list; friend class error_list;
friend class error_list_iterator;
protected: protected:
void after(void *info,list_node *node) void after(void *info,list_node *node)
...@@ -405,7 +407,7 @@ class error_list: public Error_alloc, public base_list ...@@ -405,7 +407,7 @@ class error_list: public Error_alloc, public base_list
{ {
public: public:
inline error_list() : base_list() { }; inline error_list() : base_list() { };
inline error_list(const error_list &tmp) : Error_alloc() inline error_list(const error_list &tmp) : base_list(tmp)
{ {
elements=tmp.elements; elements=tmp.elements;
first=tmp.first; first=tmp.first;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment