Skip to content

Commit

Permalink
fix query CHAR type in lob prefetch mode
Browse files Browse the repository at this point in the history
  • Loading branch information
sijms committed Mar 27, 2023
1 parent a1ab813 commit a8e40f9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions v2/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,9 @@ func (stmt *defaultStmt) writeDefine() error {
} else {
temp.MaxCharLen = 0x8000
}
} else {
temp.ContFlag = 0
}
//if temp.DataType == LONG || temp.DataType == LongRaw {
// temp.MaxCharLen = 0x4000
//}
temp.Flag = 3
temp.MaxLen = num
err := temp.write(session)
Expand Down

0 comments on commit a8e40f9

Please sign in to comment.