diff options
| author | 2024-06-23 18:56:25 +0200 | |
|---|---|---|
| committer | 2024-06-23 18:56:25 +0200 | |
| commit | 878f8cf92b308dabe2dce9e24bd7849e005f7ab5 (patch) | |
| tree | 82946a94c7c794ddaa1e4ba9b9159bfe43c52d58 /sqlite.zig | |
| parent | update gitignore (diff) | |
| parent | Latest zig master has renamed std.rand to std.Random (diff) | |
| download | zig-sqlite-878f8cf92b308dabe2dce9e24bd7849e005f7ab5.tar.gz zig-sqlite-878f8cf92b308dabe2dce9e24bd7849e005f7ab5.tar.xz zig-sqlite-878f8cf92b308dabe2dce9e24bd7849e005f7ab5.zip | |
Merge pull request #161 from malcolmstill/master
Enable features without vendoring
Diffstat (limited to 'sqlite.zig')
| -rw-r--r-- | sqlite.zig | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -3743,7 +3743,7 @@ test "sqlite: create aggregate function with no aggregate context" { | |||
| 3743 | var db = try getTestDb(); | 3743 | var db = try getTestDb(); |
| 3744 | defer db.deinit(); | 3744 | defer db.deinit(); |
| 3745 | 3745 | ||
| 3746 | var rand = std.rand.DefaultPrng.init(@intCast(std.time.milliTimestamp())); | 3746 | var rand = std.Random.DefaultPrng.init(@intCast(std.time.milliTimestamp())); |
| 3747 | 3747 | ||
| 3748 | // Create an aggregate function working with a MyContext | 3748 | // Create an aggregate function working with a MyContext |
| 3749 | 3749 | ||
| @@ -3804,7 +3804,7 @@ test "sqlite: create aggregate function with an aggregate context" { | |||
| 3804 | var db = try getTestDb(); | 3804 | var db = try getTestDb(); |
| 3805 | defer db.deinit(); | 3805 | defer db.deinit(); |
| 3806 | 3806 | ||
| 3807 | var rand = std.rand.DefaultPrng.init(@intCast(std.time.milliTimestamp())); | 3807 | var rand = std.Random.DefaultPrng.init(@intCast(std.time.milliTimestamp())); |
| 3808 | 3808 | ||
| 3809 | try db.createAggregateFunction( | 3809 | try db.createAggregateFunction( |
| 3810 | "mySum", | 3810 | "mySum", |