mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-24 09:59:19 +08:00
Fix PrepFlags
This commit is contained in:
parent
9d502c4995
commit
fed1c1c165
@ -1123,7 +1123,7 @@ bitflags::bitflags! {
|
|||||||
/// [sqlite3_prepare_v3](https://sqlite.org/c3ref/c_prepare_normalize.html) for details.
|
/// [sqlite3_prepare_v3](https://sqlite.org/c3ref/c_prepare_normalize.html) for details.
|
||||||
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
|
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct PrepFlags: ::std::os::raw::c_int {
|
pub struct PrepFlags: ::std::os::raw::c_uint {
|
||||||
/// A hint to the query planner that the prepared statement will be retained for a long time and probably reused many times.
|
/// A hint to the query planner that the prepared statement will be retained for a long time and probably reused many times.
|
||||||
const SQLITE_PREPARE_PERSISTENT = 0x01;
|
const SQLITE_PREPARE_PERSISTENT = 0x01;
|
||||||
/// Causes the SQL compiler to return an error (error code SQLITE_ERROR) if the statement uses any virtual tables.
|
/// Causes the SQL compiler to return an error (error code SQLITE_ERROR) if the statement uses any virtual tables.
|
||||||
|
Loading…
Reference in New Issue
Block a user