connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 2b2769177e368651943d3cedc0c18708c0a811ce Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Fri Oct 19 10:30:25 2018 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sat Oct 20 13:48:47 2018 +0200 copy and paste error Change-Id: I30a8fb0568f00253f8d7a55eab51279f639b33cc Reviewed-on: https://gerrit.libreoffice.org/61982 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.cxx b/connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.cxx index 5fb717fe3741..a1575c728298 100644 --- a/connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.cxx +++ b/connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.cxx @@ -780,7 +780,7 @@ Reference<XResultSet> SAL_CALL ODatabaseMetaData::getColumns(const Any& /*catalo nColumnSize = sColumnType.copy(6, 1).toInt32(); // 'year(' length is 5 else if (sDataType.equalsIgnoreAsciiCase("date")) nColumnSize = 10; - else if (sDataType.equalsIgnoreAsciiCase("date")) + else if (sDataType.equalsIgnoreAsciiCase("time")) nColumnSize = 8; else if (sDataType.equalsIgnoreAsciiCase("datetime") || sDataType.equalsIgnoreAsciiCase("timestamp")) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits