mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-14 20:44:29 +01:00
make column reuse blob/text fields
This commit is contained in:
@@ -7,7 +7,6 @@ use jni::sys::{jdouble, jint, jlong};
|
||||
use jni::JNIEnv;
|
||||
use limbo_core::{OwnedValue, Statement, StepResult};
|
||||
use std::num::NonZero;
|
||||
use std::rc::Rc;
|
||||
|
||||
pub const STEP_RESULT_ID_ROW: i32 = 10;
|
||||
#[allow(dead_code)]
|
||||
@@ -264,7 +263,7 @@ pub extern "system" fn Java_tech_turso_core_LimboStatement_bindBlob<'local>(
|
||||
|
||||
stmt.stmt.bind_at(
|
||||
NonZero::new(position as usize).unwrap(),
|
||||
OwnedValue::Blob(Rc::new(blob)),
|
||||
OwnedValue::Blob(blob),
|
||||
);
|
||||
SQLITE_OK
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user