^w with interactive shell; how do you get it to strike out the previous word?

When you use the binaries from mysql, you can use ^w to delete the previous word.

^w with percona binaries will erase the whole line.

How do you get ^w to be the same between percona’s binaries/mysql binaries?

(Something related to not linking with libreadline or something?)

Which binaries are you using exactly ? What operating system ?

Ubuntu 10.10

Server version: 5.1.54-rel12.5-log (Percona Server (GPL), 12.5 , Revision 188)

Lucid packages.