Skip to content

Commit

Permalink
Fix missing null terminator in schema name
Browse files Browse the repository at this point in the history
  • Loading branch information
guusw committed Apr 26, 2024
1 parent 0d62b52 commit 502aff7
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 @@ -557,7 +557,7 @@ unsafe extern "C" fn x_crsql_as_crr(
let (schema_name, table_name) = if argc == 2 {
(args[0].text(), args[1].text())
} else {
("main", args[0].text())
("main\0", args[0].text())
};

let db = ctx.db_handle();
Expand Down

0 comments on commit 502aff7

Please sign in to comment.