mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-26 11:31:37 +08:00
Fix warning
This commit is contained in:
parent
6ce5c9ddcc
commit
364e885b89
@ -327,7 +327,7 @@ fn is_identifier_continue(c: char) -> bool {
|
|||||||
mod test {
|
mod test {
|
||||||
use super::Sql;
|
use super::Sql;
|
||||||
use crate::pragma;
|
use crate::pragma;
|
||||||
use crate::{Connection, DatabaseName, NO_PARAMS};
|
use crate::{Connection, DatabaseName};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn pragma_query_value() {
|
fn pragma_query_value() {
|
||||||
@ -341,6 +341,8 @@ mod test {
|
|||||||
#[test]
|
#[test]
|
||||||
#[cfg(feature = "bundled")]
|
#[cfg(feature = "bundled")]
|
||||||
fn pragma_func_query_value() {
|
fn pragma_func_query_value() {
|
||||||
|
use crate::NO_PARAMS;
|
||||||
|
|
||||||
let db = Connection::open_in_memory().unwrap();
|
let db = Connection::open_in_memory().unwrap();
|
||||||
let user_version: i32 = db
|
let user_version: i32 = db
|
||||||
.query_row(
|
.query_row(
|
||||||
|
Loading…
Reference in New Issue
Block a user