summaryrefslogtreecommitdiff
path: root/connectivity/source/inc/mysql
diff options
context:
space:
mode:
authorOcke Janssen [oj] <Ocke.Janssen@sun.com>2010-01-13 08:44:34 +0100
committerOcke Janssen [oj] <Ocke.Janssen@sun.com>2010-01-13 08:44:34 +0100
commitfbb7a4cd4c90471ab9582b799e04a6c1023d507e (patch)
tree006661340402e8bb8071ffeccb7a3ae152158d2c /connectivity/source/inc/mysql
parent3af527bf8c85dea2bc94fc812b96ff6253712232 (diff)
dba33f: #i20615# new feature to allow server side column descrriptions to be visible and changeable in the table designer.
Diffstat (limited to 'connectivity/source/inc/mysql')
-rw-r--r--connectivity/source/inc/mysql/YTables.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/connectivity/source/inc/mysql/YTables.hxx b/connectivity/source/inc/mysql/YTables.hxx
index d60c919daae0..52acf98f5180 100644
--- a/connectivity/source/inc/mysql/YTables.hxx
+++ b/connectivity/source/inc/mysql/YTables.hxx
@@ -31,12 +31,14 @@
#define CONNECTIVITY_MYSQL_TABLES_HXX
#include "connectivity/sdbcx/VCollection.hxx"
+#include "connectivity/SQLStatementHelper.hxx"
#include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
namespace connectivity
{
namespace mysql
{
- class OTables : public sdbcx::OCollection
+ class OTables : public sdbcx::OCollection,
+ public ::dbtools::ISQLStatementHelper
{
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData > m_xMetaData;
@@ -79,6 +81,9 @@ namespace connectivity
@param _sSql in/out
*/
static ::rtl::OUString adjustSQL(const ::rtl::OUString& _sSql);
+
+ // ISQLStatementHelper
+ virtual void addComment(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor,::rtl::OUStringBuffer& _rOut);
};
}
}