mirror of
https://github.com/sqlite/sqlite.git
synced 2025-12-24 14:17:58 +03:00
Export sqlite3_vtab_collation() to wasm. Rename 'flexible-string' JS argument adapter to 'string:flexible' for consistency.
FossilOrigin-Name: 15f8042fddaeabab43dd187c463d3ccc56758cbf19bf2ca4837d9087a4850c1a
This commit is contained in:
@@ -671,9 +671,9 @@ self.sqlite3InitModule = sqlite3InitModule;
|
||||
.assert(p1 === argAd('bar'));
|
||||
}
|
||||
|
||||
// 'flexible-string' argAdapter() sanity checks...
|
||||
// 'string:flexible' argAdapter() sanity checks...
|
||||
w.scopedAllocCall(()=>{
|
||||
const argAd = w.xWrap.argAdapter('flexible-string');
|
||||
const argAd = w.xWrap.argAdapter('string:flexible');
|
||||
const cj = (v)=>w.cstringToJs(argAd(v));
|
||||
T.assert('Hi' === cj('Hi'))
|
||||
.assert('hi' === cj(['h','i']))
|
||||
|
||||
Reference in New Issue
Block a user