mysqlengine 1.1.2__cp311-cp311-macosx_10_9_universal2.whl → 1.1.5__cp311-cp311-macosx_10_9_universal2.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mysqlengine/column.c +26 -20
- mysqlengine/column.cpython-311-darwin.so +0 -0
- mysqlengine/constraint.c +26 -20
- mysqlengine/constraint.cpython-311-darwin.so +0 -0
- mysqlengine/database.c +32 -24
- mysqlengine/database.cpython-311-darwin.so +0 -0
- mysqlengine/dml.c +7519 -7000
- mysqlengine/dml.cpython-311-darwin.so +0 -0
- mysqlengine/dml.pxd +2 -2
- mysqlengine/dml.py +56 -14
- mysqlengine/dml.pyi +2 -0
- mysqlengine/element.c +26 -20
- mysqlengine/element.cpython-311-darwin.so +0 -0
- mysqlengine/index.c +26 -20
- mysqlengine/index.cpython-311-darwin.so +0 -0
- mysqlengine/partition.c +26 -20
- mysqlengine/partition.cpython-311-darwin.so +0 -0
- mysqlengine/table.c +32 -24
- mysqlengine/table.cpython-311-darwin.so +0 -0
- mysqlengine/utils.cpython-311-darwin.so +0 -0
- {mysqlengine-1.1.2.dist-info → mysqlengine-1.1.5.dist-info}/METADATA +2 -2
- {mysqlengine-1.1.2.dist-info → mysqlengine-1.1.5.dist-info}/RECORD +25 -25
- {mysqlengine-1.1.2.dist-info → mysqlengine-1.1.5.dist-info}/WHEEL +0 -0
- {mysqlengine-1.1.2.dist-info → mysqlengine-1.1.5.dist-info}/licenses/LICENSE +0 -0
- {mysqlengine-1.1.2.dist-info → mysqlengine-1.1.5.dist-info}/top_level.txt +0 -0
mysqlengine/column.c
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"-Wno-incompatible-pointer-types"
|
|
16
16
|
],
|
|
17
17
|
"include_dirs": [
|
|
18
|
-
"/private/var/folders/
|
|
18
|
+
"/private/var/folders/kg/7q73ww8s3llgyl61c9z_j5g40000gn/T/pip-build-env-3xxdkxlp/overlay/lib/python3.11/site-packages/numpy/_core/include"
|
|
19
19
|
],
|
|
20
20
|
"name": "mysqlengine.column",
|
|
21
21
|
"sources": [
|
|
@@ -1764,7 +1764,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_6Cursor_scroll {
|
|
|
1764
1764
|
PyObject *mode;
|
|
1765
1765
|
};
|
|
1766
1766
|
|
|
1767
|
-
/* "sqlcycli/connection.pxd":
|
|
1767
|
+
/* "sqlcycli/connection.pxd":196
|
|
1768
1768
|
* cdef inline bint _setup_internal(self) except -1
|
|
1769
1769
|
* # Cursor
|
|
1770
1770
|
* cpdef Cursor cursor(self, object cursor=?) # <<<<<<<<<<<<<<
|
|
@@ -1776,7 +1776,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_cursor {
|
|
|
1776
1776
|
PyObject *cursor;
|
|
1777
1777
|
};
|
|
1778
1778
|
|
|
1779
|
-
/* "sqlcycli/connection.pxd":
|
|
1779
|
+
/* "sqlcycli/connection.pxd":197
|
|
1780
1780
|
* # Cursor
|
|
1781
1781
|
* cpdef Cursor cursor(self, object cursor=?)
|
|
1782
1782
|
* cpdef TransactionManager transaction(self, object cursor=?) # <<<<<<<<<<<<<<
|
|
@@ -1788,7 +1788,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_transaction {
|
|
|
1788
1788
|
PyObject *cursor;
|
|
1789
1789
|
};
|
|
1790
1790
|
|
|
1791
|
-
/* "sqlcycli/connection.pxd":
|
|
1791
|
+
/* "sqlcycli/connection.pxd":200
|
|
1792
1792
|
* cdef inline type _validate_cursor(self, object cursor)
|
|
1793
1793
|
* # Query
|
|
1794
1794
|
* cpdef unsigned long long query(self, str sql, bint unbuffered=?) # <<<<<<<<<<<<<<
|
|
@@ -1800,7 +1800,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_query {
|
|
|
1800
1800
|
int unbuffered;
|
|
1801
1801
|
};
|
|
1802
1802
|
|
|
1803
|
-
/* "sqlcycli/connection.pxd":
|
|
1803
|
+
/* "sqlcycli/connection.pxd":210
|
|
1804
1804
|
* cpdef tuple show_warnings(self)
|
|
1805
1805
|
* cpdef bint select_database(self, str db) except -1
|
|
1806
1806
|
* cpdef object escape_args(self, object args, bint many=?, bint itemize=?) # <<<<<<<<<<<<<<
|
|
@@ -1813,7 +1813,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_escape_args {
|
|
|
1813
1813
|
int itemize;
|
|
1814
1814
|
};
|
|
1815
1815
|
|
|
1816
|
-
/* "sqlcycli/connection.pxd":
|
|
1816
|
+
/* "sqlcycli/connection.pxd":213
|
|
1817
1817
|
* cpdef bytes encode_sql(self, str sql)
|
|
1818
1818
|
* # . client
|
|
1819
1819
|
* cpdef bint set_charset(self, str charset, object collation=?) except -1 # <<<<<<<<<<<<<<
|
|
@@ -1825,7 +1825,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_set_charset {
|
|
|
1825
1825
|
PyObject *collation;
|
|
1826
1826
|
};
|
|
1827
1827
|
|
|
1828
|
-
/* "sqlcycli/connection.pxd":
|
|
1828
|
+
/* "sqlcycli/connection.pxd":250
|
|
1829
1829
|
* cpdef bint closed(self) except -1
|
|
1830
1830
|
* cpdef bint kill(self, int thread_id) except -1
|
|
1831
1831
|
* cpdef bint ping(self, bint reconnect=?) except -1 # <<<<<<<<<<<<<<
|
|
@@ -1837,7 +1837,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_ping {
|
|
|
1837
1837
|
int reconnect;
|
|
1838
1838
|
};
|
|
1839
1839
|
|
|
1840
|
-
/* "sqlcycli/connection.pxd":
|
|
1840
|
+
/* "sqlcycli/connection.pxd":264
|
|
1841
1841
|
* cdef inline bint _set_use_time(self) except -1
|
|
1842
1842
|
* # Read
|
|
1843
1843
|
* cpdef unsigned long long next_result(self, bint unbuffered=?) # <<<<<<<<<<<<<<
|
|
@@ -1867,7 +1867,7 @@ struct __pyx_opt_args_8sqlcycli_3aio_10connection_6Cursor_mogrify {
|
|
|
1867
1867
|
int itemize;
|
|
1868
1868
|
};
|
|
1869
1869
|
|
|
1870
|
-
/* "connection.pxd":
|
|
1870
|
+
/* "connection.pxd":173
|
|
1871
1871
|
* cdef inline bint _setup_internal(self) except -1
|
|
1872
1872
|
* # Cursor
|
|
1873
1873
|
* cpdef CursorManager cursor(self, object cursor=?) # <<<<<<<<<<<<<<
|
|
@@ -1879,7 +1879,7 @@ struct __pyx_opt_args_8sqlcycli_3aio_10connection_14BaseConnection_cursor {
|
|
|
1879
1879
|
PyObject *cursor;
|
|
1880
1880
|
};
|
|
1881
1881
|
|
|
1882
|
-
/* "connection.pxd":
|
|
1882
|
+
/* "connection.pxd":174
|
|
1883
1883
|
* # Cursor
|
|
1884
1884
|
* cpdef CursorManager cursor(self, object cursor=?)
|
|
1885
1885
|
* cpdef TransactionManager transaction(self, object cursor=?) # <<<<<<<<<<<<<<
|
|
@@ -1891,7 +1891,7 @@ struct __pyx_opt_args_8sqlcycli_3aio_10connection_14BaseConnection_transaction {
|
|
|
1891
1891
|
PyObject *cursor;
|
|
1892
1892
|
};
|
|
1893
1893
|
|
|
1894
|
-
/* "connection.pxd":
|
|
1894
|
+
/* "connection.pxd":177
|
|
1895
1895
|
* cdef inline type _validate_cursor(self, object cursor)
|
|
1896
1896
|
* # Query
|
|
1897
1897
|
* cpdef object escape_args(self, object args, bint many=?, bint itemize=?) # <<<<<<<<<<<<<<
|
|
@@ -1905,7 +1905,7 @@ struct __pyx_opt_args_8sqlcycli_3aio_10connection_14BaseConnection_escape_args {
|
|
|
1905
1905
|
};
|
|
1906
1906
|
struct __pyx_opt_args_8sqlcycli_3aio_4pool_4Pool_escape_args;
|
|
1907
1907
|
|
|
1908
|
-
/* "sqlcycli/aio/pool.pxd":
|
|
1908
|
+
/* "sqlcycli/aio/pool.pxd":134
|
|
1909
1909
|
* cdef inline bint _verify_open(self) except -1
|
|
1910
1910
|
* # Query
|
|
1911
1911
|
* cpdef object escape_args(self, object args, bint many=?, bint itemize=?) # <<<<<<<<<<<<<<
|
|
@@ -2815,6 +2815,8 @@ struct __pyx_obj_8sqlcycli_10connection_BaseConnection {
|
|
|
2815
2815
|
int _use_decimal;
|
|
2816
2816
|
int _decode_bit;
|
|
2817
2817
|
int _decode_json;
|
|
2818
|
+
PyObject *_retry_errno;
|
|
2819
|
+
int _retry_times;
|
|
2818
2820
|
int _server_protocol_version;
|
|
2819
2821
|
PyObject *_server_info;
|
|
2820
2822
|
PyObject *_server_version;
|
|
@@ -2835,7 +2837,7 @@ struct __pyx_obj_8sqlcycli_10connection_BaseConnection {
|
|
|
2835
2837
|
};
|
|
2836
2838
|
|
|
2837
2839
|
|
|
2838
|
-
/* "sqlcycli/connection.pxd":
|
|
2840
|
+
/* "sqlcycli/connection.pxd":272
|
|
2839
2841
|
* cdef inline bytes _read_bytes(self, unsigned int size)
|
|
2840
2842
|
*
|
|
2841
2843
|
* cdef class Connection(BaseConnection): # <<<<<<<<<<<<<<
|
|
@@ -3036,6 +3038,8 @@ struct __pyx_obj_8sqlcycli_3aio_10connection_BaseConnection {
|
|
|
3036
3038
|
int _use_decimal;
|
|
3037
3039
|
int _decode_bit;
|
|
3038
3040
|
int _decode_json;
|
|
3041
|
+
PyObject *_retry_errno;
|
|
3042
|
+
int _retry_times;
|
|
3039
3043
|
int _server_protocol_version;
|
|
3040
3044
|
PyObject *_server_info;
|
|
3041
3045
|
PyObject *_server_version;
|
|
@@ -3057,7 +3061,7 @@ struct __pyx_obj_8sqlcycli_3aio_10connection_BaseConnection {
|
|
|
3057
3061
|
};
|
|
3058
3062
|
|
|
3059
3063
|
|
|
3060
|
-
/* "connection.pxd":
|
|
3064
|
+
/* "connection.pxd":203
|
|
3061
3065
|
* cdef inline bint _set_use_time(self) except -1
|
|
3062
3066
|
*
|
|
3063
3067
|
* cdef class Connection(BaseConnection): # <<<<<<<<<<<<<<
|
|
@@ -3184,6 +3188,8 @@ struct __pyx_obj_8sqlcycli_3aio_4pool_Pool {
|
|
|
3184
3188
|
int _use_decimal;
|
|
3185
3189
|
int _decode_bit;
|
|
3186
3190
|
int _decode_json;
|
|
3191
|
+
PyObject *_retry_errno;
|
|
3192
|
+
int _retry_times;
|
|
3187
3193
|
};
|
|
3188
3194
|
|
|
3189
3195
|
|
|
@@ -4471,7 +4477,7 @@ struct __pyx_vtabstruct_8sqlcycli_10connection_BaseConnection {
|
|
|
4471
4477
|
static struct __pyx_vtabstruct_8sqlcycli_10connection_BaseConnection *__pyx_vtabptr_8sqlcycli_10connection_BaseConnection;
|
|
4472
4478
|
|
|
4473
4479
|
|
|
4474
|
-
/* "sqlcycli/connection.pxd":
|
|
4480
|
+
/* "sqlcycli/connection.pxd":272
|
|
4475
4481
|
* cdef inline bytes _read_bytes(self, unsigned int size)
|
|
4476
4482
|
*
|
|
4477
4483
|
* cdef class Connection(BaseConnection): # <<<<<<<<<<<<<<
|
|
@@ -4634,7 +4640,7 @@ struct __pyx_vtabstruct_8sqlcycli_3aio_10connection_BaseConnection {
|
|
|
4634
4640
|
static struct __pyx_vtabstruct_8sqlcycli_3aio_10connection_BaseConnection *__pyx_vtabptr_8sqlcycli_3aio_10connection_BaseConnection;
|
|
4635
4641
|
|
|
4636
4642
|
|
|
4637
|
-
/* "connection.pxd":
|
|
4643
|
+
/* "connection.pxd":203
|
|
4638
4644
|
* cdef inline bint _set_use_time(self) except -1
|
|
4639
4645
|
*
|
|
4640
4646
|
* cdef class Connection(BaseConnection): # <<<<<<<<<<<<<<
|
|
@@ -135401,8 +135407,8 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
135401
135407
|
#else
|
|
135402
135408
|
sizeof(struct __pyx_obj_8sqlcycli_10connection_Connection), __PYX_GET_STRUCT_ALIGNMENT_3_2_1(struct __pyx_obj_8sqlcycli_10connection_Connection),
|
|
135403
135409
|
#endif
|
|
135404
|
-
__Pyx_ImportType_CheckSize_Warn_3_2_1); if (!__pyx_mstate->__pyx_ptype_8sqlcycli_10connection_Connection) __PYX_ERR(8,
|
|
135405
|
-
__pyx_vtabptr_8sqlcycli_10connection_Connection = (struct __pyx_vtabstruct_8sqlcycli_10connection_Connection*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_8sqlcycli_10connection_Connection); if (unlikely(!__pyx_vtabptr_8sqlcycli_10connection_Connection)) __PYX_ERR(8,
|
|
135410
|
+
__Pyx_ImportType_CheckSize_Warn_3_2_1); if (!__pyx_mstate->__pyx_ptype_8sqlcycli_10connection_Connection) __PYX_ERR(8, 272, __pyx_L1_error)
|
|
135411
|
+
__pyx_vtabptr_8sqlcycli_10connection_Connection = (struct __pyx_vtabstruct_8sqlcycli_10connection_Connection*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_8sqlcycli_10connection_Connection); if (unlikely(!__pyx_vtabptr_8sqlcycli_10connection_Connection)) __PYX_ERR(8, 272, __pyx_L1_error)
|
|
135406
135412
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
135407
135413
|
__pyx_t_1 = PyImport_ImportModule("sqlcycli.aio.connection"); if (unlikely(!__pyx_t_1)) __PYX_ERR(9, 7, __pyx_L1_error)
|
|
135408
135414
|
__Pyx_GOTREF(__pyx_t_1);
|
|
@@ -135512,8 +135518,8 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
135512
135518
|
#else
|
|
135513
135519
|
sizeof(struct __pyx_obj_8sqlcycli_3aio_10connection_Connection), __PYX_GET_STRUCT_ALIGNMENT_3_2_1(struct __pyx_obj_8sqlcycli_3aio_10connection_Connection),
|
|
135514
135520
|
#endif
|
|
135515
|
-
__Pyx_ImportType_CheckSize_Warn_3_2_1); if (!__pyx_mstate->__pyx_ptype_8sqlcycli_3aio_10connection_Connection) __PYX_ERR(9,
|
|
135516
|
-
__pyx_vtabptr_8sqlcycli_3aio_10connection_Connection = (struct __pyx_vtabstruct_8sqlcycli_3aio_10connection_Connection*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_8sqlcycli_3aio_10connection_Connection); if (unlikely(!__pyx_vtabptr_8sqlcycli_3aio_10connection_Connection)) __PYX_ERR(9,
|
|
135521
|
+
__Pyx_ImportType_CheckSize_Warn_3_2_1); if (!__pyx_mstate->__pyx_ptype_8sqlcycli_3aio_10connection_Connection) __PYX_ERR(9, 203, __pyx_L1_error)
|
|
135522
|
+
__pyx_vtabptr_8sqlcycli_3aio_10connection_Connection = (struct __pyx_vtabstruct_8sqlcycli_3aio_10connection_Connection*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_8sqlcycli_3aio_10connection_Connection); if (unlikely(!__pyx_vtabptr_8sqlcycli_3aio_10connection_Connection)) __PYX_ERR(9, 203, __pyx_L1_error)
|
|
135517
135523
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
135518
135524
|
__pyx_t_1 = PyImport_ImportModule("sqlcycli.aio.pool"); if (unlikely(!__pyx_t_1)) __PYX_ERR(10, 12, __pyx_L1_error)
|
|
135519
135525
|
__Pyx_GOTREF(__pyx_t_1);
|
|
Binary file
|
mysqlengine/constraint.c
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"-Wno-incompatible-pointer-types"
|
|
16
16
|
],
|
|
17
17
|
"include_dirs": [
|
|
18
|
-
"/private/var/folders/
|
|
18
|
+
"/private/var/folders/kg/7q73ww8s3llgyl61c9z_j5g40000gn/T/pip-build-env-3xxdkxlp/overlay/lib/python3.11/site-packages/numpy/_core/include"
|
|
19
19
|
],
|
|
20
20
|
"name": "mysqlengine.constraint",
|
|
21
21
|
"sources": [
|
|
@@ -1752,7 +1752,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_6Cursor_scroll {
|
|
|
1752
1752
|
PyObject *mode;
|
|
1753
1753
|
};
|
|
1754
1754
|
|
|
1755
|
-
/* "sqlcycli/connection.pxd":
|
|
1755
|
+
/* "sqlcycli/connection.pxd":196
|
|
1756
1756
|
* cdef inline bint _setup_internal(self) except -1
|
|
1757
1757
|
* # Cursor
|
|
1758
1758
|
* cpdef Cursor cursor(self, object cursor=?) # <<<<<<<<<<<<<<
|
|
@@ -1764,7 +1764,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_cursor {
|
|
|
1764
1764
|
PyObject *cursor;
|
|
1765
1765
|
};
|
|
1766
1766
|
|
|
1767
|
-
/* "sqlcycli/connection.pxd":
|
|
1767
|
+
/* "sqlcycli/connection.pxd":197
|
|
1768
1768
|
* # Cursor
|
|
1769
1769
|
* cpdef Cursor cursor(self, object cursor=?)
|
|
1770
1770
|
* cpdef TransactionManager transaction(self, object cursor=?) # <<<<<<<<<<<<<<
|
|
@@ -1776,7 +1776,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_transaction {
|
|
|
1776
1776
|
PyObject *cursor;
|
|
1777
1777
|
};
|
|
1778
1778
|
|
|
1779
|
-
/* "sqlcycli/connection.pxd":
|
|
1779
|
+
/* "sqlcycli/connection.pxd":200
|
|
1780
1780
|
* cdef inline type _validate_cursor(self, object cursor)
|
|
1781
1781
|
* # Query
|
|
1782
1782
|
* cpdef unsigned long long query(self, str sql, bint unbuffered=?) # <<<<<<<<<<<<<<
|
|
@@ -1788,7 +1788,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_query {
|
|
|
1788
1788
|
int unbuffered;
|
|
1789
1789
|
};
|
|
1790
1790
|
|
|
1791
|
-
/* "sqlcycli/connection.pxd":
|
|
1791
|
+
/* "sqlcycli/connection.pxd":210
|
|
1792
1792
|
* cpdef tuple show_warnings(self)
|
|
1793
1793
|
* cpdef bint select_database(self, str db) except -1
|
|
1794
1794
|
* cpdef object escape_args(self, object args, bint many=?, bint itemize=?) # <<<<<<<<<<<<<<
|
|
@@ -1801,7 +1801,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_escape_args {
|
|
|
1801
1801
|
int itemize;
|
|
1802
1802
|
};
|
|
1803
1803
|
|
|
1804
|
-
/* "sqlcycli/connection.pxd":
|
|
1804
|
+
/* "sqlcycli/connection.pxd":213
|
|
1805
1805
|
* cpdef bytes encode_sql(self, str sql)
|
|
1806
1806
|
* # . client
|
|
1807
1807
|
* cpdef bint set_charset(self, str charset, object collation=?) except -1 # <<<<<<<<<<<<<<
|
|
@@ -1813,7 +1813,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_set_charset {
|
|
|
1813
1813
|
PyObject *collation;
|
|
1814
1814
|
};
|
|
1815
1815
|
|
|
1816
|
-
/* "sqlcycli/connection.pxd":
|
|
1816
|
+
/* "sqlcycli/connection.pxd":250
|
|
1817
1817
|
* cpdef bint closed(self) except -1
|
|
1818
1818
|
* cpdef bint kill(self, int thread_id) except -1
|
|
1819
1819
|
* cpdef bint ping(self, bint reconnect=?) except -1 # <<<<<<<<<<<<<<
|
|
@@ -1825,7 +1825,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_ping {
|
|
|
1825
1825
|
int reconnect;
|
|
1826
1826
|
};
|
|
1827
1827
|
|
|
1828
|
-
/* "sqlcycli/connection.pxd":
|
|
1828
|
+
/* "sqlcycli/connection.pxd":264
|
|
1829
1829
|
* cdef inline bint _set_use_time(self) except -1
|
|
1830
1830
|
* # Read
|
|
1831
1831
|
* cpdef unsigned long long next_result(self, bint unbuffered=?) # <<<<<<<<<<<<<<
|
|
@@ -1855,7 +1855,7 @@ struct __pyx_opt_args_8sqlcycli_3aio_10connection_6Cursor_mogrify {
|
|
|
1855
1855
|
int itemize;
|
|
1856
1856
|
};
|
|
1857
1857
|
|
|
1858
|
-
/* "connection.pxd":
|
|
1858
|
+
/* "connection.pxd":173
|
|
1859
1859
|
* cdef inline bint _setup_internal(self) except -1
|
|
1860
1860
|
* # Cursor
|
|
1861
1861
|
* cpdef CursorManager cursor(self, object cursor=?) # <<<<<<<<<<<<<<
|
|
@@ -1867,7 +1867,7 @@ struct __pyx_opt_args_8sqlcycli_3aio_10connection_14BaseConnection_cursor {
|
|
|
1867
1867
|
PyObject *cursor;
|
|
1868
1868
|
};
|
|
1869
1869
|
|
|
1870
|
-
/* "connection.pxd":
|
|
1870
|
+
/* "connection.pxd":174
|
|
1871
1871
|
* # Cursor
|
|
1872
1872
|
* cpdef CursorManager cursor(self, object cursor=?)
|
|
1873
1873
|
* cpdef TransactionManager transaction(self, object cursor=?) # <<<<<<<<<<<<<<
|
|
@@ -1879,7 +1879,7 @@ struct __pyx_opt_args_8sqlcycli_3aio_10connection_14BaseConnection_transaction {
|
|
|
1879
1879
|
PyObject *cursor;
|
|
1880
1880
|
};
|
|
1881
1881
|
|
|
1882
|
-
/* "connection.pxd":
|
|
1882
|
+
/* "connection.pxd":177
|
|
1883
1883
|
* cdef inline type _validate_cursor(self, object cursor)
|
|
1884
1884
|
* # Query
|
|
1885
1885
|
* cpdef object escape_args(self, object args, bint many=?, bint itemize=?) # <<<<<<<<<<<<<<
|
|
@@ -1893,7 +1893,7 @@ struct __pyx_opt_args_8sqlcycli_3aio_10connection_14BaseConnection_escape_args {
|
|
|
1893
1893
|
};
|
|
1894
1894
|
struct __pyx_opt_args_8sqlcycli_3aio_4pool_4Pool_escape_args;
|
|
1895
1895
|
|
|
1896
|
-
/* "sqlcycli/aio/pool.pxd":
|
|
1896
|
+
/* "sqlcycli/aio/pool.pxd":134
|
|
1897
1897
|
* cdef inline bint _verify_open(self) except -1
|
|
1898
1898
|
* # Query
|
|
1899
1899
|
* cpdef object escape_args(self, object args, bint many=?, bint itemize=?) # <<<<<<<<<<<<<<
|
|
@@ -2699,6 +2699,8 @@ struct __pyx_obj_8sqlcycli_10connection_BaseConnection {
|
|
|
2699
2699
|
int _use_decimal;
|
|
2700
2700
|
int _decode_bit;
|
|
2701
2701
|
int _decode_json;
|
|
2702
|
+
PyObject *_retry_errno;
|
|
2703
|
+
int _retry_times;
|
|
2702
2704
|
int _server_protocol_version;
|
|
2703
2705
|
PyObject *_server_info;
|
|
2704
2706
|
PyObject *_server_version;
|
|
@@ -2719,7 +2721,7 @@ struct __pyx_obj_8sqlcycli_10connection_BaseConnection {
|
|
|
2719
2721
|
};
|
|
2720
2722
|
|
|
2721
2723
|
|
|
2722
|
-
/* "sqlcycli/connection.pxd":
|
|
2724
|
+
/* "sqlcycli/connection.pxd":272
|
|
2723
2725
|
* cdef inline bytes _read_bytes(self, unsigned int size)
|
|
2724
2726
|
*
|
|
2725
2727
|
* cdef class Connection(BaseConnection): # <<<<<<<<<<<<<<
|
|
@@ -2920,6 +2922,8 @@ struct __pyx_obj_8sqlcycli_3aio_10connection_BaseConnection {
|
|
|
2920
2922
|
int _use_decimal;
|
|
2921
2923
|
int _decode_bit;
|
|
2922
2924
|
int _decode_json;
|
|
2925
|
+
PyObject *_retry_errno;
|
|
2926
|
+
int _retry_times;
|
|
2923
2927
|
int _server_protocol_version;
|
|
2924
2928
|
PyObject *_server_info;
|
|
2925
2929
|
PyObject *_server_version;
|
|
@@ -2941,7 +2945,7 @@ struct __pyx_obj_8sqlcycli_3aio_10connection_BaseConnection {
|
|
|
2941
2945
|
};
|
|
2942
2946
|
|
|
2943
2947
|
|
|
2944
|
-
/* "connection.pxd":
|
|
2948
|
+
/* "connection.pxd":203
|
|
2945
2949
|
* cdef inline bint _set_use_time(self) except -1
|
|
2946
2950
|
*
|
|
2947
2951
|
* cdef class Connection(BaseConnection): # <<<<<<<<<<<<<<
|
|
@@ -3068,6 +3072,8 @@ struct __pyx_obj_8sqlcycli_3aio_4pool_Pool {
|
|
|
3068
3072
|
int _use_decimal;
|
|
3069
3073
|
int _decode_bit;
|
|
3070
3074
|
int _decode_json;
|
|
3075
|
+
PyObject *_retry_errno;
|
|
3076
|
+
int _retry_times;
|
|
3071
3077
|
};
|
|
3072
3078
|
|
|
3073
3079
|
|
|
@@ -4232,7 +4238,7 @@ struct __pyx_vtabstruct_8sqlcycli_10connection_BaseConnection {
|
|
|
4232
4238
|
static struct __pyx_vtabstruct_8sqlcycli_10connection_BaseConnection *__pyx_vtabptr_8sqlcycli_10connection_BaseConnection;
|
|
4233
4239
|
|
|
4234
4240
|
|
|
4235
|
-
/* "sqlcycli/connection.pxd":
|
|
4241
|
+
/* "sqlcycli/connection.pxd":272
|
|
4236
4242
|
* cdef inline bytes _read_bytes(self, unsigned int size)
|
|
4237
4243
|
*
|
|
4238
4244
|
* cdef class Connection(BaseConnection): # <<<<<<<<<<<<<<
|
|
@@ -4395,7 +4401,7 @@ struct __pyx_vtabstruct_8sqlcycli_3aio_10connection_BaseConnection {
|
|
|
4395
4401
|
static struct __pyx_vtabstruct_8sqlcycli_3aio_10connection_BaseConnection *__pyx_vtabptr_8sqlcycli_3aio_10connection_BaseConnection;
|
|
4396
4402
|
|
|
4397
4403
|
|
|
4398
|
-
/* "connection.pxd":
|
|
4404
|
+
/* "connection.pxd":203
|
|
4399
4405
|
* cdef inline bint _set_use_time(self) except -1
|
|
4400
4406
|
*
|
|
4401
4407
|
* cdef class Connection(BaseConnection): # <<<<<<<<<<<<<<
|
|
@@ -76159,8 +76165,8 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
76159
76165
|
#else
|
|
76160
76166
|
sizeof(struct __pyx_obj_8sqlcycli_10connection_Connection), __PYX_GET_STRUCT_ALIGNMENT_3_2_1(struct __pyx_obj_8sqlcycli_10connection_Connection),
|
|
76161
76167
|
#endif
|
|
76162
|
-
__Pyx_ImportType_CheckSize_Warn_3_2_1); if (!__pyx_mstate->__pyx_ptype_8sqlcycli_10connection_Connection) __PYX_ERR(8,
|
|
76163
|
-
__pyx_vtabptr_8sqlcycli_10connection_Connection = (struct __pyx_vtabstruct_8sqlcycli_10connection_Connection*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_8sqlcycli_10connection_Connection); if (unlikely(!__pyx_vtabptr_8sqlcycli_10connection_Connection)) __PYX_ERR(8,
|
|
76168
|
+
__Pyx_ImportType_CheckSize_Warn_3_2_1); if (!__pyx_mstate->__pyx_ptype_8sqlcycli_10connection_Connection) __PYX_ERR(8, 272, __pyx_L1_error)
|
|
76169
|
+
__pyx_vtabptr_8sqlcycli_10connection_Connection = (struct __pyx_vtabstruct_8sqlcycli_10connection_Connection*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_8sqlcycli_10connection_Connection); if (unlikely(!__pyx_vtabptr_8sqlcycli_10connection_Connection)) __PYX_ERR(8, 272, __pyx_L1_error)
|
|
76164
76170
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
76165
76171
|
__pyx_t_1 = PyImport_ImportModule("sqlcycli.aio.connection"); if (unlikely(!__pyx_t_1)) __PYX_ERR(9, 7, __pyx_L1_error)
|
|
76166
76172
|
__Pyx_GOTREF(__pyx_t_1);
|
|
@@ -76270,8 +76276,8 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
76270
76276
|
#else
|
|
76271
76277
|
sizeof(struct __pyx_obj_8sqlcycli_3aio_10connection_Connection), __PYX_GET_STRUCT_ALIGNMENT_3_2_1(struct __pyx_obj_8sqlcycli_3aio_10connection_Connection),
|
|
76272
76278
|
#endif
|
|
76273
|
-
__Pyx_ImportType_CheckSize_Warn_3_2_1); if (!__pyx_mstate->__pyx_ptype_8sqlcycli_3aio_10connection_Connection) __PYX_ERR(9,
|
|
76274
|
-
__pyx_vtabptr_8sqlcycli_3aio_10connection_Connection = (struct __pyx_vtabstruct_8sqlcycli_3aio_10connection_Connection*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_8sqlcycli_3aio_10connection_Connection); if (unlikely(!__pyx_vtabptr_8sqlcycli_3aio_10connection_Connection)) __PYX_ERR(9,
|
|
76279
|
+
__Pyx_ImportType_CheckSize_Warn_3_2_1); if (!__pyx_mstate->__pyx_ptype_8sqlcycli_3aio_10connection_Connection) __PYX_ERR(9, 203, __pyx_L1_error)
|
|
76280
|
+
__pyx_vtabptr_8sqlcycli_3aio_10connection_Connection = (struct __pyx_vtabstruct_8sqlcycli_3aio_10connection_Connection*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_8sqlcycli_3aio_10connection_Connection); if (unlikely(!__pyx_vtabptr_8sqlcycli_3aio_10connection_Connection)) __PYX_ERR(9, 203, __pyx_L1_error)
|
|
76275
76281
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
76276
76282
|
__pyx_t_1 = PyImport_ImportModule("sqlcycli.aio.pool"); if (unlikely(!__pyx_t_1)) __PYX_ERR(10, 12, __pyx_L1_error)
|
|
76277
76283
|
__Pyx_GOTREF(__pyx_t_1);
|
|
Binary file
|
mysqlengine/database.c
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"-Wno-incompatible-pointer-types"
|
|
16
16
|
],
|
|
17
17
|
"include_dirs": [
|
|
18
|
-
"/private/var/folders/
|
|
18
|
+
"/private/var/folders/kg/7q73ww8s3llgyl61c9z_j5g40000gn/T/pip-build-env-3xxdkxlp/overlay/lib/python3.11/site-packages/numpy/_core/include"
|
|
19
19
|
],
|
|
20
20
|
"name": "mysqlengine.database",
|
|
21
21
|
"sources": [
|
|
@@ -2317,7 +2317,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_6Cursor_scroll {
|
|
|
2317
2317
|
PyObject *mode;
|
|
2318
2318
|
};
|
|
2319
2319
|
|
|
2320
|
-
/* "connection.pxd":
|
|
2320
|
+
/* "connection.pxd":196
|
|
2321
2321
|
* cdef inline bint _setup_internal(self) except -1
|
|
2322
2322
|
* # Cursor
|
|
2323
2323
|
* cpdef Cursor cursor(self, object cursor=?) # <<<<<<<<<<<<<<
|
|
@@ -2329,7 +2329,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_cursor {
|
|
|
2329
2329
|
PyObject *cursor;
|
|
2330
2330
|
};
|
|
2331
2331
|
|
|
2332
|
-
/* "connection.pxd":
|
|
2332
|
+
/* "connection.pxd":197
|
|
2333
2333
|
* # Cursor
|
|
2334
2334
|
* cpdef Cursor cursor(self, object cursor=?)
|
|
2335
2335
|
* cpdef TransactionManager transaction(self, object cursor=?) # <<<<<<<<<<<<<<
|
|
@@ -2341,7 +2341,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_transaction {
|
|
|
2341
2341
|
PyObject *cursor;
|
|
2342
2342
|
};
|
|
2343
2343
|
|
|
2344
|
-
/* "connection.pxd":
|
|
2344
|
+
/* "connection.pxd":200
|
|
2345
2345
|
* cdef inline type _validate_cursor(self, object cursor)
|
|
2346
2346
|
* # Query
|
|
2347
2347
|
* cpdef unsigned long long query(self, str sql, bint unbuffered=?) # <<<<<<<<<<<<<<
|
|
@@ -2353,7 +2353,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_query {
|
|
|
2353
2353
|
int unbuffered;
|
|
2354
2354
|
};
|
|
2355
2355
|
|
|
2356
|
-
/* "connection.pxd":
|
|
2356
|
+
/* "connection.pxd":210
|
|
2357
2357
|
* cpdef tuple show_warnings(self)
|
|
2358
2358
|
* cpdef bint select_database(self, str db) except -1
|
|
2359
2359
|
* cpdef object escape_args(self, object args, bint many=?, bint itemize=?) # <<<<<<<<<<<<<<
|
|
@@ -2366,7 +2366,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_escape_args {
|
|
|
2366
2366
|
int itemize;
|
|
2367
2367
|
};
|
|
2368
2368
|
|
|
2369
|
-
/* "connection.pxd":
|
|
2369
|
+
/* "connection.pxd":213
|
|
2370
2370
|
* cpdef bytes encode_sql(self, str sql)
|
|
2371
2371
|
* # . client
|
|
2372
2372
|
* cpdef bint set_charset(self, str charset, object collation=?) except -1 # <<<<<<<<<<<<<<
|
|
@@ -2378,7 +2378,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_set_charset {
|
|
|
2378
2378
|
PyObject *collation;
|
|
2379
2379
|
};
|
|
2380
2380
|
|
|
2381
|
-
/* "connection.pxd":
|
|
2381
|
+
/* "connection.pxd":250
|
|
2382
2382
|
* cpdef bint closed(self) except -1
|
|
2383
2383
|
* cpdef bint kill(self, int thread_id) except -1
|
|
2384
2384
|
* cpdef bint ping(self, bint reconnect=?) except -1 # <<<<<<<<<<<<<<
|
|
@@ -2390,7 +2390,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_ping {
|
|
|
2390
2390
|
int reconnect;
|
|
2391
2391
|
};
|
|
2392
2392
|
|
|
2393
|
-
/* "connection.pxd":
|
|
2393
|
+
/* "connection.pxd":264
|
|
2394
2394
|
* cdef inline bint _set_use_time(self) except -1
|
|
2395
2395
|
* # Read
|
|
2396
2396
|
* cpdef unsigned long long next_result(self, bint unbuffered=?) # <<<<<<<<<<<<<<
|
|
@@ -2420,7 +2420,7 @@ struct __pyx_opt_args_8sqlcycli_3aio_10connection_6Cursor_mogrify {
|
|
|
2420
2420
|
int itemize;
|
|
2421
2421
|
};
|
|
2422
2422
|
|
|
2423
|
-
/* "connection.pxd":
|
|
2423
|
+
/* "connection.pxd":173
|
|
2424
2424
|
* cdef inline bint _setup_internal(self) except -1
|
|
2425
2425
|
* # Cursor
|
|
2426
2426
|
* cpdef CursorManager cursor(self, object cursor=?) # <<<<<<<<<<<<<<
|
|
@@ -2432,7 +2432,7 @@ struct __pyx_opt_args_8sqlcycli_3aio_10connection_14BaseConnection_cursor {
|
|
|
2432
2432
|
PyObject *cursor;
|
|
2433
2433
|
};
|
|
2434
2434
|
|
|
2435
|
-
/* "connection.pxd":
|
|
2435
|
+
/* "connection.pxd":174
|
|
2436
2436
|
* # Cursor
|
|
2437
2437
|
* cpdef CursorManager cursor(self, object cursor=?)
|
|
2438
2438
|
* cpdef TransactionManager transaction(self, object cursor=?) # <<<<<<<<<<<<<<
|
|
@@ -2444,7 +2444,7 @@ struct __pyx_opt_args_8sqlcycli_3aio_10connection_14BaseConnection_transaction {
|
|
|
2444
2444
|
PyObject *cursor;
|
|
2445
2445
|
};
|
|
2446
2446
|
|
|
2447
|
-
/* "connection.pxd":
|
|
2447
|
+
/* "connection.pxd":177
|
|
2448
2448
|
* cdef inline type _validate_cursor(self, object cursor)
|
|
2449
2449
|
* # Query
|
|
2450
2450
|
* cpdef object escape_args(self, object args, bint many=?, bint itemize=?) # <<<<<<<<<<<<<<
|
|
@@ -2458,7 +2458,7 @@ struct __pyx_opt_args_8sqlcycli_3aio_10connection_14BaseConnection_escape_args {
|
|
|
2458
2458
|
};
|
|
2459
2459
|
struct __pyx_opt_args_8sqlcycli_3aio_4pool_4Pool_escape_args;
|
|
2460
2460
|
|
|
2461
|
-
/* "sqlcycli/aio/pool.pxd":
|
|
2461
|
+
/* "sqlcycli/aio/pool.pxd":134
|
|
2462
2462
|
* cdef inline bint _verify_open(self) except -1
|
|
2463
2463
|
* # Query
|
|
2464
2464
|
* cpdef object escape_args(self, object args, bint many=?, bint itemize=?) # <<<<<<<<<<<<<<
|
|
@@ -3725,7 +3725,7 @@ struct __pyx_opt_args_11mysqlengine_3dml_3DML__gen_select_statement {
|
|
|
3725
3725
|
* cdef inline str _gen_select_statement(self, str pad=?)
|
|
3726
3726
|
* cdef inline str _gen_select_subquery(self, str pad=?) # <<<<<<<<<<<<<<
|
|
3727
3727
|
* # Execute
|
|
3728
|
-
* cpdef object _Execute(self, object args=?, object cursor=?, bint fetch=?, bint many=?, object conn=?)
|
|
3728
|
+
* cpdef object _Execute(self, object args=?, object cursor=?, bint fetch=?, bint fetch_all=?, bint many=?, object conn=?)
|
|
3729
3729
|
*/
|
|
3730
3730
|
struct __pyx_opt_args_11mysqlengine_3dml_3DML__gen_select_subquery {
|
|
3731
3731
|
int __pyx_n;
|
|
@@ -3735,7 +3735,7 @@ struct __pyx_opt_args_11mysqlengine_3dml_3DML__gen_select_subquery {
|
|
|
3735
3735
|
/* "mysqlengine/dml.pxd":281
|
|
3736
3736
|
* cdef inline str _gen_select_subquery(self, str pad=?)
|
|
3737
3737
|
* # Execute
|
|
3738
|
-
* cpdef object _Execute(self, object args=?, object cursor=?, bint fetch=?, bint many=?, object conn=?) # <<<<<<<<<<<<<<
|
|
3738
|
+
* cpdef object _Execute(self, object args=?, object cursor=?, bint fetch=?, bint fetch_all=?, bint many=?, object conn=?) # <<<<<<<<<<<<<<
|
|
3739
3739
|
* # Validate
|
|
3740
3740
|
* cdef inline str _validate_element_name(self, str name, str msg)
|
|
3741
3741
|
*/
|
|
@@ -3744,6 +3744,7 @@ struct __pyx_opt_args_11mysqlengine_3dml_3DML__Execute {
|
|
|
3744
3744
|
PyObject *args;
|
|
3745
3745
|
PyObject *cursor;
|
|
3746
3746
|
int fetch;
|
|
3747
|
+
int fetch_all;
|
|
3747
3748
|
int many;
|
|
3748
3749
|
PyObject *conn;
|
|
3749
3750
|
};
|
|
@@ -3865,7 +3866,7 @@ struct __pyx_opt_args_11mysqlengine_3dml_9SelectDML_From {
|
|
|
3865
3866
|
* # Statement
|
|
3866
3867
|
* cpdef str statement(self, int indent=?) # <<<<<<<<<<<<<<
|
|
3867
3868
|
* # Execute
|
|
3868
|
-
* cpdef object Execute(self, object args=?, object cursor=?, bint fetch=?, object conn=?)
|
|
3869
|
+
* cpdef object Execute(self, object args=?, object cursor=?, bint fetch=?, bint fetch_all=?, object conn=?)
|
|
3869
3870
|
*/
|
|
3870
3871
|
struct __pyx_opt_args_11mysqlengine_3dml_9SelectDML_statement {
|
|
3871
3872
|
int __pyx_n;
|
|
@@ -3875,7 +3876,7 @@ struct __pyx_opt_args_11mysqlengine_3dml_9SelectDML_statement {
|
|
|
3875
3876
|
/* "mysqlengine/dml.pxd":312
|
|
3876
3877
|
* cpdef str statement(self, int indent=?)
|
|
3877
3878
|
* # Execute
|
|
3878
|
-
* cpdef object Execute(self, object args=?, object cursor=?, bint fetch=?, object conn=?) # <<<<<<<<<<<<<<
|
|
3879
|
+
* cpdef object Execute(self, object args=?, object cursor=?, bint fetch=?, bint fetch_all=?, object conn=?) # <<<<<<<<<<<<<<
|
|
3879
3880
|
* # Validate
|
|
3880
3881
|
* cdef inline bint _validate_join_clause_order(self) except -1
|
|
3881
3882
|
*/
|
|
@@ -3884,6 +3885,7 @@ struct __pyx_opt_args_11mysqlengine_3dml_9SelectDML_Execute {
|
|
|
3884
3885
|
PyObject *args;
|
|
3885
3886
|
PyObject *cursor;
|
|
3886
3887
|
int fetch;
|
|
3888
|
+
int fetch_all;
|
|
3887
3889
|
PyObject *conn;
|
|
3888
3890
|
};
|
|
3889
3891
|
|
|
@@ -4882,6 +4884,8 @@ struct __pyx_obj_8sqlcycli_10connection_BaseConnection {
|
|
|
4882
4884
|
int _use_decimal;
|
|
4883
4885
|
int _decode_bit;
|
|
4884
4886
|
int _decode_json;
|
|
4887
|
+
PyObject *_retry_errno;
|
|
4888
|
+
int _retry_times;
|
|
4885
4889
|
int _server_protocol_version;
|
|
4886
4890
|
PyObject *_server_info;
|
|
4887
4891
|
PyObject *_server_version;
|
|
@@ -4902,7 +4906,7 @@ struct __pyx_obj_8sqlcycli_10connection_BaseConnection {
|
|
|
4902
4906
|
};
|
|
4903
4907
|
|
|
4904
4908
|
|
|
4905
|
-
/* "connection.pxd":
|
|
4909
|
+
/* "connection.pxd":272
|
|
4906
4910
|
* cdef inline bytes _read_bytes(self, unsigned int size)
|
|
4907
4911
|
*
|
|
4908
4912
|
* cdef class Connection(BaseConnection): # <<<<<<<<<<<<<<
|
|
@@ -5103,6 +5107,8 @@ struct __pyx_obj_8sqlcycli_3aio_10connection_BaseConnection {
|
|
|
5103
5107
|
int _use_decimal;
|
|
5104
5108
|
int _decode_bit;
|
|
5105
5109
|
int _decode_json;
|
|
5110
|
+
PyObject *_retry_errno;
|
|
5111
|
+
int _retry_times;
|
|
5106
5112
|
int _server_protocol_version;
|
|
5107
5113
|
PyObject *_server_info;
|
|
5108
5114
|
PyObject *_server_version;
|
|
@@ -5124,7 +5130,7 @@ struct __pyx_obj_8sqlcycli_3aio_10connection_BaseConnection {
|
|
|
5124
5130
|
};
|
|
5125
5131
|
|
|
5126
5132
|
|
|
5127
|
-
/* "connection.pxd":
|
|
5133
|
+
/* "connection.pxd":203
|
|
5128
5134
|
* cdef inline bint _set_use_time(self) except -1
|
|
5129
5135
|
*
|
|
5130
5136
|
* cdef class Connection(BaseConnection): # <<<<<<<<<<<<<<
|
|
@@ -5251,6 +5257,8 @@ struct __pyx_obj_8sqlcycli_3aio_4pool_Pool {
|
|
|
5251
5257
|
int _use_decimal;
|
|
5252
5258
|
int _decode_bit;
|
|
5253
5259
|
int _decode_json;
|
|
5260
|
+
PyObject *_retry_errno;
|
|
5261
|
+
int _retry_times;
|
|
5254
5262
|
};
|
|
5255
5263
|
|
|
5256
5264
|
|
|
@@ -7194,7 +7202,7 @@ struct __pyx_vtabstruct_8sqlcycli_10connection_BaseConnection {
|
|
|
7194
7202
|
static struct __pyx_vtabstruct_8sqlcycli_10connection_BaseConnection *__pyx_vtabptr_8sqlcycli_10connection_BaseConnection;
|
|
7195
7203
|
|
|
7196
7204
|
|
|
7197
|
-
/* "connection.pxd":
|
|
7205
|
+
/* "connection.pxd":272
|
|
7198
7206
|
* cdef inline bytes _read_bytes(self, unsigned int size)
|
|
7199
7207
|
*
|
|
7200
7208
|
* cdef class Connection(BaseConnection): # <<<<<<<<<<<<<<
|
|
@@ -7357,7 +7365,7 @@ struct __pyx_vtabstruct_8sqlcycli_3aio_10connection_BaseConnection {
|
|
|
7357
7365
|
static struct __pyx_vtabstruct_8sqlcycli_3aio_10connection_BaseConnection *__pyx_vtabptr_8sqlcycli_3aio_10connection_BaseConnection;
|
|
7358
7366
|
|
|
7359
7367
|
|
|
7360
|
-
/* "connection.pxd":
|
|
7368
|
+
/* "connection.pxd":203
|
|
7361
7369
|
* cdef inline bint _set_use_time(self) except -1
|
|
7362
7370
|
*
|
|
7363
7371
|
* cdef class Connection(BaseConnection): # <<<<<<<<<<<<<<
|
|
@@ -45536,8 +45544,8 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
45536
45544
|
#else
|
|
45537
45545
|
sizeof(struct __pyx_obj_8sqlcycli_10connection_Connection), __PYX_GET_STRUCT_ALIGNMENT_3_2_1(struct __pyx_obj_8sqlcycli_10connection_Connection),
|
|
45538
45546
|
#endif
|
|
45539
|
-
__Pyx_ImportType_CheckSize_Warn_3_2_1); if (!__pyx_mstate->__pyx_ptype_8sqlcycli_10connection_Connection) __PYX_ERR(12,
|
|
45540
|
-
__pyx_vtabptr_8sqlcycli_10connection_Connection = (struct __pyx_vtabstruct_8sqlcycli_10connection_Connection*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_8sqlcycli_10connection_Connection); if (unlikely(!__pyx_vtabptr_8sqlcycli_10connection_Connection)) __PYX_ERR(12,
|
|
45547
|
+
__Pyx_ImportType_CheckSize_Warn_3_2_1); if (!__pyx_mstate->__pyx_ptype_8sqlcycli_10connection_Connection) __PYX_ERR(12, 272, __pyx_L1_error)
|
|
45548
|
+
__pyx_vtabptr_8sqlcycli_10connection_Connection = (struct __pyx_vtabstruct_8sqlcycli_10connection_Connection*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_8sqlcycli_10connection_Connection); if (unlikely(!__pyx_vtabptr_8sqlcycli_10connection_Connection)) __PYX_ERR(12, 272, __pyx_L1_error)
|
|
45541
45549
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
45542
45550
|
__pyx_t_1 = PyImport_ImportModule("sqlcycli.aio.connection"); if (unlikely(!__pyx_t_1)) __PYX_ERR(13, 7, __pyx_L1_error)
|
|
45543
45551
|
__Pyx_GOTREF(__pyx_t_1);
|
|
@@ -45647,8 +45655,8 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
45647
45655
|
#else
|
|
45648
45656
|
sizeof(struct __pyx_obj_8sqlcycli_3aio_10connection_Connection), __PYX_GET_STRUCT_ALIGNMENT_3_2_1(struct __pyx_obj_8sqlcycli_3aio_10connection_Connection),
|
|
45649
45657
|
#endif
|
|
45650
|
-
__Pyx_ImportType_CheckSize_Warn_3_2_1); if (!__pyx_mstate->__pyx_ptype_8sqlcycli_3aio_10connection_Connection) __PYX_ERR(13,
|
|
45651
|
-
__pyx_vtabptr_8sqlcycli_3aio_10connection_Connection = (struct __pyx_vtabstruct_8sqlcycli_3aio_10connection_Connection*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_8sqlcycli_3aio_10connection_Connection); if (unlikely(!__pyx_vtabptr_8sqlcycli_3aio_10connection_Connection)) __PYX_ERR(13,
|
|
45658
|
+
__Pyx_ImportType_CheckSize_Warn_3_2_1); if (!__pyx_mstate->__pyx_ptype_8sqlcycli_3aio_10connection_Connection) __PYX_ERR(13, 203, __pyx_L1_error)
|
|
45659
|
+
__pyx_vtabptr_8sqlcycli_3aio_10connection_Connection = (struct __pyx_vtabstruct_8sqlcycli_3aio_10connection_Connection*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_8sqlcycli_3aio_10connection_Connection); if (unlikely(!__pyx_vtabptr_8sqlcycli_3aio_10connection_Connection)) __PYX_ERR(13, 203, __pyx_L1_error)
|
|
45652
45660
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
45653
45661
|
__pyx_t_1 = PyImport_ImportModule("sqlcycli.aio.pool"); if (unlikely(!__pyx_t_1)) __PYX_ERR(14, 12, __pyx_L1_error)
|
|
45654
45662
|
__Pyx_GOTREF(__pyx_t_1);
|
|
Binary file
|