1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Add experimental user function unhex().

FossilOrigin-Name: dbe424b5db33ce2c7562dfb44daf2969cf3074234cc891eb9b8d0d907faf6a78
This commit is contained in:
dan
2023-01-23 14:11:34 +00:00
parent f75e485ea7
commit e3c11d55db
5 changed files with 114 additions and 9 deletions

View File

@ -31,5 +31,15 @@ do_faultsim_test 1.1 -faults oom* -prep {
faultsim_test_result {0 {}}
}
do_faultsim_test 2 -faults oom* -prep {
faultsim_restore_and_reopen
} -body {
execsql {
SELECT hex ( unhex('ABCDEF') );
}
} -test {
faultsim_test_result {0 ABCDEF}
}
finish_test