summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/mysqlc/mysqlc_general.cxx5
-rw-r--r--connectivity/source/drivers/mysqlc/mysqlc_general.hxx2
2 files changed, 0 insertions, 7 deletions
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_general.cxx b/connectivity/source/drivers/mysqlc/mysqlc_general.cxx
index ed1a71dd460d..75b97b4028de 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_general.cxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_general.cxx
@@ -225,11 +225,6 @@ sal_Int32 mysqlStrToOOOType(const OUString& sType)
return css::sdbc::DataType::VARCHAR;
}
-OUString mysqlTypeToStr(MYSQL_FIELD const* field)
-{
- return mysqlTypeToStr(field->type, field->flags);
-}
-
OUString mysqlTypeToStr(unsigned type, unsigned flags)
{
bool isUnsigned = (flags & UNSIGNED_FLAG) != 0;
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_general.hxx b/connectivity/source/drivers/mysqlc/mysqlc_general.hxx
index 67dbd7342597..38852d269ae6 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_general.hxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_general.hxx
@@ -105,8 +105,6 @@ void throwSQLExceptionWithMsg(const char* msg, unsigned int errorNum,
sal_Int32 mysqlToOOOType(int eType, int charsetnr) noexcept;
-OUString mysqlTypeToStr(MYSQL_FIELD const* pField);
-
OUString mysqlTypeToStr(unsigned mysql_type, unsigned mysql_flags);
sal_Int32 mysqlStrToOOOType(const OUString& sType);