add case for addition to void

This commit is contained in:
tripun 2014-08-18 23:23:58 +05:30
parent 04d541ed44
commit cb39ea2508

View file

@ -341,6 +341,10 @@ value_t& value_t::operator+=(const value_t& val)
} }
switch (type()) { switch (type()) {
case VOID:
*this = value_t(val);
return *this;
case DATETIME: case DATETIME:
switch (val.type()) { switch (val.type()) {
case INTEGER: case INTEGER: