Uploaded image for project: 'Percona Server for MySQL'
  1. Percona Server for MySQL
  2. PS-7041

Correct Compilation error when -DWITH_EDITLINE=bundled is used

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 5.7.x, Not 5.6.x, Not 8.0.x
    • Fix Version/s: 5.7.30-33
    • Component/s: None
    • Labels:
      None

      Description

      Compilation stopped work -DWITH_EDITLINE=bundled after 5.7.30 upstream merge:
      https://travis-ci.org/github/inikep/percona-server/jobs/681108768

      /Users/travis/build/inikep/percona-server/client/mysql.cc:2856:1: error: expected unqualified-id
      {
      ^
      /Users/travis/build/inikep/percona-server/client/mysql.cc:2876:33: error: assigning to 'Function *' (aka 'int (*)(const char *, int)') from incompatible type 'int *(*)(const char *, int)': different return type ('int' vs 'int *')
        rl_completion_entry_function= &no_completion;
                                      ^~~~~~~~~~~~~~
      

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                przemyslaw.skibinski Przemyslaw Skibinski
                Reporter:
                przemyslaw.skibinski Przemyslaw Skibinski
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 4 hours, 45 minutes
                    4h 45m