mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-18 09:04:19 +01:00
OwnedValue -> Value
This commit is contained in:
@@ -7281,9 +7281,11 @@ mod tests {
|
|||||||
page_type: PageType,
|
page_type: PageType,
|
||||||
) {
|
) {
|
||||||
let mut payload = Vec::new();
|
let mut payload = Vec::new();
|
||||||
let record = ImmutableRecord::from_registers(&[Register::OwnedValue(OwnedValue::Blob(
|
let record =
|
||||||
vec![0; size as usize],
|
ImmutableRecord::from_registers(&[Register::Value(Value::Blob(vec![
|
||||||
))]);
|
0;
|
||||||
|
size as usize
|
||||||
|
]))]);
|
||||||
fill_cell_payload(
|
fill_cell_payload(
|
||||||
page_type,
|
page_type,
|
||||||
Some(i),
|
Some(i),
|
||||||
|
|||||||
@@ -179,7 +179,7 @@ Note that for other functions it might be implemented in other location in vdbe
|
|||||||
```diff
|
```diff
|
||||||
// file vdbe/datetime.rs
|
// file vdbe/datetime.rs
|
||||||
// ...
|
// ...
|
||||||
+ pub fn exec_date(values: &[OwnedValue]) -> OwnedValue {
|
+ pub fn exec_date(values: &[Value]) -> Value {
|
||||||
+ // ... implementation
|
+ // ... implementation
|
||||||
+ }
|
+ }
|
||||||
|
|
||||||
@@ -238,4 +238,4 @@ An example:
|
|||||||
- | date() | No | |
|
- | date() | No | |
|
||||||
+ | date() | Yes | partially supports modifiers |
|
+ | date() | Yes | partially supports modifiers |
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user