Skip to content

Commit

Permalink
add INNOCUOUS and DETERMINISTIC to crsql_config_get
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegn authored and tantaman committed Dec 27, 2023
1 parent 7bffe87 commit da2e952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/rs/core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ pub extern "C" fn sqlite3_crsqlcore_init(
.create_function_v2(
"crsql_config_get",
1,
sqlite::UTF8,
sqlite::UTF8 | sqlite::INNOCUOUS | sqlite::DETERMINISTIC,
Some(ext_data as *mut c_void),
Some(crsql_config_get),
None,
Expand Down

0 comments on commit da2e952

Please sign in to comment.