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

Which llstr(value, buff) can we replace with sprintf(buff, "%lld", value) ?

Details

    Description

      llstr() is a workaround for printing longlongs from the times when %llu was not supported
      serg, https://github.com/MariaDB/server/pull/3360#discussion_r1833301827

      Attachments

        Issue Links

          Activity

            ParadoxV5 Jimmy Hú created issue -
            ParadoxV5 Jimmy Hú made changes -
            Field Original Value New Value
            Description {quote}
            {{llstr()}} is a workaround for printing longlongs from the times when {{%llu}} was not supported
            https://github.com/MariaDB/server/pull/3360#discussion_r1833301827
            {quote}
            {quote}
            {{llstr()}} is a workaround for printing longlongs from the times when {{%llu}} was not supported
            ⸺ [~serg], https://github.com/MariaDB/server/pull/3360#discussion_r1833301827
            {quote}
            ParadoxV5 Jimmy Hú made changes -
            serg Sergei Golubchik made changes -
            Key TODO-5052 MDEV-35599
            Workflow Simple workflow [ 187561 ] MariaDB v4 [ 187562 ]
            Issue Type Improvement [ 4 ] Task [ 3 ]
            Project Dev todo [ 10100 ] MariaDB Server [ 10000 ]
            serg Sergei Golubchik made changes -
            Assignee Jimmy Hú [ JIRAUSER55761 ]
            serg Sergei Golubchik made changes -
            Summary Which {{llstr(value, buff)}}s can we replace with {{sprintf(buff, "%lld", value)}}? Which llstr(value, buff) can we replace with sprintf(buff, "%lld", value) ?
            ParadoxV5 Jimmy Hú made changes -
            Labels beginner-friendly
            ParadoxV5 Jimmy Hú made changes -
            Fix Version/s 11.8.1 [ 29961 ]
            ParadoxV5 Jimmy Hú made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            ParadoxV5 Jimmy Hú made changes -
            Fix Version/s 11.9 [ 29945 ]
            Fix Version/s 11.8.1 [ 29961 ]
            ParadoxV5 Jimmy Hú made changes -
            ParadoxV5 Jimmy Hú made changes -
            Status In Progress [ 3 ] Stalled [ 10000 ]
            ParadoxV5 Jimmy Hú made changes -
            Fix Version/s 12.0 [ 29945 ]

            People

              ParadoxV5 Jimmy Hú
              ParadoxV5 Jimmy Hú
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

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