Open Shpaky opened 3 years ago
'asciiz/1' function of 'emysql_auth' module was fixed.
https://github.com/Eonblast/Emysql/blob/c7e2103f8b737667f0128802e8de2f0d5ed2fa5c/src/emysql_auth.erl#L91 here <<>> expects as second returning value, but it will be never received since binary:split/2 function doesn`t complement returning value.
<<>>
binary:split/2
Example:
1> binary:split(<<1,2,3,4,5,6,7,8,9,10,11,12,13>>,<<0>>). [<<1,2,3,4,5,6,7,8,9,10,11,12,13>>]
'asciiz/1' function of 'emysql_auth' module was fixed.
https://github.com/Eonblast/Emysql/blob/c7e2103f8b737667f0128802e8de2f0d5ed2fa5c/src/emysql_auth.erl#L91 here
<<>>
expects as second returning value, but it will be never received sincebinary:split/2
function doesn`t complement returning value.Example: