mirror of https://github.com/tidwall/tile38.git
Fix massinsert dev call
This commit is contained in:
parent
72f7627152
commit
1c972ad578
|
@ -77,11 +77,12 @@ func (c *Server) cmdMassInsert(msg *Message) (res resp.Value, err error) {
|
|||
return NOMessage, errInvalidArgument(snumPoints)
|
||||
}
|
||||
docmd := func(args []string) error {
|
||||
nmsg := &Message{}
|
||||
*nmsg = *msg
|
||||
var nmsg Message
|
||||
nmsg = *msg
|
||||
nmsg._command = ""
|
||||
nmsg.Args = args
|
||||
var d commandDetails
|
||||
_, d, err = c.command(nmsg, nil)
|
||||
_, d, err = c.command(&nmsg, nil)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue