return the correct type in attribute.get_type

This commit is contained in:
Dane Springmeyer 2013-01-02 13:45:06 -08:00
parent a78f5c2f70
commit a90b31b7a7

View file

@ -79,7 +79,7 @@ public:
return name_;
}
unsigned get_type() const
unsigned int get_type() const
{
return type_;
}
@ -101,7 +101,7 @@ public:
private:
std::string name_;
int type_;
unsigned int type_;
bool primary_key_;
int size_;
int precision_;