2021-07-06 22:44:11 +02:00
|
|
|
package sqlstore
|
|
|
|
|
|
|
|
import (
|
|
|
|
"database/sql"
|
|
|
|
|
2021-08-25 22:08:01 +02:00
|
|
|
"github.com/mattermost/mattermost-server/v6/shared/mlog"
|
2021-07-06 22:44:11 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
func (s *SQLStore) CloseRows(rows *sql.Rows) {
|
|
|
|
if err := rows.Close(); err != nil {
|
|
|
|
s.logger.Error("error closing MattermostAuthLayer row set", mlog.Err(err))
|
|
|
|
}
|
|
|
|
}
|