[Tarantool-patches] [PATCH v1 2/2] sql: ignore \0 in string passed to Lua-function

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Thu Apr 1 22:51:06 MSK 2021


Hi! Thanks for the fixes!

> diff --git "a/changelogs/unreleased/fix-crop-strings-by-\\0-in-user-functions.md" "b/changelogs/unreleased/fix-crop-strings-by-\\0-in-user-functions.md"
> new file mode 100644
> index 000000000..a0aa8a425
> --- /dev/null
> +++ "b/changelogs/unreleased/fix-crop-strings-by-\\0-in-user-functions.md"
> @@ -0,0 +1,4 @@
> +## bugfix/sql
> +
> +* Fixed cropping of a string if it contains '\0' when passing a string
> +  to user-defined Lua or C functions.

In the changelog records we use imperative, like in commit titles (because it
seems to be a commonly used way of writing them). Also you need to add the
issue reference to the text in a form `(gh-####)`. Look at the other changelog
files for examples.


More information about the Tarantool-patches mailing list