1. 03 Jan, 2023 3 commits
    • Daniel Black's avatar
      acl - is_public - avoid embedded warning · cfaf47a4
      Daniel Black authored
      Using clang generates the unused-function warning on embedded like:
      
      FAILED: libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_acl.cc.o
      /usr/lib64/ccache/clang++ .... libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_acl.cc.o -MF libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_acl.cc.o.d -o libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_acl.cc.o -c /home/dan/repos/mariadb-server-10.11/sql/sql_acl.cc
      
      sql_acl.cc:113:20: error: unused function 'is_public' [-Werror,-Wunused-function]
      static inline bool is_public(const LEX_USER *l) { return is_public(&l->user); }
      cfaf47a4
    • Oleksandr Byelkin's avatar
      MDEV-30154: Assertion `strcasecmp(rolename, public_name.str) || acl_public ==... · 22491e62
      Oleksandr Byelkin authored
      MDEV-30154: Assertion `strcasecmp(rolename, public_name.str) || acl_public == role' failed in acl_update_role on GRANT ... TO PUBLIC
      
      Reset of acl_public was made too early (before saving it to restore in case
      of error).
      22491e62
    • Daniel Black's avatar
      MDEV-29889 mariadb-dump --tab --header is slow · a5be6c91
      Daniel Black authored
      --header applied an ORDER BY to ensure that the header
      row was the first row in the output given UNION ALL
      doesn't in the standard enforce the order.
      
      We change that now only add the ORDER BY if --order-by-primary
      is used.
      
      An assumption that if UNION ALL change to a different behaviour
      the resulting mysqldump-header test may also change.
      a5be6c91
  2. 16 Dec, 2022 7 commits
  3. 15 Dec, 2022 6 commits
  4. 14 Dec, 2022 22 commits
  5. 13 Dec, 2022 2 commits