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

Julien Nabet <serval2...@yahoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|libreoffice-b...@lists.free |serval2...@yahoo.fr
                   |desktop.org                 |

--- Comment #4 from Julien Nabet <serval2...@yahoo.fr> ---
(In reply to Julien Nabet from comment #3)
> I've submitted this first patch:
> https://gerrit.libreoffice.org/c/core/+/145499
> 
> but then I've got:
> warn:dbaccess:165069:165069:dbaccess/source/ui/uno/copytablewizard.cxx:1421:
> com.sun.star.sdbc.SQLException message: "This operation is not supported in
> statement [ALTER TABLE "qry_Name1" ALTER "ID" RESTART WITH 3] at
> /home/julien/lo/libreoffice/connectivity/source/drivers/jdbc/Object.cxx:172"
> SQLState: S1000 ErrorCode: -73
>     wrapped: void message: "at
> /home/julien/lo/libreoffice/comphelper/source/misc/diagnose_ex.cxx:66"

It seems due to the fact that "ID" field in "tbl_Name' is not an IDENTITY
column. To change this, you must set "autoincrement" to "yes" and then it
works.

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

Reply via email to