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
e8162718
Kaydet (Commit)
e8162718
authored
Nis 09, 2013
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
connectivty: postgres: fix a bunch of empty for body warnings
Change-Id: Idd91616e43842142450c94ac8a61f4f29f4eb1b7
üst
5e7c0378
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
pq_tools.cxx
connectivity/source/drivers/postgresql/pq_tools.cxx
+5
-5
No files found.
connectivity/source/drivers/postgresql/pq_tools.cxx
Dosyayı görüntüle @
e8162718
...
@@ -438,28 +438,28 @@ OUString extractTableFromInsert( const OUString & sql )
...
@@ -438,28 +438,28 @@ OUString extractTableFromInsert( const OUString & sql )
{
{
OUString
ret
;
OUString
ret
;
int
i
=
0
;
int
i
=
0
;
for
(
;
i
<
sql
.
getLength
()
&&
isWhitespace
(
sql
[
i
])
;
i
++
);
while
(
i
<
sql
.
getLength
()
&&
isWhitespace
(
sql
[
i
]))
{
i
++
;
}
if
(
0
==
rtl_ustr_ascii_shortenedCompareIgnoreAsciiCase_WithLength
(
if
(
0
==
rtl_ustr_ascii_shortenedCompareIgnoreAsciiCase_WithLength
(
&
sql
.
getStr
()[
i
],
sql
.
getLength
()
-
i
,
"insert"
,
6
)
)
&
sql
.
getStr
()[
i
],
sql
.
getLength
()
-
i
,
"insert"
,
6
)
)
{
{
i
+=
6
;
i
+=
6
;
for
(
;
i
<
sql
.
getLength
()
&&
isWhitespace
(
sql
[
i
])
;
i
++
);
while
(
i
<
sql
.
getLength
()
&&
isWhitespace
(
sql
[
i
]))
{
i
++
;
}
if
(
0
==
rtl_ustr_ascii_shortenedCompareIgnoreAsciiCase_WithLength
(
if
(
0
==
rtl_ustr_ascii_shortenedCompareIgnoreAsciiCase_WithLength
(
&
sql
.
getStr
()[
i
],
sql
.
getLength
()
-
i
,
"into"
,
4
)
)
&
sql
.
getStr
()[
i
],
sql
.
getLength
()
-
i
,
"into"
,
4
)
)
{
{
i
+=
4
;
i
+=
4
;
for
(
;
i
<
sql
.
getLength
()
&&
isWhitespace
(
sql
[
i
])
;
i
++
);
while
(
i
<
sql
.
getLength
()
&&
isWhitespace
(
sql
[
i
]))
{
i
++
;
}
int
start
=
i
;
int
start
=
i
;
bool
quote
=
(
sql
[
i
]
==
'"'
);
bool
quote
=
(
sql
[
i
]
==
'"'
);
for
(
i
++
;
i
<
sql
.
getLength
()
;
i
++
)
for
(
i
++
;
i
<
sql
.
getLength
()
;
i
++
)
{
{
if
(
quote
&&
sql
[
i
]
==
'"'
)
if
(
quote
&&
sql
[
i
]
==
'"'
)
{
{
for
(
i
++
;
i
<
sql
.
getLength
()
&&
isWhitespace
(
sql
[
i
])
;
i
++
);
while
(
i
<
sql
.
getLength
()
&&
isWhitespace
(
sql
[
i
]))
{
i
++
;
}
if
(
'.'
==
sql
[
i
]
)
if
(
'.'
==
sql
[
i
]
)
{
{
for
(
i
++
;
i
<
sql
.
getLength
()
&&
isWhitespace
(
sql
[
i
])
;
i
++
);
while
(
i
<
sql
.
getLength
()
&&
isWhitespace
(
sql
[
i
]))
{
i
++
;
}
if
(
'"'
==
sql
[
i
]
)
if
(
'"'
==
sql
[
i
]
)
{
{
// the second part of the table name does not use quotes
// the second part of the table name does not use quotes
...
...
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