Re: BUG #2514: (jdbc driver) Multiple inlined statements with
В списке pgsql-bugs по дате отправления:
| От | Kris Jurka |
|---|---|
| Тема | Re: BUG #2514: (jdbc driver) Multiple inlined statements with |
| Дата | |
| Msg-id | Pine.BSO.4.63.0607062019410.384@leary2.csoft.net обсуждение |
| Ответ на | BUG #2514: (jdbc driver) Multiple inlined statements with mixed updates and queries return wrong results ("Gilles" <gilles.rayrat@continuent.com>) |
| Список | pgsql-bugs |
On Wed, 5 Jul 2006, Gilles wrote:
> Bug reference: 2514
> Description: (jdbc driver) Multiple inlined statements with mixed
> updates and queries return wrong results
> Details:
>
> When issuing this:
> statement.execute("SELECT 2;UPDATE foo SET d='babar' where i=1; SELECT 3");
> The 2 result returned is wrong. This seems to be a ResultSet containing the
> same values as the first RS (it should be an update count)
>
Fixed in CVS for 8.0, 8.1 and 8.2dev. It was mistakenly retaining some
state from the first SELECT when issuing the update. I've put up a
temporary jar file here if you need a fix before the next official
releases. http://www.ejurka.com/pgsql/jars/gr/
Kris Jurka
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера