case Data::Type::TimeStamp:
_this->decodeDate(data);
break;
+ case Data::Type::Integer:
+ throw RuntimeException("anna::dbms::mysql::OutputBind::decode not implemented for Data::Type::Integer", ANNA_FILE_LOCATION);
+ break;
+ case Data::Type::ShortBlock:
+ throw RuntimeException("anna::dbms::mysql::OutputBind::decode not implemented for Data::Type::ShortBlock", ANNA_FILE_LOCATION);
+ break;
case Data::Type::LongBlock:
try {
void OutputBind::decodeLongBlob(dbms::Data& data) const
throw(RuntimeException, dbms::DatabaseException) {
const int bufferSize = a_blob->buffer.getMaxSize();
- const int pos = a_blob->pos;
st_mysql_bind& bind = a_blob->binds [a_blob->pos];
DataBlock& target = static_cast <dbms::LongBlock&>(data).getValue();
const int maxloop = *bind.length / bufferSize;