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

error: cannot initialize return object of type 'bool' with an rvalue of type 'nullptr_t'

    XMLWordPrintable

Details

    Description

      Probably other versions are affected to, didn't try to build yet, but the commit in question is in 10.3+

      10.6 28116ca3614

      /usr/ports/databases/mariadb106-server/work/mariadb-10.6.8/sql/sql_lex.cc:9265:12: error: cannot initialize return object of type 'bool' with an rvalue of type 'nullptr_t'
          return NULL;
                 ^~~~
      /usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL'
      #define NULL    nullptr
                      ^~~~~~~
      /usr/ports/databases/mariadb106-server/work/mariadb-10.6.8/sql/sql_lex.cc:9269:12: error: cannot initialize return object of type 'bool' with an rvalue of type 'nullptr_t'
          return NULL;
                 ^~~~
      /usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL'
      #define NULL    nullptr
                      ^~~~~~~
      /usr/ports/databases/mariadb106-server/work/mariadb-10.6.8/sql/sql_lex.cc:9276:12: error: cannot initialize return object of type 'bool' with an rvalue of type 'nullptr_t'
          return NULL;
                 ^~~~
      /usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL'
      #define NULL    nullptr
                      ^~~~~~~
      3 errors generated.
      

      The lines appear to belong to this commit:

      commit fbcf0225e195bae2679272569e5a6310557ec853 (origin/bb-10.3-bar)
      Author: Alexander Barkov
      Date:   Fri Mar 25 13:52:32 2022 +0400
       
          MDEV-19804 sql_mode=ORACLE: call procedure in packages
      

      Attachments

        Activity

          People

            bar Alexander Barkov
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.