Bug #48557 bzr mysql_plugins plugin: sanity-check warnings block qcommit forever

Submitted: 5 Nov 2009 9:35 Modified: 25 Feb 2010 14:11
Reporter: Guilhem Bichot Email Updates:
Status: Closed Impact on me:
None 
Category:Tools: Bazaar Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[5 Nov 2009 9:35] Guilhem Bichot
Description:
If you edit a file and mysql_plugins thinks this is questionable (for example this is an Innobase-owned file) it warns you and waits for <Enter> on stdin before proceeding. This works fine with "bzr commit" and "bzr gcommit" but not with "bzr qcommit", which somehow captures stdin in a way which makes it impossible to detect <Enter>. Thus, the commit stays blocked and people have to resort to "bzr commit/gcommit".
Found by Vladislav Vaintroub.

How to repeat:
echo a > storage/innobase/handler/ha_innodb.cc
bzr qcommit
[18 Nov 2009 8:42] Guilhem Bichot
workaround for now: when it is blocked and does not react on <Enter>, cancel qcommit, and re-do the commit with gcommit (from bzr-gtk).
[25 Feb 2010 14:11] Guilhem Bichot
wait-on-stdin has been disabled because it was also a problem for "bzr gcommit &" (no stdin access)

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.