Re: Rowset.updateRow() crashes

Marc Santhoff <[email protected]>
Newsgroups gmane.comp.openoffice.dba.user
Message-ID <[email protected]>
Am Montag, den 25.07.2005, 13:58 +0200 schrieb Frank Schönheit - Sun
Microsystems Germany:
> Hi Marc,

Hello Frank,

> > At the last line it crashes reproducably in the following program
> > combinations:
> > ...
> 
> Add 680m120 on Windows to the list, with a MySQL server 4.1.7, and ODBC
> driver 3.51.11.
> 
> This is now issue 52440, targeted for 2.0.1.

Thank you very much.

> 
> The deeper reason here is the EscapeProcessing, which is set to FALSE by
> the macro. What I could have seen earlier :-\ is: EscapeProcessing=FALSE
> and updating via updateXXX kind of contradict each other, since for the
> updateXXX methods to work, OOo must should analyzed the statement, which
> is prevented by the EscapeProcessing setting.

Ah, I see. I did it this way because the string handling in creating the
statement programmatically is much easier and I had some errors with
quoting.

> Settings EscapeProcessing to TRUE successfully updates the record.

I'll go back to the more costly solution then, the way around asking for
and evaluating the metadata seems to be closed. ;)

Regards,
Marc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.