We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d288d4 commit 5b4d37fCopy full SHA for 5b4d37f
server/stmt.go
@@ -107,7 +107,6 @@ func (c *Conn) handleStmtExecute(data []byte) (*Result, error) {
107
108
flag := data[pos]
109
pos++
110
-
111
// Supported types:
112
// - CURSOR_TYPE_NO_CURSOR
113
// - PARAMETER_COUNT_AVAILABLE
@@ -126,7 +125,7 @@ func (c *Conn) handleStmtExecute(data []byte) (*Result, error) {
126
125
return nil, NewError(ER_UNKNOWN_ERROR,
127
fmt.Sprintf("unsupported flag %s", "CURSOR_TYPE_FOR_UPDATE"))
128
}
129
- if flag&CURSOR_TYPE_READ_ONLY > 0 {
+ if flag&CURSOR_TYPE_SCROLLABLE > 0 {
130
131
fmt.Sprintf("unsupported flag %s", "CURSOR_TYPE_SCROLLABLE"))
132
0 commit comments