File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -256,6 +256,7 @@ impl SqliteExt {
256256 ) -> JsResult < ' gc , Value < ' gc > > {
257257 let filename = match args. get ( 0 ) {
258258 Value :: String ( s) => s. as_str ( agent) . to_string ( ) ,
259+ Value :: SmallString ( s) => s. as_str ( ) . to_string ( ) ,
259260 _ => {
260261 return Err ( agent
261262 . throw_exception_with_static_message (
@@ -342,6 +343,7 @@ impl SqliteExt {
342343
343344 let sql = match args. get ( 1 ) {
344345 Value :: String ( s) => s. as_str ( agent) . to_string ( ) ,
346+ Value :: SmallString ( s) => s. as_str ( ) . to_string ( ) ,
345347 _ => {
346348 return Err ( agent
347349 . throw_exception_with_static_message (
@@ -386,6 +388,7 @@ impl SqliteExt {
386388
387389 let sql = match args. get ( 1 ) {
388390 Value :: String ( s) => s. as_str ( agent) . to_string ( ) ,
391+ Value :: SmallString ( s) => s. as_str ( ) . to_string ( ) ,
389392 _ => {
390393 return Err ( agent
391394 . throw_exception_with_static_message (
You can’t perform that action at this time.
0 commit comments