Merge pull request #544 from DHP86/decode-type-x
Add type 'x' in Field::decode.
This commit is contained in:
commit
839f74f2e7
|
|
@ -43,6 +43,7 @@ std::unique_ptr<Field> Field::decode(InBuffer &frame)
|
||||||
case 'T': return std::unique_ptr<Field>(new Timestamp(frame));
|
case 'T': return std::unique_ptr<Field>(new Timestamp(frame));
|
||||||
case 'F': return std::unique_ptr<Field>(new Table(frame));
|
case 'F': return std::unique_ptr<Field>(new Table(frame));
|
||||||
case 'V': return std::unique_ptr<Field>(new VoidField(frame));
|
case 'V': return std::unique_ptr<Field>(new VoidField(frame));
|
||||||
|
case 'x': return std::unique_ptr<Field>(new LongString(frame));
|
||||||
default: return nullptr;
|
default: return nullptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue