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
b5995754
Kaydet (Commit)
b5995754
authored
Mar 05, 2012
tarafından
Philipp Weissenbacher
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Translate German comments, fix some whitespace
üst
fe4bb357
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
27 deletions
+18
-27
OFunctiondefs.hxx
connectivity/source/inc/odbc/OFunctiondefs.hxx
+8
-12
OPreparedStatement.hxx
connectivity/source/inc/odbc/OPreparedStatement.hxx
+4
-9
OResultSet.hxx
connectivity/source/inc/odbc/OResultSet.hxx
+1
-1
OResultSetMetaData.hxx
connectivity/source/inc/odbc/OResultSetMetaData.hxx
+2
-2
OStatement.hxx
connectivity/source/inc/odbc/OStatement.hxx
+1
-1
sqliterator.cxx
connectivity/source/parse/sqliterator.cxx
+2
-2
No files found.
connectivity/source/inc/odbc/OFunctiondefs.hxx
Dosyayı görüntüle @
b5995754
...
@@ -65,16 +65,15 @@
...
@@ -65,16 +65,15 @@
#ifdef ODBCIMP
#ifdef ODBCIMP
// Stub
-Version: dynamische Bindung an die DLL zur Laufzeit
.
// Stub
version: dynamic binding to the DLL at runtime
.
// odbcstub defin
iert die in den Quellen benutzten NSQL...-Methoden
// odbcstub defin
es the NSQL... methods used in the sources
// a
ls indirekte Funktionsaufrufe
.
// a
s indirect function calls
.
// odbcimp
zieht sich selbst preos2, odbc und postos2 an
.
// odbcimp
uses preos2, odbc and postos2 itself
.
// #include "odbc3imp.hxx"
// #include "odbc3imp.hxx"
#else
#else
// Zur Zeit verwenden wir die ODBC-DLL von Watcom-SQL direkt (ueber die
// Currently, we directly use the ODBC DLL from Watcom SQL (via the supplied lib)
// mitgelieferte Lib).
#ifndef ODBC_OS2
#ifndef ODBC_OS2
#define ODBC_OS2
#define ODBC_OS2
...
@@ -101,8 +100,7 @@
...
@@ -101,8 +100,7 @@
#endif
#endif
// In der ODBC.H von Watcom werden Strings als char * erwartet
// The ODBC.h from Watcom expects char*, not UCHAR* usually used with ODBC
// (nicht, wie sonst bei ODBC ueblich, als UCHAR *).
#if defined( ICC )
#if defined( ICC )
#define SDB_ODBC_CHAR unsigned char
#define SDB_ODBC_CHAR unsigned char
#else
#else
...
@@ -115,8 +113,7 @@
...
@@ -115,8 +113,7 @@
#ifdef UNX
#ifdef UNX
// Zur Zeit verwenden wir die ODBC-shared library von Q+E direkt (ueber die
// Currently, we directly use the ODBC shared library from Q+E (via the supplied lib)
// mitgelieferte Lib).
#ifndef ODBC_UNX
#ifndef ODBC_UNX
#define ODBC_UNX
#define ODBC_UNX
...
@@ -128,8 +125,7 @@
...
@@ -128,8 +125,7 @@
#else
#else
#include <odbc/sqlext.h>
#include <odbc/sqlext.h>
#endif
#endif
#undef sal_Bool // Ist in qeodbc.h definiert, wird aber von solar.h noch einmal
#undef sal_Bool // Is defined in qeodbc.h, but gets redefined by solar.h
// definiert.
#define SDB_ODBC_CHAR UCHAR
#define SDB_ODBC_CHAR UCHAR
#define SQL_WCHAR (-8)
#define SQL_WCHAR (-8)
...
...
connectivity/source/inc/odbc/OPreparedStatement.hxx
Dosyayı görüntüle @
b5995754
...
@@ -71,16 +71,11 @@ namespace connectivity
...
@@ -71,16 +71,11 @@ namespace connectivity
//====================================================================
//====================================================================
// Data attributes
// Data attributes
//====================================================================
//====================================================================
SQLSMALLINT
numParams
;
// Number of parameter markers
SQLSMALLINT
numParams
;
// Number of parameter markers for the prepared statement
// for the prepared statement
OBoundParam
*
boundParams
;
OBoundParam
*
boundParams
;
// Array of bound parameter
// Array of bound parameter objects. Each parameter marker will have a
// objects. Each parameter
// corresponding object to hold bind information, and resulting data.
// marker will have a
// corresponding object to
// hold bind information, and
// resulting data.
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
sdbc
::
XResultSetMetaData
>
m_xMetaData
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
sdbc
::
XResultSetMetaData
>
m_xMetaData
;
sal_Bool
m_bPrepared
;
sal_Bool
m_bPrepared
;
...
@@ -109,7 +104,7 @@ namespace connectivity
...
@@ -109,7 +104,7 @@ namespace connectivity
throw
(
::
com
::
sun
::
star
::
uno
::
Exception
);
throw
(
::
com
::
sun
::
star
::
uno
::
Exception
);
public
:
public
:
DECLARE_SERVICE_INFO
();
DECLARE_SERVICE_INFO
();
//
ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
//
A ctor, needed to return the object
OPreparedStatement
(
OConnection
*
_pConnection
,
const
::
rtl
::
OUString
&
sql
);
OPreparedStatement
(
OConnection
*
_pConnection
,
const
::
rtl
::
OUString
&
sql
);
//XInterface
//XInterface
...
...
connectivity/source/inc/odbc/OResultSet.hxx
Dosyayı görüntüle @
b5995754
...
@@ -200,7 +200,7 @@ namespace connectivity
...
@@ -200,7 +200,7 @@ namespace connectivity
)
const
;
)
const
;
public
:
public
:
DECLARE_SERVICE_INFO
();
DECLARE_SERVICE_INFO
();
//
ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
//
A ctor that is needed for returning the object
OResultSet
(
SQLHANDLE
_pStatementHandle
,
OStatement_Base
*
pStmt
);
OResultSet
(
SQLHANDLE
_pStatementHandle
,
OStatement_Base
*
pStmt
);
virtual
~
OResultSet
();
virtual
~
OResultSet
();
...
...
connectivity/source/inc/odbc/OResultSetMetaData.hxx
Dosyayı görüntüle @
b5995754
...
@@ -62,7 +62,7 @@ namespace connectivity
...
@@ -62,7 +62,7 @@ namespace connectivity
::
rtl
::
OUString
getCharColAttrib
(
sal_Int32
column
,
sal_Int32
ident
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
::
rtl
::
OUString
getCharColAttrib
(
sal_Int32
column
,
sal_Int32
ident
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
sal_Int32
getNumColAttrib
(
sal_Int32
column
,
sal_Int32
ident
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
sal_Int32
getNumColAttrib
(
sal_Int32
column
,
sal_Int32
ident
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
public
:
public
:
//
ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
//
A ctor that is needed for returning the object
OResultSetMetaData
(
OConnection
*
_pConnection
,
SQLHANDLE
_pStmt
)
OResultSetMetaData
(
OConnection
*
_pConnection
,
SQLHANDLE
_pStmt
)
:
m_aStatementHandle
(
_pStmt
)
:
m_aStatementHandle
(
_pStmt
)
,
m_pConnection
(
_pConnection
)
,
m_pConnection
(
_pConnection
)
...
@@ -95,7 +95,7 @@ namespace connectivity
...
@@ -95,7 +95,7 @@ namespace connectivity
{
{
return
m_pConnection
->
getOdbcFunction
(
_nIndex
);
return
m_pConnection
->
getOdbcFunction
(
_nIndex
);
}
}
//
/
Avoid ambigous cast error from the compiler.
// Avoid ambigous cast error from the compiler.
inline
operator
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
sdbc
::
XResultSetMetaData
>
()
throw
()
inline
operator
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
sdbc
::
XResultSetMetaData
>
()
throw
()
{
return
this
;
}
{
return
this
;
}
...
...
connectivity/source/inc/odbc/OStatement.hxx
Dosyayı görüntüle @
b5995754
...
@@ -232,7 +232,7 @@ namespace connectivity
...
@@ -232,7 +232,7 @@ namespace connectivity
protected
:
protected
:
virtual
~
OStatement
(){}
virtual
~
OStatement
(){}
public
:
public
:
//
ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
//
A ctor that is needed for returning the object
OStatement
(
OConnection
*
_pConnection
)
:
OStatement_BASE2
(
_pConnection
){}
OStatement
(
OConnection
*
_pConnection
)
:
OStatement_BASE2
(
_pConnection
){}
DECLARE_SERVICE_INFO
();
DECLARE_SERVICE_INFO
();
...
...
connectivity/source/parse/sqliterator.cxx
Dosyayı görüntüle @
b5995754
...
@@ -808,7 +808,7 @@ sal_Bool OSQLParseTreeIterator::getColumnTableRange(const OSQLParseNode* pNode,
...
@@ -808,7 +808,7 @@ sal_Bool OSQLParseTreeIterator::getColumnTableRange(const OSQLParseNode* pNode,
{
{
::
rtl
::
OUString
aColName
,
aTableRange
;
::
rtl
::
OUString
aColName
,
aTableRange
;
getColumnRange
(
pNode
,
aColName
,
aTableRange
);
getColumnRange
(
pNode
,
aColName
,
aTableRange
);
if
(
aTableRange
.
isEmpty
())
//
keinen gefunden
if
(
aTableRange
.
isEmpty
())
//
None found
{
{
// Look for the columns in the tables
// Look for the columns in the tables
for
(
ConstOSQLTablesIterator
aIter
=
m_pImpl
->
m_pTables
->
begin
();
aIter
!=
m_pImpl
->
m_pTables
->
end
();
++
aIter
)
for
(
ConstOSQLTablesIterator
aIter
=
m_pImpl
->
m_pTables
->
begin
();
aIter
!=
m_pImpl
->
m_pTables
->
end
();
++
aIter
)
...
@@ -2015,7 +2015,7 @@ const OSQLParseNode* OSQLParseTreeIterator::getGroupByTree() const
...
@@ -2015,7 +2015,7 @@ const OSQLParseNode* OSQLParseTreeIterator::getGroupByTree() const
OSL_ENSURE
(
pTableExp
->
count
()
==
TABLE_EXPRESSION_CHILD_COUNT
,
"OSQLParseTreeIterator: error in parse tree!"
);
OSL_ENSURE
(
pTableExp
->
count
()
==
TABLE_EXPRESSION_CHILD_COUNT
,
"OSQLParseTreeIterator: error in parse tree!"
);
pGroupClause
=
pTableExp
->
getChild
(
2
);
pGroupClause
=
pTableExp
->
getChild
(
2
);
//
Wenn es aber eine order_by ist, dann darf sie nicht leer sein:
//
If it is an order_by, it must not be empty
if
(
pGroupClause
->
count
()
!=
3
)
if
(
pGroupClause
->
count
()
!=
3
)
pGroupClause
=
NULL
;
pGroupClause
=
NULL
;
return
pGroupClause
;
return
pGroupClause
;
...
...
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