OwnedValue -> Value

This commit is contained in:
Pekka Enberg
2025-05-15 11:43:23 +03:00
parent ef65275bda
commit 9303262dfd
2 changed files with 7 additions and 5 deletions

View File

@@ -7281,9 +7281,11 @@ mod tests {
page_type: PageType,
) {
let mut payload = Vec::new();
let record = ImmutableRecord::from_registers(&[Register::OwnedValue(OwnedValue::Blob(
vec![0; size as usize],
))]);
let record =
ImmutableRecord::from_registers(&[Register::Value(Value::Blob(vec![
0;
size as usize
]))]);
fill_cell_payload(
page_type,
Some(i),

View File

@@ -179,7 +179,7 @@ Note that for other functions it might be implemented in other location in vdbe
```diff
// file vdbe/datetime.rs
// ...
+ pub fn exec_date(values: &[OwnedValue]) -> OwnedValue {
+ pub fn exec_date(values: &[Value]) -> Value {
+ // ... implementation
+ }