package: take only the last value from my_print_defaults

Bug #1698019 reported by Andjelko Horvat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Status tracked in 5.7
5.5
Invalid
Undecided
Unassigned
5.6
Invalid
Undecided
Unassigned
5.7
Fix Released
Medium
EvgeniyPatlan

Bug Description

Debian/Ubuntu package postinst scripts use my_print_defaults which can return multiple values, and only the last value should be used.

The fix is here. https://github.com/percona/percona-server/pull/1792

Andjelko Horvat (comel)
affects: percona-server → mysql-5.7 (Ubuntu)
affects: mysql-5.7 (Ubuntu) → percona-server
tags: added: contribution
Changed in percona-server:
assignee: nobody → Sveta Smirnova (svetasmirnova)
Revision history for this message
Sveta Smirnova (svetasmirnova) wrote :

Thank you for the contribution.

This could cause the issue when one specify datadir in two different configuration files (say, ~/.my.cnf and /etc/my.cnf)

Changed in percona-server:
status: New → Confirmed
assignee: Sveta Smirnova (svetasmirnova) → nobody
Revision history for this message
EvgeniyPatlan (evgeniy-patlan) wrote :
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-1808

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.