@@ -608,11 +608,9 @@ public void InsertLargeBlobSync(string column, int size)
608
608
[ InlineData ( "Double" , "datatypes_reals" , 22 , typeof ( double ) , false , false , true , 0 , 31 ) ]
609
609
[ InlineData ( "MediumDecimal" , "datatypes_reals" , 30 , typeof ( decimal ) , false , false , true , 28 , 8 ) ]
610
610
[ InlineData ( "utf8" , "datatypes_strings" , 300 , typeof ( string ) , false , false , true , 0 , 0 ) ]
611
- #if ! BASELINE
612
611
[ InlineData ( "guid" , "datatypes_strings" , 36 , typeof ( Guid ) , false , false , true , 0 , 0 ) ]
613
612
[ InlineData ( "guidbin" , "datatypes_strings" , 36 , typeof ( Guid ) , false , false , true , 0 , 0 ) ]
614
613
[ InlineData ( "Blob" , "datatypes_blobs" , 65535 , typeof ( byte [ ] ) , true , false , true , 0 , 0 ) ]
615
- #endif
616
614
[ InlineData ( "Date" , "datatypes_times" , 10 , typeof ( DateTime ) , false , false , true , 0 , 0 ) ]
617
615
[ InlineData ( "Time" , "datatypes_times" , 17 , typeof ( TimeSpan ) , false , false , true , 0 , 6 ) ]
618
616
public void GetSchemaTable ( string column , string table , int columnSize , Type dataType , bool isLong , bool isKey , bool allowDbNull , int precision , int scale )
@@ -633,7 +631,13 @@ public void GetSchemaTable(string column, string table, int columnSize, Type dat
633
631
#endif
634
632
Assert . Equal ( ordinal , schema [ "ColumnOrdinal" ] ) ;
635
633
Assert . Equal ( dataType , schema [ "DataType" ] ) ;
634
+ #if BASELINE
635
+ // https://bugs.mysql.com/bug.php?id=87868
636
+ if ( dataType != typeof ( byte [ ] ) && dataType != typeof ( Guid ) )
637
+ Assert . Equal ( columnSize , schema [ "ColumnSize" ] ) ;
638
+ #else
636
639
Assert . Equal ( columnSize , schema [ "ColumnSize" ] ) ;
640
+ #endif
637
641
Assert . Equal ( isLong , schema [ "IsLong" ] ) ;
638
642
Assert . Equal ( isKey , schema [ "IsKey" ] ) ;
639
643
Assert . Equal ( allowDbNull , schema [ "AllowDBNull" ] ) ;
0 commit comments