summaryrefslogtreecommitdiff
path: root/lib/input
diff options
context:
space:
mode:
Diffstat (limited to 'lib/input')
-rw-r--r--lib/input/mysqlRecordSet.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/input/mysqlRecordSet.cpp b/lib/input/mysqlRecordSet.cpp
index f5d2385..1c2fb07 100644
--- a/lib/input/mysqlRecordSet.cpp
+++ b/lib/input/mysqlRecordSet.cpp
@@ -54,10 +54,12 @@ namespace MyGrate::Input {
case MYSQL_TYPE_MEDIUM_BLOB:
case MYSQL_TYPE_LONG_BLOB:
case MYSQL_TYPE_BLOB:
- if (f.charsetnr == 63)
+ if (f.charsetnr == 63) {
return std::make_unique<ResultDataT<Blob>>(b, f);
- else
+ }
+ else {
return std::make_unique<ResultDataT<std::string_view>>(b, f);
+ }
case MAX_NO_FIELD_TYPES:
case MYSQL_TYPE_BIT:
case MYSQL_TYPE_SET: