Kaydet (Commit) c6161021 authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Andras Timar

copy and paste error

Change-Id: I30a8fb0568f00253f8d7a55eab51279f639b33cc
Reviewed-on: https://gerrit.libreoffice.org/61982
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
(cherry picked from commit 2b276917)
üst 0d5728a0
...@@ -782,7 +782,7 @@ Reference<XResultSet> SAL_CALL ODatabaseMetaData::getColumns(const Any& /*catalo ...@@ -782,7 +782,7 @@ Reference<XResultSet> SAL_CALL ODatabaseMetaData::getColumns(const Any& /*catalo
nColumnSize = sColumnType.copy(6, 1).toInt32(); // 'year(' length is 5 nColumnSize = sColumnType.copy(6, 1).toInt32(); // 'year(' length is 5
else if (sDataType.equalsIgnoreAsciiCase("date")) else if (sDataType.equalsIgnoreAsciiCase("date"))
nColumnSize = 10; nColumnSize = 10;
else if (sDataType.equalsIgnoreAsciiCase("date")) else if (sDataType.equalsIgnoreAsciiCase("time"))
nColumnSize = 8; nColumnSize = 8;
else if (sDataType.equalsIgnoreAsciiCase("datetime") else if (sDataType.equalsIgnoreAsciiCase("datetime")
|| sDataType.equalsIgnoreAsciiCase("timestamp")) || sDataType.equalsIgnoreAsciiCase("timestamp"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment