Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions sqlite.zig
Original file line number Diff line number Diff line change
Expand Up @@ -3729,8 +3729,7 @@ test "sqlite: create aggregate function with no aggregate context" {
var db = try getTestDb();
defer db.deinit();

const clock = std.Io.Clock.boot;
const timestamp = clock.now(std.testing.io) catch std.Io.Timestamp.zero;
const timestamp = std.Io.Clock.boot.now(std.testing.io);
var rand = std.Random.DefaultPrng.init(@intCast(timestamp.toMilliseconds()));

// Create an aggregate function working with a MyContext
Expand Down Expand Up @@ -3792,8 +3791,7 @@ test "sqlite: create aggregate function with an aggregate context" {
var db = try getTestDb();
defer db.deinit();

const clock = std.Io.Clock.boot;
const timestamp = clock.now(std.testing.io) catch std.Io.Timestamp.zero;
const timestamp = std.Io.Clock.boot.now(std.testing.io);
var rand = std.Random.DefaultPrng.init(@intCast(timestamp.toMilliseconds()));

try db.createAggregateFunction(
Expand Down