mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-20 03:00:43 -05:00
/go/libraries/doltcore/sqle/database.go: error on attempts to create ci tables
This commit is contained in:
@@ -1276,7 +1276,7 @@ func (db Database) CreateTable(ctx *sql.Context, tableName string, sch sql.Prima
|
||||
return err
|
||||
}
|
||||
|
||||
if doltdb.HasDoltPrefix(tableName) && !doltdb.IsFullTextTable(tableName) {
|
||||
if (doltdb.HasDoltPrefix(tableName) || doltdb.HasDoltCIPrefix(tableName)) && !doltdb.IsFullTextTable(tableName) {
|
||||
return ErrReservedTableName.New(tableName)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user