Return value of enlarge_query_statement() is never evaluated

Поиск
Список
Период
Сортировка
От Rainer Bauer
Тема Return value of enlarge_query_statement() is never evaluated
Дата
Msg-id uvgm935prqq3lg855bbmsm8l3s9rd4i1gr@4ax.com
обсуждение исходный текст
Список pgsql-odbc
Hello,

while fixing the ResolveOneParam() bug, I saw that the return value of
enlarge_query_statement() is ignored by all calling functions.

Since that function might free the allocated memory, the result might be
disastrous (i.e. crashing the application). This function is only called via
macros, so I don't see an easy way to fix this.

Hiroshi, what do you think?

Rainer

В списке pgsql-odbc по дате отправления:

Предыдущее
От: Rainer Bauer
Дата:
Сообщение: Bug in ResolveOneParam()
Следующее
От:
Дата:
Сообщение: [ psqlodbc-Bugs-1007689 ] Returns ODBC 2.0 column names for SQLTables calls but reports ODBC 3.0