Skip to content

Commit 00f026c

Browse files
authored
amend definer.go doc typo
1 parent 8d02188 commit 00f026c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/planbuilder/definer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"github.com/dolthub/go-mysql-server/sql/mysql_db"
2020
)
2121

22-
// mockDefiner temporarily impersonates the view definer during binding. It clones the current authorization state
22+
// mockDefiner temporarily impersonates the definer during binding. It clones the current authorization state
2323
// (when available), adds the requested global privileges (e.g. CREATE VIEW), and updates both the session privilege
2424
// cache and the cached AuthorizationQueryState. Callers must defer the returned restore function.
2525
func (b *Builder) mockDefiner(privileges ...sql.PrivilegeType) func() {

0 commit comments

Comments
 (0)