summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/mysql_jdbc/YTable.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/mysql_jdbc/YTable.cxx')
-rw-r--r--connectivity/source/drivers/mysql_jdbc/YTable.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/connectivity/source/drivers/mysql_jdbc/YTable.cxx b/connectivity/source/drivers/mysql_jdbc/YTable.cxx
index 6eeaf3a23897..67b166d0e13e 100644
--- a/connectivity/source/drivers/mysql_jdbc/YTable.cxx
+++ b/connectivity/source/drivers/mysql_jdbc/YTable.cxx
@@ -208,6 +208,8 @@ void SAL_CALL OMySQLTable::alterColumnByName(const OUString& colName,
if (sTypeName.indexOf(s_sAutoIncrement) == -1)
{
sTypeName += OUStringLiteral(" ") + s_sAutoIncrement;
+ descriptor->setPropertyValue(rProp.getNameByIndex(PROPERTY_ID_TYPENAME),
+ makeAny(sTypeName));
}
}
else