[erlang-patches] odbc:param_query/3 and odbc:param_query/4

Kernel Panic <>
Wed Jan 9 10:29:27 CET 2013

A little patch for odbc:param_query/3 and odbc:param_query/4.

Issue: Calling odbc:param_query/3 and odbc:param_query/4 with
unparameterized query string and empty parameters list causes error in
pattern matching in function param_values/1.

This patch fixes this problem and allow to do things such as
odbc:param_query(ConRef, "select * from some_table", []).

git fetch :RubberCthulhu/otp.git odbc-empty-params


More information about the erlang-patches mailing list