Skip to content

Commit

Permalink
Add CHAR handling
Browse files Browse the repository at this point in the history
  • Loading branch information
simulot committed Nov 23, 2020
1 parent bf464c1 commit 78cb368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command.go
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ func (stmt *Stmt) read(dataSet *DataSet) error {
// throw new Exception("UnmarshalColumnData: Unimplemented type");
//}
switch dataSet.Cols[x].DataType {
case NCHAR:
case NCHAR, CHAR:
if stmt.connection.strConv.LangID != dataSet.Cols[x].CharsetID {
tempCharset := stmt.connection.strConv.LangID
stmt.connection.strConv.LangID = dataSet.Cols[x].CharsetID
Expand Down

0 comments on commit 78cb368

Please sign in to comment.