Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-15230

column_json breaks cyrillic in 10.1.31

    XMLWordPrintable

    Details

      Description

      We have upgraded some clients from 10.1.30 to 10.1.31 (the latest package)
      Then our app suddenly stopped working on certain places.
      After investigation it turns out that column_json started produced invalid data as this:

      select column_json(details) from b_client_order_details where client_order_id = 808636
      | {"description":{"title":"\u0000\u000.\u0000\u000/\u0000\u000(\u000!\u000!\u0000\u0000\u0000\u000-\u0000\u000(\u0000\u000%","value":"\u0000\u000$\u0000\u000.\u0000\u000/\u000!\u000*\u0000\u000+\u0000\u000-\u0000\u000(\u000!\u000"\u0000\u000%\u0000\u000+\u0000\u000-\u0000\u000. \u000!\u000)\u0000\u000% \u000!\u000!\u0000\u000% \u0000\u000*\u0000\u0000\u0000\u000&\u0000\u000% \u0000\u000*\u0000\u0000\u0000\u000*\u000!\u000*\u0000\u000" \u000!\u000&\u0000\u000"\u000!\u000/\u000!\u000" \u000!\u000)\u0000\u000% \u000!\u000!\u0000\u0000 \u000!\u000&\u0000\u000%\u0000\u000+\u000!\u000#\u0000\u000"\u0000\u000*\u0000\u000(\u000!\u000"\u0000\u000%"}} 
      

      We've downgraded the package to 10.1.30 and it started working again:

      select column_json(details) from b_client_order_details where client_order_id = 808636;
      | {"description":{"title":"Описание","value":"Допълнително ще се каже какъв цвят ще са целувките"}} 
      

      This is a major blocker since it renders the hole app unusable.

        Attachments

          Activity

            People

            Assignee:
            sanja Oleksandr Byelkin
            Reporter:
            lukav Anton Avramov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: