Thread: JDBC: prevent NullPointerException if translations missing

JDBC: prevent NullPointerException if translations missing

From
William Webber
Date:
Hi all!

Attached is a patch that prevents a NullPointerException in the JDBC
driver if the translations files have not been properly installed.  (We
carefully avoided installing the translations file in a controlled
environment here specifically to test for such a bug. :-)

See attached description for more details.

William
--
William Webber                               william@peopleweb.net.au
Senior Programmer
PeopleWeb Australia                          http://www.peopleweb.com

Attachment

Re: JDBC: prevent NullPointerException if translations missing

From
Bruce Momjian
Date:
Applied.  Thanks.

> Hi all!
>
> Attached is a patch that prevents a NullPointerException in the JDBC
> driver if the translations files have not been properly installed.  (We
> carefully avoided installing the translations file in a controlled
> environment here specifically to test for such a bug. :-)
>
> See attached description for more details.
>
> William
> --
> William Webber                               william@peopleweb.net.au
> Senior Programmer
> PeopleWeb Australia                          http://www.peopleweb.com

[ Attachment, skipping... ]

[ Attachment, skipping... ]


--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026