Skip to content

Commit ed9a1c6

Browse files
committed
Fix MySql Issue
1 parent 1bbf30f commit ed9a1c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Projects/Dotmim.Sync.MySql/Builders/MySqlDbMetadata.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ public override DbType GetDbType(SyncColumn columnDefinition)
143143
MySqlDbType.UInt16 => typeof(ushort),
144144
MySqlDbType.Int64 => typeof(long),
145145
MySqlDbType.UInt24 or MySqlDbType.UInt32 => typeof(uint),
146-
MySqlDbType.Bit or MySqlDbType.UInt64 => typeof(ulong),
146+
MySqlDbType.Bit or MySqlDbType.Bool => typeof(bool),
147+
MySqlDbType.UInt64 => typeof(ulong),
147148
MySqlDbType.Float => typeof(float),
148149
MySqlDbType.Double => typeof(double),
149150
MySqlDbType.Time => typeof(TimeSpan),

0 commit comments

Comments
 (0)