You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dbslower: fix a python3 bytes/string issue int the -x option
In python3, the find method requires a bytes-like object. It fixes the
following error:
$ dbslower mysql -x $(which mysqld)
Traceback (most recent call last):
File "/usr/share/bcc/tools/dbslower", line 72, in <module>
if mysql_func_name.find("COM_DATA") >= 0:
TypeError: a bytes-like object is required, not 'str'
Also the -x option is currently undocumented in the man page and the
example file. So let's ix that too.
0 commit comments