Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lcgcool
cool
Commits
857a0f34
Commit
857a0f34
authored
May 26, 2020
by
Charles Delort
Browse files
fix for blob128M
parent
1eddfc63
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/RelationalCool/src/RelationalDatabase.cpp
View file @
857a0f34
...
...
@@ -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"
);
}
...
...
src/Utilities/ACE/src/accesstocool.cpp
View file @
857a0f34
...
...
@@ -138,7 +138,7 @@ coral::AttributeList createPayload( int index, const cool::RecordSpecification&
for
(
int
j1
=
0
;
j1
<
blobSize1
;
++
j1
,
++
p1
,
++
data1
)
*
p1
=
*
data1
;
QByteArray
ba
1
=
QString
(
"0123456789abcdefABCDEF.GHIJKLMNOPQRSTUVWXYZ"
).
toUtf8
();
QByteArray
ba
2
=
QString
(
"0123456789abcdefABCDEF.GHIJKLMNOPQRSTUVWXYZ"
).
toUtf8
();
coral
::
Blob
&
blob2
=
payload
[
"Blob128M"
].
data
<
coral
::
Blob
>
();
int
blobSize2
=
ba2
.
size
();
blob2
.
resize
(
blobSize2
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment