Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
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ç
Batuhan Osman TASKAYA
cpython
Commits
4abda5d5
Kaydet (Commit)
4abda5d5
authored
Tem 17, 2013
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #18408: Fix _pysqlite_fetch_one_row(), in debug mode, don't call
type_call() with an exception set
üst
ace47d7e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
cursor.c
Modules/_sqlite/cursor.c
+5
-0
No files found.
Modules/_sqlite/cursor.c
Dosyayı görüntüle @
4abda5d5
...
@@ -339,6 +339,11 @@ PyObject* _pysqlite_fetch_one_row(pysqlite_Cursor* self)
...
@@ -339,6 +339,11 @@ PyObject* _pysqlite_fetch_one_row(pysqlite_Cursor* self)
if
(
self
->
connection
->
text_factory
==
(
PyObject
*
)
&
PyUnicode_Type
)
{
if
(
self
->
connection
->
text_factory
==
(
PyObject
*
)
&
PyUnicode_Type
)
{
converted
=
PyUnicode_FromStringAndSize
(
val_str
,
nbytes
);
converted
=
PyUnicode_FromStringAndSize
(
val_str
,
nbytes
);
if
(
!
converted
)
{
if
(
!
converted
)
{
#ifdef Py_DEBUG
/* in debug mode, type_call() fails with an assertion
error if an exception is set when it is called */
PyErr_Clear
();
#endif
colname
=
sqlite3_column_name
(
self
->
statement
->
st
,
i
);
colname
=
sqlite3_column_name
(
self
->
statement
->
st
,
i
);
if
(
!
colname
)
{
if
(
!
colname
)
{
colname
=
"<unknown column name>"
;
colname
=
"<unknown column name>"
;
...
...
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