# pt-online-schema-change in version 2.2.12 doesn't honour --ask-pass anymore

**URL:** <https://forums.percona.com/t/pt-online-schema-change-in-version-2-2-12-doesnt-honour-ask-pass-anymore/3893>\
**Category:** Percona Toolkit\
**Created:** [November 19, 2014, 11:27am UTC](https://forums.percona.com/t/pt-online-schema-change-in-version-2-2-12-doesnt-honour-ask-pass-anymore/3893 "2014-11-19T11:27:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![McA](https://avatars.discourse-cdn.com/v4/letter/m/3da27b/32.png) [@McA](https://forums.percona.com/u/McA)\
**Post date:** [November 19, 2014, 11:27am UTC](https://forums.percona.com/t/pt-online-schema-change-in-version-2-2-12-doesnt-honour-ask-pass-anymore/3893/1 "2014-11-19T11:27:21Z")

</div>

Hi all,

after installing the version 2.2.12 of the Toolkit I was hit by a regression:  
pt-online-schema-change doesn’t honour the commandline option --ask-pass anymore.

I wanted to file a bug in Launchpad, but I had to find out that I need an Ubuntu One Single Sign On whatsoever account for that.  
Sorry, but I’m not interested in such an account.

Relevant diff from 2.2.11 to 2.2.12 in pt-online-schema-change:

@@ -3755,7 +3755,7 @@  
set =\> $args{set},  
NAME\_lc =\> defined($args{NAME\_lc}) ? $args{NAME\_lc} : 1,  
dbh\_set =\> 0,

- ask\_pass =\> $o-\>get(‘ask-pass’),

- ask\_pass =\> $args{ask\_pass},  
DSNParser =\> $dp,  
is\_cluster\_node =\> undef,  
parent =\> $args{parent},

While testing I was hit by something different. When you hit CTRL-C in the interactive password dialogue the terminal remains in an inconsistent state: You don’t see any terminal output anymore. That’s really bad as you can easily run history commands without seeing that.

I would really appreciate if someone could file a bug for these two issues.

Thank you in advance.

Best regards  
Andreas

---

<div class="post-metadata">

**Author:** ![niljoshi](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/niljoshi/32/16889_2.png) [@niljoshi](https://forums.percona.com/u/niljoshi)\
**Post date:** [November 26, 2014, 11:20pm UTC](https://forums.percona.com/t/pt-online-schema-change-in-version-2-2-12-doesnt-honour-ask-pass-anymore/3893/2 "2014-11-26T23:20:20Z")

</div>

Hi Andreas,

Thanks for reporting these errors. I have already reported bugs. Please subscribe it so you can get update.

[url][https://bugs.launchpad.net/percona-toolkit/+bug/1396868[/url]](https://bugs.launchpad.net/percona-toolkit/+bug/1396868%5B/url%5D)  
[url][https://bugs.launchpad.net/percona-toolkit/+bug/1396870[/url]](https://bugs.launchpad.net/percona-toolkit/+bug/1396870%5B/url%5D)
