[MDEV-26238] Remove inconsistent behaviour of --default-* options in my_print_defaults Created: 2021-07-26  Updated: 2023-07-18  Resolved: 2022-01-26

Status: Closed
Project: MariaDB Server
Component/s: Scripts & Clients
Fix Version/s: 10.8.1

Type: Task Priority: Critical
Reporter: Rucha Deodhar Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
PartOf
is part of MDEV-27373 Q1 2022 release merge Closed
Relates
relates to MDEV-25908 -e does not work for my_print_defaults Closed

 Description   

-e, -g and -c is only used by my_print_defaults. Also, in my_print_defaults, --defaults* option is recognized anywhere in the commandline vs only at the beginning in other tools. Hence, the aim is to make options for my_print_defaults consistent with other tools.
As a part of this patch, support for using -g, -e and -c in the options in removed.
Also, --default* option is now only recognized in the beginning.



 Comments   
Comment by Rucha Deodhar [ 2021-09-03 ]

Patch:
https://github.com/MariaDB/server/commit/ee768a783aeb22f4f5dca98e24adef729126ba55

Comment by Sergei Golubchik [ 2021-12-06 ]

ee768a783aeb22f4f5dc is ok to push.
But please, wait for buildbot to become greener (it'll need a merge all the way from 10.2), otherwise you will hardly be able to see whether your push breaks anything.

Comment by Rucha Deodhar [ 2021-12-14 ]

Pushed to preview branch

Generated at Thu Feb 08 09:43:47 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.