From 845866f9405e268618f8a876f3a02d80d4af23ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Fri, 21 May 2010 08:38:20 +0100 Subject: [PATCH] fix db_sql/3 (from Anton Dries) --- library/MYDDAS/myddas.ypp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/MYDDAS/myddas.ypp b/library/MYDDAS/myddas.ypp index ebafb9e73..c7435e562 100755 --- a/library/MYDDAS/myddas.ypp +++ b/library/MYDDAS/myddas.ypp @@ -325,7 +325,7 @@ db_sql(Connection,SQL,LA):- db_my_result_set(Mode), c_db_my_query(SQL,ResultSet,Con,Mode,Arity) ; - c_db_odbc_number_of_fields(SQL,Con,Arity) + c_db_odbc_number_of_fields_in_query(SQL,Con,Arity) ), '$make_a_list'(Arity,LA), ( ConType == mysql ->