Re: New libpq based driver snapshot 08.01.0003 available
| От | Zoltan Boszormenyi |
|---|---|
| Тема | Re: New libpq based driver snapshot 08.01.0003 available |
| Дата | |
| Msg-id | 42F11C35.4030105@dunaweb.hu обсуждение |
| Ответ на | Re: New libpq based driver snapshot 08.01.0003 available (Zoltan Boszormenyi <zboszor@dunaweb.hu>) |
| Ответы |
Re: New libpq based driver snapshot 08.01.0003 available
|
| Список | pgsql-odbc |
Zoltan Boszormenyi írta:
> The old version returns COPY_OK for both cases, although the logging
> in the new version is nice. Which is the correct behaviour? I would like
> to be able to ignore NULL notification.
And the attached patch indeed fixes it.
Best regards,
Zoltán Böszörményi
--- psqlodbc-08.01.0103/convert.c.old 2005-08-03 21:24:03.011720344 +0200
+++ psqlodbc-08.01.0103/convert.c 2005-08-03 21:24:19.429224504 +0200
@@ -493,7 +493,7 @@
{
SC_set_error(stmt, STMT_RETURN_NULL_WITHOUT_INDICATOR, "StrLen_or_IndPtr was a null pointer and NULL data
wasretrieved");
SC_log_error(func, "", stmt);
- return SQL_ERROR;
+ return COPY_OK;
}
}
В списке pgsql-odbc по дате отправления: