Skip to content

Commit c624d3a

Browse files
[autofix.ci] apply automated fixes
1 parent 9617eaa commit c624d3a

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

src/sql/mysql/protocol/ResultSet.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,10 +270,10 @@ const Data = @import("../../shared/Data.zig").Data;
270270
const SQLDataCell = @import("../../shared/SQLDataCell.zig").SQLDataCell;
271271
const SQLQueryResultMode = @import("../../shared/SQLQueryResultMode.zig").SQLQueryResultMode;
272272
const decodeLengthInt = @import("./EncodeInt.zig").decodeLengthInt;
273+
const DateTime = @import("../MySQLTypes.zig").Value.DateTime;
273274

274275
const DecodeBinaryValue = @import("./DecodeBinaryValue.zig");
275276
const decodeBinaryValue = DecodeBinaryValue.decodeBinaryValue;
276-
const DateTime = @import("../MySQLTypes.zig").Value.DateTime;
277277

278278
const NewReader = @import("./NewReader.zig").NewReader;
279279
const decoderWrap = @import("./NewReader.zig").decoderWrap;

test/regression/issue/29208.test.ts

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// via the binary (prepared) and text (simple) protocols.
99

1010
import { SQL, randomUUIDv7 } from "bun";
11-
import { afterAll, beforeAll, describe, expect, test } from "bun:test";
11+
import { beforeAll, describe, expect, test } from "bun:test";
1212
import { describeWithContainer, isDockerEnabled } from "harness";
1313

1414
const EXPECTED_ISO = "2024-01-15T05:30:45.678Z" as const;
@@ -65,16 +65,12 @@ async function runRoundTrip(url: string) {
6565

6666
// ─── Docker path (used in CI) ───────────────────────────────────────────────
6767
if (isDockerEnabled()) {
68-
describeWithContainer(
69-
"issue #29208 (containerized MySQL)",
70-
{ image: "mysql_plain", concurrent: true },
71-
container => {
72-
beforeAll(() => container.ready);
73-
test("DATETIME/TIMESTAMP decode as UTC under non-UTC TZ", async () => {
74-
await runRoundTrip(`mysql://root@${container.host}:${container.port}/bun_sql_test`);
75-
});
76-
},
77-
);
68+
describeWithContainer("issue #29208 (containerized MySQL)", { image: "mysql_plain", concurrent: true }, container => {
69+
beforeAll(() => container.ready);
70+
test("DATETIME/TIMESTAMP decode as UTC under non-UTC TZ", async () => {
71+
await runRoundTrip(`mysql://root@${container.host}:${container.port}/bun_sql_test`);
72+
});
73+
});
7874
}
7975

8076
// ─── Local-server path (used in dev/reproduction shells without Docker) ────

0 commit comments

Comments
 (0)