diff options
Diffstat (limited to 'sqlite.zig')
| -rw-r--r-- | sqlite.zig | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -328,7 +328,7 @@ pub const Db = struct { | |||
| 328 | } | 328 | } |
| 329 | 329 | ||
| 330 | // Compute the flags | 330 | // Compute the flags |
| 331 | var flags: c_int = 0; | 331 | var flags: c_int = c.SQLITE_OPEN_URI; |
| 332 | flags |= @as(c_int, if (options.open_flags.write) c.SQLITE_OPEN_READWRITE else c.SQLITE_OPEN_READONLY); | 332 | flags |= @as(c_int, if (options.open_flags.write) c.SQLITE_OPEN_READWRITE else c.SQLITE_OPEN_READONLY); |
| 333 | if (options.open_flags.create) { | 333 | if (options.open_flags.create) { |
| 334 | flags |= c.SQLITE_OPEN_CREATE; | 334 | flags |= c.SQLITE_OPEN_CREATE; |