Skip to content

Commit

Permalink
fix for bug (index for varchar2 columns is disabled during query) due…
Browse files Browse the repository at this point in the history
… to wrong parameter type send to server
  • Loading branch information
sijms committed Jun 25, 2021
1 parent fc51afb commit 69dadbb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions v2/parameter.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ type OracleType int
type ParameterDirection int
type NVarChar string

func (n *NVarChar) ConvertValue(v interface{}) (driver.Value, error) {
return driver.Value(string(*n)), nil
}
//func (n *NVarChar) ConvertValue(v interface{}) (driver.Value, error) {
// return driver.Value(string(*n)), nil
//}

func (n *NVarChar) Value() (driver.Value, error) {
return driver.Value(string(*n)), nil
Expand Down

0 comments on commit 69dadbb

Please sign in to comment.