Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
7309fda7
Kaydet (Commit)
7309fda7
authored
Tem 16, 2013
tarafından
Andrzej J.R. Hunt
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Don't use firebird internal headers.
Change-Id: Ida2f3599c2904c1c9a01a46656b8e8cd308a6f52
üst
0b68d703
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
16 deletions
+12
-16
RepositoryExternal.mk
RepositoryExternal.mk
+1
-3
FDatabaseMetaData.cxx
connectivity/source/drivers/firebird/FDatabaseMetaData.cxx
+11
-13
No files found.
RepositoryExternal.mk
Dosyayı görüntüle @
7309fda7
...
...
@@ -2118,9 +2118,7 @@ define gb_LinkTarget__use_libfbembed
$(call gb_LinkTarget_use_package,$(1),firebird)
$(call gb_LinkTarget_set_include,$(1),\
$$(INCLUDE) \
-I$(call gb_UnpackedTarball_get_dir,firebird)/src/include \
-I$(call gb_UnpackedTarball_get_dir,firebird)/src/include/gen \
-I$(call gb_UnpackedTarball_get_dir,firebird)/src/jrd \
-I$(call gb_UnpackedTarball_get_dir,firebird)/gen/firebird/include \
)
$(call gb_LinkTarget_use_libraries,$(1),\
fbembed \
...
...
connectivity/source/drivers/firebird/FDatabaseMetaData.cxx
Dosyayı görüntüle @
7309fda7
...
...
@@ -42,9 +42,7 @@
#include <com/sun/star/sdbc/XParameters.hpp>
#include <com/sun/star/sdbc/XRow.hpp>
#include <gen/autoconfig.h>
#include <fb_types.h>
#include <constants.h>
#include <ibase.h>
using
namespace
connectivity
::
firebird
;
using
namespace
com
::
sun
::
star
::
uno
;
...
...
@@ -127,34 +125,34 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInPrivilegeDefinitions() th
//----- Max Sizes/Lengths -----------------------------------------------------
sal_Int32
SAL_CALL
ODatabaseMetaData
::
getMaxBinaryLiteralLength
()
throw
(
SQLException
,
RuntimeException
)
{
return
MAX_COLUMN_SIZE
;
return
32767
;
}
sal_Int32
SAL_CALL
ODatabaseMetaData
::
getMaxRowSize
()
throw
(
SQLException
,
RuntimeException
)
{
return
MAX_COLUMN_SIZE
;
return
32767
;
}
sal_Int32
SAL_CALL
ODatabaseMetaData
::
getMaxCharLiteralLength
()
throw
(
SQLException
,
RuntimeException
)
{
return
MAX_COLUMN_SIZE
;
return
32767
;
}
sal_Int32
SAL_CALL
ODatabaseMetaData
::
getMaxColumnNameLength
()
throw
(
SQLException
,
RuntimeException
)
{
return
MAX_SQL_IDENTIFIER_SIZE
;
return
32
;
}
sal_Int32
SAL_CALL
ODatabaseMetaData
::
getMaxColumnsInIndex
()
throw
(
SQLException
,
RuntimeException
)
{
// No idea.
// See: http://www.firebirdsql.org/en/firebird-technical-specifications/
return
MAX_INDEX_SEGMENTS
;
return
16
;
}
sal_Int32
SAL_CALL
ODatabaseMetaData
::
getMaxCursorNameLength
()
throw
(
SQLException
,
RuntimeException
)
{
return
MAX_SQL_IDENTIFIER_SIZE
;
return
32
;
}
sal_Int32
SAL_CALL
ODatabaseMetaData
::
getMaxConnections
()
throw
(
SQLException
,
RuntimeException
)
...
...
@@ -166,17 +164,17 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInTable() throw(SQLException,
{
// May however be smaller.
// See: http://www.firebirdsql.org/en/firebird-technical-specifications/
return
MAX_COLUMN_SIZE
;
return
32767
;
}
sal_Int32
SAL_CALL
ODatabaseMetaData
::
getMaxStatementLength
()
throw
(
SQLException
,
RuntimeException
)
{
return
MAX_COLUMN_SIZE
;
return
32767
;
}
sal_Int32
SAL_CALL
ODatabaseMetaData
::
getMaxTableNameLength
()
throw
(
SQLException
,
RuntimeException
)
{
return
MAX_SQL_IDENTIFIER_SIZE
;
return
32
;
}
// -------------------------------------------------------------------------
sal_Int32
SAL_CALL
ODatabaseMetaData
::
getMaxTablesInSelect
(
)
throw
(
SQLException
,
RuntimeException
)
...
...
@@ -697,7 +695,7 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInSelect( ) throw(SQLExcepti
// -------------------------------------------------------------------------
sal_Int32
SAL_CALL
ODatabaseMetaData
::
getMaxUserNameLength
(
)
throw
(
SQLException
,
RuntimeException
)
{
return
USERNAME_LENGTH
;
return
31
;
}
// -------------------------------------------------------------------------
sal_Bool
SAL_CALL
ODatabaseMetaData
::
supportsResultSetType
(
sal_Int32
setType
)
throw
(
SQLException
,
RuntimeException
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment