We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79621b0 commit d9df83bCopy full SHA for d9df83b
internal/sql/catalog/table.go
@@ -248,9 +248,6 @@ func (c *Catalog) alterTableSetSchema(stmt *ast.AlterTableSetSchemaStmt) error {
248
}
249
250
func (c *Catalog) createTable(stmt *ast.CreateTableStmt) error {
251
- if stmt.Name == nil {
252
- return fmt.Errorf("create table statement missing table name")
253
- }
254
ns := stmt.Name.Schema
255
if ns == "" {
256
ns = c.DefaultSchema
0 commit comments