File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -497,9 +497,9 @@ func (c *Conn) ReadOKPacket() (*Result, error) {
497497func (c * Conn ) exec (query string ) (* Result , error ) {
498498 err := c .exec_send (query )
499499 if err != nil {
500- return nil , err
500+ return nil , errors . Trace ( err )
501501 }
502- return c .readResult (false )
502+ return errors . Trace ( c .readResult (false ) )
503503}
504504
505505// Sends COM_QUERY
@@ -689,7 +689,7 @@ func (c *Conn) SetQueryAttributes(attrs ...QueryAttribute) error {
689689}
690690
691691// IncludeLine can be passed as option when connecting to include the file name and line number
692- // of the caller as query attribute when sending queries.
692+ // of the caller as query attribute `_line` when sending queries.
693693func (c * Conn ) IncludeLine () {
694694 c .includeLine = true
695695}
You can’t perform that action at this time.
0 commit comments