Commit 857a0f34 authored by Charles Delort's avatar Charles Delort
Browse files

fix for blob128M

parent 1eddfc63
......@@ -866,6 +866,8 @@ RelationalDatabase::storageType( const std::string& name )
return StorageType::storageType( StorageType::TypeId::Blob64k );
if ( name == "Blob16M" )
return StorageType::storageType( StorageType::TypeId::Blob16M );
if ( name == "Blob128M" )
return StorageType::storageType( StorageType::TypeId::Blob128M );
throw RelationalException
( "PANIC! No StorageType exists with name " + name, "RelationalDatabase" );
}
......
......@@ -138,7 +138,7 @@ coral::AttributeList createPayload( int index, const cool::RecordSpecification&
for ( int j1 = 0; j1 < blobSize1; ++j1, ++p1, ++data1 ) *p1 = *data1;
QByteArray ba1 = QString( "0123456789abcdefABCDEF.GHIJKLMNOPQRSTUVWXYZ" ).toUtf8();
QByteArray ba2 = QString( "0123456789abcdefABCDEF.GHIJKLMNOPQRSTUVWXYZ" ).toUtf8();
coral::Blob& blob2 = payload["Blob128M"].data<coral::Blob>();
int blobSize2 = ba2.size();
blob2.resize( blobSize2 );
......
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