mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-24 02:14:27 +01:00
Change Value::Text to use a Cow<'static, str> instead of Vec<u8>
This commit is contained in:
@@ -236,7 +236,7 @@ pub extern "system" fn Java_tech_turso_core_TursoStatement_bindText<'local>(
|
||||
|
||||
stmt.stmt.bind_at(
|
||||
NonZero::new(position as usize).unwrap(),
|
||||
Value::build_text(text.as_str()),
|
||||
Value::build_text(text),
|
||||
);
|
||||
SQLITE_OK
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user