Skip to content

Commit 75be44d

Browse files
committed
support year type
1 parent 59797c3 commit 75be44d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/SciSharp.MySQL.Replication/Events/LogEvent.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ static LogEvent()
7575
DataTypes[(int)ColumnType.ENUM] = new EnumType();
7676
DataTypes[(int)ColumnType.SET] = new SetType();
7777
DataTypes[(int)ColumnType.BLOB] = new BlobType();
78+
DataTypes[(int)ColumnType.YEAR] = new YearType();
7879
}
7980

8081
/// <summary>

tests/Test/DataTypesTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ await TestDataType<string>("json_table", currentValue, updateValue, (reader, ind
208208
});
209209
}
210210

211-
//[Fact]
211+
[Fact]
212212
public async Task TestYearType()
213213
{
214214
var currentValue = 2023;

0 commit comments

Comments
 (0)