To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=107246


User fs changed the following:

                What    |Old value                 |New value
================================================================================
                      CC|'mechtilde,r4zoli,rene'   |'fs,mechtilde,r4zoli,rene'
--------------------------------------------------------------------------------
             Assigned to|fs                        |rene
--------------------------------------------------------------------------------




------- Additional comments from f...@openoffice.org Wed Dec  2 12:57:05 +0000 
2009 -------
This looks bad. The mysqlc.uno.so should also have the "typeinfo for
sql::SQLException". The vanilla version has, yours hasn't. Which means that
indeed the exception which is thrown in C/C++ cannot be caught in C/OOo, and
thus the process is terminated.

IIRC, there's one piece on our patch which dealt with this, search for the class
declaration of SQLException (and other exceptions): There, we replace
CPPCONN_PUBLIC_FUNC with CPPCONN_PUBLIC_EXCEPTION, which ensures the proper 
export for those exception's type information.

I assume you're building with-system-mysqlcppconn. I'd say you need apply some
equivalent of this patch to your system-mysqlcppconn. Basically,
CPPCONN_PUBLIC_EXCEPTION is defined as SAL_DLLPUBLIC_EXPORT, but not sure what
this actually is for your compiler. Probably '__attribute__
((visibility("default")))'.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@dba.openoffice.org
For additional commands, e-mail: issues-h...@dba.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to