Skip to content

Commit 5c75875

Browse files
committed
Add missing MYSQL_TYPE_JON to mysql_type_to_string
to mysql_type_to_string() function.
1 parent 57a9cb5 commit 5c75875

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

driver/mysql_util.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -645,6 +645,8 @@ mysql_type_to_string(const MYSQL_FIELD * const field, boost::shared_ptr< sql::my
645645
return "SET";
646646
case MYSQL_TYPE_GEOMETRY:
647647
return "GEOMETRY";
648+
case MYSQL_TYPE_JSON:
649+
return "JSON";
648650
default:
649651
return "UNKNOWN";
650652
}

0 commit comments

Comments
 (0)