diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-07-05 20:27:55 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-07-05 20:27:55 +0100 |
commit | 8d61f54668bba1a73cc1dc2fe13df625001866a7 (patch) | |
tree | 8da04267ff9d146b13858eb1e26d29315d8ba190 /lib/input | |
parent | Modernize namespaces (diff) | |
download | mygrate-8d61f54668bba1a73cc1dc2fe13df625001866a7.tar.bz2 mygrate-8d61f54668bba1a73cc1dc2fe13df625001866a7.tar.xz mygrate-8d61f54668bba1a73cc1dc2fe13df625001866a7.zip |
Add missing braces
Diffstat (limited to 'lib/input')
-rw-r--r-- | lib/input/mysqlRecordSet.cpp | 6 |
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: |