We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 28832a1 + 5aa746f commit fce39d3Copy full SHA for fce39d3
1 file changed
ext/sqlite3/database.c
@@ -31,7 +31,7 @@ static char *
31
utf16_string_value_ptr(VALUE str)
32
{
33
StringValue(str);
34
- rb_str_buf_cat(str, "\x00", 1L);
+ rb_str_buf_cat(str, "\x00\x00", 2L);
35
return RSTRING_PTR(str);
36
}
37
0 commit comments