Skip to content

Commit 2deb24d

Browse files
author
James Cor
committed
missed implementation
1 parent de954e3 commit 2deb24d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

enginetest/mysqlshim/database.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,8 @@ func (d Database) DropView(ctx *sql.Context, name string) error {
278278
return d.shim.Exec(d.name, fmt.Sprintf("DROP VIEW `%s`;", name))
279279
}
280280

281-
// GetViewDefinition implements the interface sql.ViewDatabase.
282-
func (d Database) GetViewDefinition(ctx *sql.Context, viewName string) (sql.ViewDefinition, bool, error) {
281+
// GetViewDefinitionAsOf implements the interface sql.ViewDatabase.
282+
func (d Database) GetViewDefinitionAsOf(ctx *sql.Context, viewName string, asOf interface{}) (sql.ViewDefinition, bool, error) {
283283
views, err := d.AllViews(ctx)
284284
if err != nil {
285285
return sql.ViewDefinition{}, false, err

0 commit comments

Comments
 (0)