Skip to content

Commit d9df83b

Browse files
authored
Apply suggestions from code review
1 parent 79621b0 commit d9df83b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

internal/sql/catalog/table.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,6 @@ func (c *Catalog) alterTableSetSchema(stmt *ast.AlterTableSetSchemaStmt) error {
248248
}
249249

250250
func (c *Catalog) createTable(stmt *ast.CreateTableStmt) error {
251-
if stmt.Name == nil {
252-
return fmt.Errorf("create table statement missing table name")
253-
}
254251
ns := stmt.Name.Schema
255252
if ns == "" {
256253
ns = c.DefaultSchema

0 commit comments

Comments
 (0)