@@ -316,7 +316,7 @@ func (c *Conn) Execute(command string, args ...interface{}) (*Result, error) {
316316// flag set to signal the server multiple queries are executed. Handling the responses
317317// is up to the implementation of perResultCallback.
318318func (c * Conn ) ExecuteMultiple (query string , perResultCallback ExecPerResultCallback ) (* Result , error ) {
319- if err := c .exec_send (query ); err != nil {
319+ if err := c .execSend (query ); err != nil {
320320 return nil , errors .Trace (err )
321321 }
322322
@@ -369,7 +369,7 @@ func (c *Conn) ExecuteMultiple(query string, perResultCallback ExecPerResultCall
369369//
370370// ExecuteSelectStreaming should be used only for SELECT queries with a large response resultset for memory preserving.
371371func (c * Conn ) ExecuteSelectStreaming (command string , result * Result , perRowCallback SelectPerRowCallback , perResultCallback SelectPerResultCallback ) error {
372- if err := c .exec_send (command ); err != nil {
372+ if err := c .execSend (command ); err != nil {
373373 return errors .Trace (err )
374374 }
375375
@@ -497,7 +497,7 @@ func (c *Conn) ReadOKPacket() (*Result, error) {
497497
498498// Send COM_QUERY and read the result
499499func (c * Conn ) exec (query string ) (* Result , error ) {
500- err := c .exec_send (query )
500+ err := c .execSend (query )
501501 if err != nil {
502502 return nil , errors .Trace (err )
503503 }
@@ -506,7 +506,7 @@ func (c *Conn) exec(query string) (*Result, error) {
506506
507507// Sends COM_QUERY
508508// https://dev.mysql.com/doc/dev/mysql-server/latest/page_protocol_com_query.html
509- func (c * Conn ) exec_send (query string ) error {
509+ func (c * Conn ) execSend (query string ) error {
510510 var buf bytes.Buffer
511511
512512 if c .includeLine >= 0 {
0 commit comments