Fix building on gcc 7

Bug #1733637 reported by Thomas Deutschmann
This bug report is a duplicate of:  Bug #1729241: Build failure on Ubuntu artful. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
New
Undecided
Unassigned

Bug Description

dev-db/percona-server-5.6.37.82.2 fails to build with gcc-7.2.0:

work/mysql/sql-common/client_authentication.cc:87:59: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
       mysql->options.extension->server_public_key_path != '\0')
                                                           ^~~~

MySQL upstream fixed this in mysql-8 long time ago via https://github.com/mysql/mysql-server/commit/db1bde79b1b4c0bd6864f80de4e2c233aef5d025#diff-763b8fc269ea583b440d0847c7c1f05d

Revision history for this message
Thomas Deutschmann (whissi) wrote :
tags: added: contribution upstream
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.