Bug 91325 - Embedded Firebird - Table can not renamed with the Gui
Summary: Embedded Firebird - Table can not renamed with the Gui
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
5.0.0.0.alpha0+ Master
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL: http://www.firebirdfaq.org/faq363/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-16 15:50 UTC by Ulf
Modified: 2015-05-19 17:50 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
screen shot (33.25 KB, image/png)
2015-05-16 15:50 UTC, Ulf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulf 2015-05-16 15:50:36 UTC
Created attachment 115659 [details]
screen shot

Please open attached screen shot from a right-click on a table. I use the embedded Firebird Database and want to rename the table, but the <Rename> Button is missing.

This works with the embedded HSQLDB

I use Win 8.1 and attached a screen shot

This is also in 4.4.3.1
Comment 1 Robert Großkopf 2015-05-16 17:45:44 UTC
I could confirm renaming of a firebird-table doesn't work. I have had a look at the description of Firebird and I didn't found any command like
ALTER TABLE "table" RENAME TO "new_table";

So this doesn't seem to be a special LO - embedded firebird - bug. Could be someone else does know more about it. I would set this bug to "NOTOURBUG" ...
Comment 2 Julien Nabet 2015-05-17 08:05:13 UTC
Popa/Lionel: Noticing https://gerrit.libreoffice.org/#/c/15026/ and knowing there's an onprogress work to complete Firebird implementation, any thought?
Comment 3 Alex Thurgood 2015-05-19 14:17:20 UTC
Confirmed by Robert ==>> NEW
Comment 4 Alex Thurgood 2015-05-19 16:04:54 UTC
Also confirming on 

Version: 4.4.3.2
Build ID: 88805f81e9fe61362df02b9941de8e38a9b5fd16
Locale : fr_

OSX 10.10.3
Comment 5 Lionel Elie Mamane 2015-05-19 16:30:14 UTC
The Table object of the Firebird driver explicitly does not provide the com::sun::star::sdbcx::XRename interface, with a comment:


// Firebird doesn't support this.

Which suggests that table renaming is not supported in Firebird. Marius, if you could verify this and:

1) If it is true, then close this bug as NOTOURBUG (or WONTVFIX?).

2) Else, implement Table::rename and remove the line that "unsupports" com.sun.star.sdbcx.XRename in Table::queryInterface
Comment 6 Julien Nabet 2015-05-19 17:48:33 UTC
According to http://www.firebirdfaq.org/faq363/ and http://tracker.firebirdsql.org/browse/CORE-2486 (which depends on another issue, http://tracker.firebirdsql.org/browse/CORE-1015), it's not possible.
BTW, the tracker shows no activity since 2011 (!!)

About proposed options in FAQ, I think the first one may be quite slow if we've got a big table to rename, the second one is more than dirty (you don't rename the table, you use a view which uses the table).

IMHO, we should consider this one as NOTOURBUG ("their enhancement")
Comment 7 Lionel Elie Mamane 2015-05-19 17:50:12 UTC
Thanks Julien for the research. Closing.