Details

    Description

      MySQL 5.6 added the RANDOM_BYTES function: https://dev.mysql.com/doc/refman/5.6/en/encryption-functions.html#function_random-bytes

      This is needed for compatibility purposes.

      Attachments

        Issue Links

          Activity

            danblack Daniel Black added a comment -

            As suggested, I implemented this at the end of bb-10.10-MDEV-25704 and tested for mysql 8,0 compatibility. select random_bytes(0) is our extension. Note the fixme on TIME conversion in the test. Suggestions on implementing this much appreciated.

            danblack Daniel Black added a comment - As suggested, I implemented this at the end of bb-10.10- MDEV-25704 and tested for mysql 8,0 compatibility. select random_bytes(0) is our extension. Note the fixme on TIME conversion in the test. Suggestions on implementing this much appreciated.

            bb-10.10-MDEV-25704 as of ce1c50665 is NOT OK to push into the main tree, it fails in buildbot and otherwise.

            elenst Elena Stepanova added a comment - bb-10.10- MDEV-25704 as of ce1c50665 is NOT OK to push into the main tree, it fails in buildbot and otherwise.
            danblack Daniel Black added a comment - - edited

            fixed most. Debug builds only of query_cache test failing because args[0]->can_eval_in_optimize() changes from false to true between Item_func_random_bytes::fix_length_and_dec and Item_func_random_bytes::val_str. This is due to args[0]->table->const_table becoming true.

            danblack Daniel Black added a comment - - edited fixed most. Debug builds only of query_cache test failing because args[0]->can_eval_in_optimize() changes from false to true between Item_func_random_bytes::fix_length_and_dec and Item_func_random_bytes::val_str . This is due to args[0]->table->const_table becoming true.
            danblack Daniel Black added a comment -

            Ok, buildbot happy again. serg, nikitamalyavin can I get a review on the last two commits on the bb-10.10-MDEV-25704 branch.

            danblack Daniel Black added a comment - Ok, buildbot happy again. serg , nikitamalyavin can I get a review on the last two commits on the bb-10.10- MDEV-25704 branch.

            I have no further objections against pushing bb-10.10-MDEV-25704 as of 7f422495 into 10.10 main and releasing it with 10.10.1.

            elenst Elena Stepanova added a comment - I have no further objections against pushing bb-10.10- MDEV-25704 as of 7f422495 into 10.10 main and releasing it with 10.10.1.

            People

              serg Sergei Golubchik
              greenman Ian Gilfillan
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.