fix db_sql/3 (from Anton Dries)

This commit is contained in:
Vítor Santos Costa 2010-05-21 08:38:20 +01:00
parent b0de1c597f
commit 845866f940

View File

@ -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 ->