Re: pgsqODBC binding parameters II (fwd)

Поиск
Список
Период
Сортировка
От Ludek Finstrle
Тема Re: pgsqODBC binding parameters II (fwd)
Дата
Msg-id 20010321113834.D21919@anxur.fi.muni.cz
обсуждение исходный текст
Ответ на Re: pgsqODBC binding parameters II (fwd)  (Hiroshi Inoue <Inoue@tpf.co.jp>)
Список pgsql-odbc
> >   please, could some expert answer?
>
> Though I'm not an expert, I have a question.
>
> [snip]
>
> > > CONN ERROR: func=SQLExecute, desc='', errnum=110, errmsg='ERROR:  parser: parse error at or near ""'
> > > SQLExecute: premature statement so return SQL_ERROR
>
> PREMATURE state of the statement seems to be the cause of
> the error. Is your change about data_at_exec to prevent the
> PREMATURE state just after the return from SQLNumResultCols ?
> Or does it have another purpose ?

Sorry, I don't understand question very well.
I make it in december. So I don't remember details.

The problem was that '?' didn't be detect as parametr at exec.
So I added detection of parameters at exec to SQLExecute. And if I detect
it I return SQL_NEED_DATA.

Do you want logs with successfull execute?

Luf

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

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: MULTIBYTE support
Следующее
От: Dave Page
Дата:
Сообщение: RE: MULTIBYTE support