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

mariadb-10.2.14/storage/tokudb/PerconaFT/ft/logger/logger.cc:675: suspicious expression ?

    XMLWordPrintable

    Details

      Description

      mariadb-10.2.14/storage/tokudb/PerconaFT/ft/logger/logger.cc:675]: (warning) Found calculation inside sizeof().

      Source code is

      int width = sizeof(result[0]+2);

      Maybe better code

      int width = sizeof(result[0])+2;

        Attachments

          Activity

            People

            Assignee:
            svoj Sergey Vojtovich
            Reporter:
            dcb David Binderman
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: