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
77e77a12
Kaydet (Commit)
77e77a12
authored
May 20, 2012
tarafından
Ned Deily
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #14572: Prevent build failures with pre-3.5.0 versions of
sqlite3, such as was shipped with Centos 5 and Mac OS X 10.4.
üst
f439a366
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
NEWS
Misc/NEWS
+3
-0
connection.c
Modules/_sqlite/connection.c
+2
-2
No files found.
Misc/NEWS
Dosyayı görüntüle @
77e77a12
...
...
@@ -64,6 +64,9 @@ Core and Builtins
Library
-------
-
Issue
#
14572
:
Prevent
build
failures
with
pre
-
3.5.0
versions
of
sqlite3
,
such
as
was
shipped
with
Centos
5
and
Mac
OS
X
10.4
.
-
Issue
#
14426
:
Correct
the
Date
format
in
Expires
attribute
of
Set
-
Cookie
Header
in
Cookie
.
py
.
...
...
Modules/_sqlite/connection.c
Dosyayı görüntüle @
77e77a12
...
...
@@ -549,7 +549,7 @@ void _pysqlite_set_result(sqlite3_context* context, PyObject* py_val)
}
else
if
(
py_val
==
Py_None
)
{
sqlite3_result_null
(
context
);
}
else
if
(
PyInt_Check
(
py_val
))
{
sqlite3_result_int64
(
context
,
(
sqlite
3
_int64
)
PyInt_AsLong
(
py_val
));
sqlite3_result_int64
(
context
,
(
sqlite_int64
)
PyInt_AsLong
(
py_val
));
}
else
if
(
PyLong_Check
(
py_val
))
{
sqlite3_result_int64
(
context
,
PyLong_AsLongLong
(
py_val
));
}
else
if
(
PyFloat_Check
(
py_val
))
{
...
...
@@ -580,7 +580,7 @@ PyObject* _pysqlite_build_py_params(sqlite3_context *context, int argc, sqlite3_
sqlite3_value
*
cur_value
;
PyObject
*
cur_py_value
;
const
char
*
val_str
;
sqlite
3
_int64
val_int
;
sqlite_int64
val_int
;
Py_ssize_t
buflen
;
void
*
raw_buffer
;
...
...
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