You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.
Thanks you, I want to proxy some query to my own HTTP server, But it does't work on 'INSERT' while 'SELECT' is maybe perfect.
I use this piece of snippet to response, But MySQL received as a Empty query.
if strings.HasPrefix(query, "insert") {
testResult.InsertID = 100
testResult.RowsAffected = 1
testResult.Rows = append(make([][]sqltypes.Value, 0), testResult.Rows[0])
testResult.Rows = make([][]sqltypes.Value, 0)
}
Thanks you very much
The text was updated successfully, but these errors were encountered:
Thanks you, I want to proxy some query to my own HTTP server, But it does't work on 'INSERT' while 'SELECT' is maybe perfect.
I use this piece of snippet to response, But MySQL received as a Empty query.
if strings.HasPrefix(query, "insert") {
testResult.InsertID = 100
testResult.RowsAffected = 1
testResult.Rows = append(make([][]sqltypes.Value, 0), testResult.Rows[0])
testResult.Rows = make([][]sqltypes.Value, 0)
}
Thanks you very much
The text was updated successfully, but these errors were encountered: