Skip to content

Commit

Permalink
Update CreateIndexTest.cs
Browse files Browse the repository at this point in the history
Can't do any TEXT indexes on MySQL without a prefix length
  • Loading branch information
jas88 committed May 30, 2024
1 parent 166422b commit b562941
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/FAnsiTests/Table/CreateIndexTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ public void TestBasicCase_IndexCreated(DatabaseType databaseType, bool unique, b
var c = new DataColumn("C", typeof(string));
c.SetDoNotReType(true);

if (databaseType==DatabaseType.MySql && unique)
Assert.Inconclusive("Can't do UNIQUE TEXT indexes on MySQL");
if (databaseType==DatabaseType.MySql)
Assert.Inconclusive("Can't do TEXT indexes on MySQL without specifying prefix length");

DiscoveredTable tbl;
using (var dt = new DataTable("Fish"))
Expand Down

0 comments on commit b562941

Please sign in to comment.