https://bugs.documentfoundation.org/show_bug.cgi?id=154464

            Bug ID: 154464
           Summary: PostgreSQL direct connection: Prepared statement with
                    setArray leads to crash of LO
           Product: LibreOffice
           Version: 7.5.1.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Base
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: rob...@familiegrosskopf.de

Created attachment 186308
  --> https://bugs.documentfoundation.org/attachment.cgi?id=186308&action=edit
Macrocode for creating and inserting data in PostgreSQL table.

Open a Base file with direct connection to PostgreSQL.
Copy the macro-code from attached text file to a macro module of this direct
connected Base file (or take the attached Base file and connect this file).
Start procedure "NewTable".
Start procedure "Insert".
Have a look at the new created table - should show one inserted row.
Start procedure "PrepareStatementInsert".
LO will crash immediately.

Now reopen LO, do the same again and let you show "PrepareStatementInsert" step
by step. If it reaches "setArray" LO will crash.

Now reopen LO, do the same but start procedure
"PrepareStatementInsertWithoutArray" instead of "PrepareStatementInsert".
Prepared statement will work with setString, which has been created from an
array.

Bug happens with all LO-versions here on OpenSUSE 15.4 64bit rpm Linux.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to