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
ee12e843
Kaydet (Commit)
ee12e843
authored
Eki 05, 2014
tarafından
Julien Nabet
Kaydeden (comit)
Lionel Elie Mamane
Eki 09, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#84073: change ODBC/JDBC escapes to lowercase
Change-Id: I19ce3acb9575fbef8273bbd84cb4dc322e101ac8
üst
b5167e18
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
5 deletions
+13
-5
DateConversion.cxx
connectivity/source/commontools/DateConversion.cxx
+3
-3
sqlbison.y
connectivity/source/parse/sqlbison.y
+8
-0
QueryDesignView.cxx
dbaccess/source/ui/querydesign/QueryDesignView.cxx
+1
-1
specialsettingspage.ui
dbaccess/uiconfig/ui/specialsettingspage.ui
+1
-1
No files found.
connectivity/source/commontools/DateConversion.cxx
Dosyayı görüntüle @
ee12e843
...
@@ -136,7 +136,7 @@ OUString DBTypeConversion::toSQLString(sal_Int32 eType, const Any& _rVal, bool b
...
@@ -136,7 +136,7 @@ OUString DBTypeConversion::toSQLString(sal_Int32 eType, const Any& _rVal, bool b
if
(
bOk
)
if
(
bOk
)
{
{
if
(
bQuote
)
if
(
bQuote
)
aRet
.
appendAscii
(
"{
TS
'"
);
aRet
.
appendAscii
(
"{
ts
'"
);
aRet
.
append
(
DBTypeConversion
::
toDateTimeString
(
aDateTime
));
aRet
.
append
(
DBTypeConversion
::
toDateTimeString
(
aDateTime
));
if
(
bQuote
)
if
(
bQuote
)
aRet
.
appendAscii
(
"'}"
);
aRet
.
appendAscii
(
"'}"
);
...
@@ -166,7 +166,7 @@ OUString DBTypeConversion::toSQLString(sal_Int32 eType, const Any& _rVal, bool b
...
@@ -166,7 +166,7 @@ OUString DBTypeConversion::toSQLString(sal_Int32 eType, const Any& _rVal, bool b
bOk
=
_rVal
>>=
aDate
;
bOk
=
_rVal
>>=
aDate
;
OSL_VERIFY_RES
(
bOk
,
"DBTypeConversion::toSQLString: _rVal is not date!"
);
OSL_VERIFY_RES
(
bOk
,
"DBTypeConversion::toSQLString: _rVal is not date!"
);
if
(
bQuote
)
if
(
bQuote
)
aRet
.
appendAscii
(
"{
D
'"
);
aRet
.
appendAscii
(
"{
d
'"
);
aRet
.
append
(
DBTypeConversion
::
toDateString
(
aDate
));
aRet
.
append
(
DBTypeConversion
::
toDateString
(
aDate
));
if
(
bQuote
)
if
(
bQuote
)
aRet
.
appendAscii
(
"'}"
);
aRet
.
appendAscii
(
"'}"
);
...
@@ -193,7 +193,7 @@ OUString DBTypeConversion::toSQLString(sal_Int32 eType, const Any& _rVal, bool b
...
@@ -193,7 +193,7 @@ OUString DBTypeConversion::toSQLString(sal_Int32 eType, const Any& _rVal, bool b
bOk
=
_rVal
>>=
aTime
;
bOk
=
_rVal
>>=
aTime
;
OSL_VERIFY_RES
(
bOk
,
"DBTypeConversion::toSQLString: _rVal is not time!"
);
OSL_VERIFY_RES
(
bOk
,
"DBTypeConversion::toSQLString: _rVal is not time!"
);
if
(
bQuote
)
if
(
bQuote
)
aRet
.
appendAscii
(
"{
T
'"
);
aRet
.
appendAscii
(
"{
t
'"
);
aRet
.
append
(
DBTypeConversion
::
toTimeString
(
aTime
));
aRet
.
append
(
DBTypeConversion
::
toTimeString
(
aTime
));
if
(
bQuote
)
if
(
bQuote
)
aRet
.
appendAscii
(
"'}"
);
aRet
.
appendAscii
(
"'}"
);
...
...
connectivity/source/parse/sqlbison.y
Dosyayı görüntüle @
ee12e843
...
@@ -4660,6 +4660,14 @@ OString OSQLParser::TokenIDToStr(sal_uInt32 nTokenID, const IParseContext* pCont
...
@@ -4660,6 +4660,14 @@ OString OSQLParser::TokenIDToStr(sal_uInt32 nTokenID, const IParseContext* pCont
aStr = yytname[YYTRANSLATE(nTokenID)];
aStr = yytname[YYTRANSLATE(nTokenID)];
if(aStr.startsWith("SQL_TOKEN_"))
if(aStr.startsWith("SQL_TOKEN_"))
aStr = aStr.copy(10);
aStr = aStr.copy(10);
switch( nTokenID )
{
case SQL_TOKEN_OJ:
case SQL_TOKEN_TS:
case SQL_TOKEN_T:
case SQL_TOKEN_D:
aStr = aStr.toAsciiLowerCase();
}
}
}
return aStr;
return aStr;
}
}
...
...
dbaccess/source/ui/querydesign/QueryDesignView.cxx
Dosyayı görüntüle @
ee12e843
...
@@ -1074,7 +1074,7 @@ namespace
...
@@ -1074,7 +1074,7 @@ namespace
{
{
// create outer join
// create outer join
if
(
bUseEscape
)
if
(
bUseEscape
)
aStr
+=
"{
OJ
"
;
aStr
+=
"{
oj
"
;
aStr
+=
aJoin
;
aStr
+=
aJoin
;
if
(
bUseEscape
)
if
(
bUseEscape
)
aStr
+=
" }"
;
aStr
+=
" }"
;
...
...
dbaccess/uiconfig/ui/specialsettingspage.ui
Dosyayı görüntüle @
ee12e843
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
</child>
</child>
<child>
<child>
<object
class=
"GtkCheckButton"
id=
"useoj"
>
<object
class=
"GtkCheckButton"
id=
"useoj"
>
<property
name=
"label"
translatable=
"yes"
>
Use Outer Join syntax '{
OJ
}'
</property>
<property
name=
"label"
translatable=
"yes"
>
Use Outer Join syntax '{
oj
}'
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"receives_default"
>
False
</property>
...
...
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