Skip to content

Commit

Permalink
Support for BLOB result type
Browse files Browse the repository at this point in the history
Fixes #11
  • Loading branch information
dedmen committed May 4, 2019
1 parent bd6b657 commit bf27d7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mariadbpp
1 change: 1 addition & 0 deletions src/res.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ game_value Result::cmd_toArray(game_state&, game_value_parameter right) {
case mariadb::value::float32: row.emplace_back(res->get_float(i)); break;
case mariadb::value::double64: row.emplace_back(static_cast<float>(res->get_double(i))); break;
case mariadb::value::enumeration: row.emplace_back(res->get_string(i)); break;
case mariadb::value::blob: row.emplace_back(res->get_blobString(i)); break;
default: ;
}
}
Expand Down

0 comments on commit bf27d7a

Please sign in to comment.