Index: execute.c =================================================================== RCS file: /cvsroot/psqlodbc/psqlodbc/execute.c,v retrieving revision 1.72 diff -c -r1.72 execute.c *** execute.c 30 Nov 2005 13:41:44 -0000 1.72 --- execute.c 2 Dec 2005 14:07:43 -0000 *************** *** 743,752 **** /* * Note, any previous data-at-exec buffers will be freed in the ! * recycle ! */ ! /* if they call SQLExecDirect or SQLExecute again. */ stmt->data_at_exec = -1; stmt->current_exec_param = -1; stmt->put_data = FALSE; --- 743,753 ---- /* * Note, any previous data-at-exec buffers will be freed in the ! * recycleif they call SQLExecDirect or SQLExecute again. ! */ + mylog("Clearing parameters et al.\n"); + SC_free_params(stmt, STMT_FREE_PARAMS_ALL); stmt->data_at_exec = -1; stmt->current_exec_param = -1; stmt->put_data = FALSE;