diff options
Diffstat (limited to 'connectivity/source/drivers/mysqlc/mysqlc_general.hxx')
-rw-r--r-- | connectivity/source/drivers/mysqlc/mysqlc_general.hxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_general.hxx b/connectivity/source/drivers/mysqlc/mysqlc_general.hxx index 2c0879a14d9c..5fe60f68284a 100644 --- a/connectivity/source/drivers/mysqlc/mysqlc_general.hxx +++ b/connectivity/source/drivers/mysqlc/mysqlc_general.hxx @@ -92,16 +92,10 @@ void resetSqlVar(void** target, T* pValue, enum_field_types type, sal_Int32 nSiz void allocateSqlVar(void** mem, enum_field_types eType, unsigned nSize = 0); -rtl::OString escapeSql(const rtl::OString& from); - -rtl::OUString getStringFromAny(const css::uno::Any& _rAny); - -/// @throws css::sdbc::SQLException void throwFeatureNotImplementedException( const sal_Char* _pAsciiFeatureName, const css::uno::Reference<css::uno::XInterface>& _rxContext); -/// @throws css::sdbc::SQLException void throwInvalidArgumentException(const sal_Char* _pAsciiFeatureName, const css::uno::Reference<css::uno::XInterface>& _rxContext); @@ -115,9 +109,11 @@ rtl::OUString mysqlTypeToStr(MYSQL_FIELD* pField); sal_Int32 mysqlStrToOOOType(const rtl::OUString& sType); -rtl::OUString convert(const ::std::string& _string, const rtl_TextEncoding encoding); +OUString mysqlTypeToStr(unsigned mysql_type, unsigned mysql_flags); + +sal_Int32 mysqlStrToOOOType(const OUString& sType); -::std::string convert(const rtl::OUString& _string, const rtl_TextEncoding encoding); +OUString convert(const ::std::string& _string, const rtl_TextEncoding encoding); } #endif |