We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab6e795 commit 01f253bCopy full SHA for 01f253b
bulkcopy_test.go
@@ -58,6 +58,7 @@ func TestBulkcopy(t *testing.T) {
58
{"test_date_2", "2015-06-07", time.Date(2015, 6, 7, 0, 0, 0, 0, time.UTC)},
59
{"test_time", time.Date(2010, 11, 12, 13, 14, 15, 123000000, time.UTC), time.Date(1, 1, 1, 13, 14, 15, 123000000, time.UTC)},
60
{"test_time_2", "13:14:15.1230000", time.Date(1, 1, 1, 13, 14, 15, 123000000, time.UTC)},
61
+ {"test_time_0", "13:14:15", time.Date(1, 1, 1, 13, 14, 15, 0, time.UTC)},
62
{"test_tinyint", 255, nil},
63
{"test_smallint", 32767, nil},
64
{"test_smallintn", nil, nil},
@@ -256,6 +257,7 @@ func setupTable(ctx context.Context, t *testing.T, conn *sql.Conn, tableName str
256
257
[test_date_2] [date] NULL,
258
[test_time] [time](7) NULL,
259
[test_time_2] [time](7) NULL,
260
+ [test_time_0] [time](0) NULL,
261
[test_smallmoney] [smallmoney] NULL,
262
[test_money] [money] NULL,
263
[test_tinyint] [tinyint] NULL,
0 commit comments