Emysql
Emysql copied to clipboard
Erlang MySQL driver
**'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. Example:...
Queries executed with IO list arguments are not correctly escaped, leading to possible code injections: `emysql:execute(mypool, , [["te'st"]]).` I believe the culprit is in emysql_conn.erl: ``` encode(Val, binary) when is_list(Val)...
* Fixed type references for queue, dict and gb_trees * Replaced the usage of erlang:now/0 by erlang:timestamp/0
When I run "make" inside Emysql, the error occured: (My erlang version is 21) ``` Generating "include/crypto_compat.hrl" ... ...supports cryto:hash/2 ...no changes needed to "include/crypto_compat.hrl". Skipping writing new file (cd...
is there replacement in golang language?
Hi, I have a large "insert" sentence that is about 17MB. when I use mysql_api:execute/2 to execute the "insert", the return value is: "{error, "You have an error in your...
Hi! I added the fun "emysql:as_maps/1". And the test result: 21 basics_SUITE conversion maps_empty_test < > 0.000s Ok 22 basics_SUITE conversion maps_single_test < > 0.000s Ok 23 basics_SUITE conversion maps_multi_test...
Similar issues in node: https://github.com/mysqljs/mysql/issues/1729, https://github.com/mysqljs/mysql/pull/1730 MySQL Authentication switch protocol is missed in Emysql driver, this cause unavailability for Erlang client to some mysql environment such as Azure MySQL service,...
Need to be checked on older versions before merge