Skip to content

Commit

Permalink
read mysql bit type as i64
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonzhang committed Jul 6, 2024
1 parent f54ad24 commit 06e90d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions connectorx/src/sources/mysql/typesystem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ impl<'a> From<(&'a ColumnType, &'a ColumnFlags)> for MySQLTypeSystem {
ColumnType::MYSQL_TYPE_LONG_BLOB => LongBlob(null_ok),
ColumnType::MYSQL_TYPE_JSON => Json(null_ok),
ColumnType::MYSQL_TYPE_VARCHAR => VarChar(null_ok),
ColumnType::MYSQL_TYPE_BIT => LongLong(null_ok),
_ => unimplemented!("{}", format!("{:?}", ty)),
}
}
Expand Down

0 comments on commit 06e90d1

Please sign in to comment.