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/partition.c CHANGED
@@ -15,7 +15,7 @@
15
15
  "-Wno-incompatible-pointer-types"
16
16
  ],
17
17
  "include_dirs": [
18
- "/private/var/folders/_l/91ns3hs96sd11p4_lzxh1l140000gn/T/pip-build-env-plpr8u0m/overlay/lib/python3.11/site-packages/numpy/_core/include"
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.partition",
21
21
  "sources": [
@@ -1749,7 +1749,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_6Cursor_scroll {
1749
1749
  PyObject *mode;
1750
1750
  };
1751
1751
 
1752
- /* "sqlcycli/connection.pxd":193
1752
+ /* "sqlcycli/connection.pxd":196
1753
1753
  * cdef inline bint _setup_internal(self) except -1
1754
1754
  * # Cursor
1755
1755
  * cpdef Cursor cursor(self, object cursor=?) # <<<<<<<<<<<<<<
@@ -1761,7 +1761,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_cursor {
1761
1761
  PyObject *cursor;
1762
1762
  };
1763
1763
 
1764
- /* "sqlcycli/connection.pxd":194
1764
+ /* "sqlcycli/connection.pxd":197
1765
1765
  * # Cursor
1766
1766
  * cpdef Cursor cursor(self, object cursor=?)
1767
1767
  * cpdef TransactionManager transaction(self, object cursor=?) # <<<<<<<<<<<<<<
@@ -1773,7 +1773,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_transaction {
1773
1773
  PyObject *cursor;
1774
1774
  };
1775
1775
 
1776
- /* "sqlcycli/connection.pxd":197
1776
+ /* "sqlcycli/connection.pxd":200
1777
1777
  * cdef inline type _validate_cursor(self, object cursor)
1778
1778
  * # Query
1779
1779
  * cpdef unsigned long long query(self, str sql, bint unbuffered=?) # <<<<<<<<<<<<<<
@@ -1785,7 +1785,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_query {
1785
1785
  int unbuffered;
1786
1786
  };
1787
1787
 
1788
- /* "sqlcycli/connection.pxd":207
1788
+ /* "sqlcycli/connection.pxd":210
1789
1789
  * cpdef tuple show_warnings(self)
1790
1790
  * cpdef bint select_database(self, str db) except -1
1791
1791
  * cpdef object escape_args(self, object args, bint many=?, bint itemize=?) # <<<<<<<<<<<<<<
@@ -1798,7 +1798,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_escape_args {
1798
1798
  int itemize;
1799
1799
  };
1800
1800
 
1801
- /* "sqlcycli/connection.pxd":210
1801
+ /* "sqlcycli/connection.pxd":213
1802
1802
  * cpdef bytes encode_sql(self, str sql)
1803
1803
  * # . client
1804
1804
  * cpdef bint set_charset(self, str charset, object collation=?) except -1 # <<<<<<<<<<<<<<
@@ -1810,7 +1810,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_set_charset {
1810
1810
  PyObject *collation;
1811
1811
  };
1812
1812
 
1813
- /* "sqlcycli/connection.pxd":247
1813
+ /* "sqlcycli/connection.pxd":250
1814
1814
  * cpdef bint closed(self) except -1
1815
1815
  * cpdef bint kill(self, int thread_id) except -1
1816
1816
  * cpdef bint ping(self, bint reconnect=?) except -1 # <<<<<<<<<<<<<<
@@ -1822,7 +1822,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_ping {
1822
1822
  int reconnect;
1823
1823
  };
1824
1824
 
1825
- /* "sqlcycli/connection.pxd":261
1825
+ /* "sqlcycli/connection.pxd":264
1826
1826
  * cdef inline bint _set_use_time(self) except -1
1827
1827
  * # Read
1828
1828
  * cpdef unsigned long long next_result(self, bint unbuffered=?) # <<<<<<<<<<<<<<
@@ -1852,7 +1852,7 @@ struct __pyx_opt_args_8sqlcycli_3aio_10connection_6Cursor_mogrify {
1852
1852
  int itemize;
1853
1853
  };
1854
1854
 
1855
- /* "connection.pxd":170
1855
+ /* "connection.pxd":173
1856
1856
  * cdef inline bint _setup_internal(self) except -1
1857
1857
  * # Cursor
1858
1858
  * cpdef CursorManager cursor(self, object cursor=?) # <<<<<<<<<<<<<<
@@ -1864,7 +1864,7 @@ struct __pyx_opt_args_8sqlcycli_3aio_10connection_14BaseConnection_cursor {
1864
1864
  PyObject *cursor;
1865
1865
  };
1866
1866
 
1867
- /* "connection.pxd":171
1867
+ /* "connection.pxd":174
1868
1868
  * # Cursor
1869
1869
  * cpdef CursorManager cursor(self, object cursor=?)
1870
1870
  * cpdef TransactionManager transaction(self, object cursor=?) # <<<<<<<<<<<<<<
@@ -1876,7 +1876,7 @@ struct __pyx_opt_args_8sqlcycli_3aio_10connection_14BaseConnection_transaction {
1876
1876
  PyObject *cursor;
1877
1877
  };
1878
1878
 
1879
- /* "connection.pxd":174
1879
+ /* "connection.pxd":177
1880
1880
  * cdef inline type _validate_cursor(self, object cursor)
1881
1881
  * # Query
1882
1882
  * cpdef object escape_args(self, object args, bint many=?, bint itemize=?) # <<<<<<<<<<<<<<
@@ -1890,7 +1890,7 @@ struct __pyx_opt_args_8sqlcycli_3aio_10connection_14BaseConnection_escape_args {
1890
1890
  };
1891
1891
  struct __pyx_opt_args_8sqlcycli_3aio_4pool_4Pool_escape_args;
1892
1892
 
1893
- /* "sqlcycli/aio/pool.pxd":131
1893
+ /* "sqlcycli/aio/pool.pxd":134
1894
1894
  * cdef inline bint _verify_open(self) except -1
1895
1895
  * # Query
1896
1896
  * cpdef object escape_args(self, object args, bint many=?, bint itemize=?) # <<<<<<<<<<<<<<
@@ -2709,6 +2709,8 @@ struct __pyx_obj_8sqlcycli_10connection_BaseConnection {
2709
2709
  int _use_decimal;
2710
2710
  int _decode_bit;
2711
2711
  int _decode_json;
2712
+ PyObject *_retry_errno;
2713
+ int _retry_times;
2712
2714
  int _server_protocol_version;
2713
2715
  PyObject *_server_info;
2714
2716
  PyObject *_server_version;
@@ -2729,7 +2731,7 @@ struct __pyx_obj_8sqlcycli_10connection_BaseConnection {
2729
2731
  };
2730
2732
 
2731
2733
 
2732
- /* "sqlcycli/connection.pxd":269
2734
+ /* "sqlcycli/connection.pxd":272
2733
2735
  * cdef inline bytes _read_bytes(self, unsigned int size)
2734
2736
  *
2735
2737
  * cdef class Connection(BaseConnection): # <<<<<<<<<<<<<<
@@ -2930,6 +2932,8 @@ struct __pyx_obj_8sqlcycli_3aio_10connection_BaseConnection {
2930
2932
  int _use_decimal;
2931
2933
  int _decode_bit;
2932
2934
  int _decode_json;
2935
+ PyObject *_retry_errno;
2936
+ int _retry_times;
2933
2937
  int _server_protocol_version;
2934
2938
  PyObject *_server_info;
2935
2939
  PyObject *_server_version;
@@ -2951,7 +2955,7 @@ struct __pyx_obj_8sqlcycli_3aio_10connection_BaseConnection {
2951
2955
  };
2952
2956
 
2953
2957
 
2954
- /* "connection.pxd":200
2958
+ /* "connection.pxd":203
2955
2959
  * cdef inline bint _set_use_time(self) except -1
2956
2960
  *
2957
2961
  * cdef class Connection(BaseConnection): # <<<<<<<<<<<<<<
@@ -3078,6 +3082,8 @@ struct __pyx_obj_8sqlcycli_3aio_4pool_Pool {
3078
3082
  int _use_decimal;
3079
3083
  int _decode_bit;
3080
3084
  int _decode_json;
3085
+ PyObject *_retry_errno;
3086
+ int _retry_times;
3081
3087
  };
3082
3088
 
3083
3089
 
@@ -4371,7 +4377,7 @@ struct __pyx_vtabstruct_8sqlcycli_10connection_BaseConnection {
4371
4377
  static struct __pyx_vtabstruct_8sqlcycli_10connection_BaseConnection *__pyx_vtabptr_8sqlcycli_10connection_BaseConnection;
4372
4378
 
4373
4379
 
4374
- /* "sqlcycli/connection.pxd":269
4380
+ /* "sqlcycli/connection.pxd":272
4375
4381
  * cdef inline bytes _read_bytes(self, unsigned int size)
4376
4382
  *
4377
4383
  * cdef class Connection(BaseConnection): # <<<<<<<<<<<<<<
@@ -4534,7 +4540,7 @@ struct __pyx_vtabstruct_8sqlcycli_3aio_10connection_BaseConnection {
4534
4540
  static struct __pyx_vtabstruct_8sqlcycli_3aio_10connection_BaseConnection *__pyx_vtabptr_8sqlcycli_3aio_10connection_BaseConnection;
4535
4541
 
4536
4542
 
4537
- /* "connection.pxd":200
4543
+ /* "connection.pxd":203
4538
4544
  * cdef inline bint _set_use_time(self) except -1
4539
4545
  *
4540
4546
  * cdef class Connection(BaseConnection): # <<<<<<<<<<<<<<
@@ -83993,8 +83999,8 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
83993
83999
  #else
83994
84000
  sizeof(struct __pyx_obj_8sqlcycli_10connection_Connection), __PYX_GET_STRUCT_ALIGNMENT_3_2_1(struct __pyx_obj_8sqlcycli_10connection_Connection),
83995
84001
  #endif
83996
- __Pyx_ImportType_CheckSize_Warn_3_2_1); if (!__pyx_mstate->__pyx_ptype_8sqlcycli_10connection_Connection) __PYX_ERR(8, 269, __pyx_L1_error)
83997
- __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, 269, __pyx_L1_error)
84002
+ __Pyx_ImportType_CheckSize_Warn_3_2_1); if (!__pyx_mstate->__pyx_ptype_8sqlcycli_10connection_Connection) __PYX_ERR(8, 272, __pyx_L1_error)
84003
+ __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)
83998
84004
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
83999
84005
  __pyx_t_1 = PyImport_ImportModule("sqlcycli.aio.connection"); if (unlikely(!__pyx_t_1)) __PYX_ERR(9, 7, __pyx_L1_error)
84000
84006
  __Pyx_GOTREF(__pyx_t_1);
@@ -84104,8 +84110,8 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
84104
84110
  #else
84105
84111
  sizeof(struct __pyx_obj_8sqlcycli_3aio_10connection_Connection), __PYX_GET_STRUCT_ALIGNMENT_3_2_1(struct __pyx_obj_8sqlcycli_3aio_10connection_Connection),
84106
84112
  #endif
84107
- __Pyx_ImportType_CheckSize_Warn_3_2_1); if (!__pyx_mstate->__pyx_ptype_8sqlcycli_3aio_10connection_Connection) __PYX_ERR(9, 200, __pyx_L1_error)
84108
- __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, 200, __pyx_L1_error)
84113
+ __Pyx_ImportType_CheckSize_Warn_3_2_1); if (!__pyx_mstate->__pyx_ptype_8sqlcycli_3aio_10connection_Connection) __PYX_ERR(9, 203, __pyx_L1_error)
84114
+ __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)
84109
84115
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
84110
84116
  __pyx_t_1 = PyImport_ImportModule("sqlcycli.aio.pool"); if (unlikely(!__pyx_t_1)) __PYX_ERR(10, 12, __pyx_L1_error)
84111
84117
  __Pyx_GOTREF(__pyx_t_1);
Binary file
mysqlengine/table.c CHANGED
@@ -15,7 +15,7 @@
15
15
  "-Wno-incompatible-pointer-types"
16
16
  ],
17
17
  "include_dirs": [
18
- "/private/var/folders/_l/91ns3hs96sd11p4_lzxh1l140000gn/T/pip-build-env-plpr8u0m/overlay/lib/python3.11/site-packages/numpy/_core/include"
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.table",
21
21
  "sources": [
@@ -2402,7 +2402,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_6Cursor_scroll {
2402
2402
  PyObject *mode;
2403
2403
  };
2404
2404
 
2405
- /* "connection.pxd":193
2405
+ /* "connection.pxd":196
2406
2406
  * cdef inline bint _setup_internal(self) except -1
2407
2407
  * # Cursor
2408
2408
  * cpdef Cursor cursor(self, object cursor=?) # <<<<<<<<<<<<<<
@@ -2414,7 +2414,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_cursor {
2414
2414
  PyObject *cursor;
2415
2415
  };
2416
2416
 
2417
- /* "connection.pxd":194
2417
+ /* "connection.pxd":197
2418
2418
  * # Cursor
2419
2419
  * cpdef Cursor cursor(self, object cursor=?)
2420
2420
  * cpdef TransactionManager transaction(self, object cursor=?) # <<<<<<<<<<<<<<
@@ -2426,7 +2426,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_transaction {
2426
2426
  PyObject *cursor;
2427
2427
  };
2428
2428
 
2429
- /* "connection.pxd":197
2429
+ /* "connection.pxd":200
2430
2430
  * cdef inline type _validate_cursor(self, object cursor)
2431
2431
  * # Query
2432
2432
  * cpdef unsigned long long query(self, str sql, bint unbuffered=?) # <<<<<<<<<<<<<<
@@ -2438,7 +2438,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_query {
2438
2438
  int unbuffered;
2439
2439
  };
2440
2440
 
2441
- /* "connection.pxd":207
2441
+ /* "connection.pxd":210
2442
2442
  * cpdef tuple show_warnings(self)
2443
2443
  * cpdef bint select_database(self, str db) except -1
2444
2444
  * cpdef object escape_args(self, object args, bint many=?, bint itemize=?) # <<<<<<<<<<<<<<
@@ -2451,7 +2451,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_escape_args {
2451
2451
  int itemize;
2452
2452
  };
2453
2453
 
2454
- /* "connection.pxd":210
2454
+ /* "connection.pxd":213
2455
2455
  * cpdef bytes encode_sql(self, str sql)
2456
2456
  * # . client
2457
2457
  * cpdef bint set_charset(self, str charset, object collation=?) except -1 # <<<<<<<<<<<<<<
@@ -2463,7 +2463,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_set_charset {
2463
2463
  PyObject *collation;
2464
2464
  };
2465
2465
 
2466
- /* "connection.pxd":247
2466
+ /* "connection.pxd":250
2467
2467
  * cpdef bint closed(self) except -1
2468
2468
  * cpdef bint kill(self, int thread_id) except -1
2469
2469
  * cpdef bint ping(self, bint reconnect=?) except -1 # <<<<<<<<<<<<<<
@@ -2475,7 +2475,7 @@ struct __pyx_opt_args_8sqlcycli_10connection_14BaseConnection_ping {
2475
2475
  int reconnect;
2476
2476
  };
2477
2477
 
2478
- /* "connection.pxd":261
2478
+ /* "connection.pxd":264
2479
2479
  * cdef inline bint _set_use_time(self) except -1
2480
2480
  * # Read
2481
2481
  * cpdef unsigned long long next_result(self, bint unbuffered=?) # <<<<<<<<<<<<<<
@@ -2505,7 +2505,7 @@ struct __pyx_opt_args_8sqlcycli_3aio_10connection_6Cursor_mogrify {
2505
2505
  int itemize;
2506
2506
  };
2507
2507
 
2508
- /* "connection.pxd":170
2508
+ /* "connection.pxd":173
2509
2509
  * cdef inline bint _setup_internal(self) except -1
2510
2510
  * # Cursor
2511
2511
  * cpdef CursorManager cursor(self, object cursor=?) # <<<<<<<<<<<<<<
@@ -2517,7 +2517,7 @@ struct __pyx_opt_args_8sqlcycli_3aio_10connection_14BaseConnection_cursor {
2517
2517
  PyObject *cursor;
2518
2518
  };
2519
2519
 
2520
- /* "connection.pxd":171
2520
+ /* "connection.pxd":174
2521
2521
  * # Cursor
2522
2522
  * cpdef CursorManager cursor(self, object cursor=?)
2523
2523
  * cpdef TransactionManager transaction(self, object cursor=?) # <<<<<<<<<<<<<<
@@ -2529,7 +2529,7 @@ struct __pyx_opt_args_8sqlcycli_3aio_10connection_14BaseConnection_transaction {
2529
2529
  PyObject *cursor;
2530
2530
  };
2531
2531
 
2532
- /* "connection.pxd":174
2532
+ /* "connection.pxd":177
2533
2533
  * cdef inline type _validate_cursor(self, object cursor)
2534
2534
  * # Query
2535
2535
  * cpdef object escape_args(self, object args, bint many=?, bint itemize=?) # <<<<<<<<<<<<<<
@@ -2543,7 +2543,7 @@ struct __pyx_opt_args_8sqlcycli_3aio_10connection_14BaseConnection_escape_args {
2543
2543
  };
2544
2544
  struct __pyx_opt_args_8sqlcycli_3aio_4pool_4Pool_escape_args;
2545
2545
 
2546
- /* "sqlcycli/aio/pool.pxd":131
2546
+ /* "sqlcycli/aio/pool.pxd":134
2547
2547
  * cdef inline bint _verify_open(self) except -1
2548
2548
  * # Query
2549
2549
  * cpdef object escape_args(self, object args, bint many=?, bint itemize=?) # <<<<<<<<<<<<<<
@@ -3810,7 +3810,7 @@ struct __pyx_opt_args_11mysqlengine_3dml_3DML__gen_select_statement {
3810
3810
  * cdef inline str _gen_select_statement(self, str pad=?)
3811
3811
  * cdef inline str _gen_select_subquery(self, str pad=?) # <<<<<<<<<<<<<<
3812
3812
  * # Execute
3813
- * cpdef object _Execute(self, object args=?, object cursor=?, bint fetch=?, bint many=?, object conn=?)
3813
+ * cpdef object _Execute(self, object args=?, object cursor=?, bint fetch=?, bint fetch_all=?, bint many=?, object conn=?)
3814
3814
  */
3815
3815
  struct __pyx_opt_args_11mysqlengine_3dml_3DML__gen_select_subquery {
3816
3816
  int __pyx_n;
@@ -3820,7 +3820,7 @@ struct __pyx_opt_args_11mysqlengine_3dml_3DML__gen_select_subquery {
3820
3820
  /* "mysqlengine/dml.pxd":281
3821
3821
  * cdef inline str _gen_select_subquery(self, str pad=?)
3822
3822
  * # Execute
3823
- * cpdef object _Execute(self, object args=?, object cursor=?, bint fetch=?, bint many=?, object conn=?) # <<<<<<<<<<<<<<
3823
+ * cpdef object _Execute(self, object args=?, object cursor=?, bint fetch=?, bint fetch_all=?, bint many=?, object conn=?) # <<<<<<<<<<<<<<
3824
3824
  * # Validate
3825
3825
  * cdef inline str _validate_element_name(self, str name, str msg)
3826
3826
  */
@@ -3829,6 +3829,7 @@ struct __pyx_opt_args_11mysqlengine_3dml_3DML__Execute {
3829
3829
  PyObject *args;
3830
3830
  PyObject *cursor;
3831
3831
  int fetch;
3832
+ int fetch_all;
3832
3833
  int many;
3833
3834
  PyObject *conn;
3834
3835
  };
@@ -3950,7 +3951,7 @@ struct __pyx_opt_args_11mysqlengine_3dml_9SelectDML_From {
3950
3951
  * # Statement
3951
3952
  * cpdef str statement(self, int indent=?) # <<<<<<<<<<<<<<
3952
3953
  * # Execute
3953
- * cpdef object Execute(self, object args=?, object cursor=?, bint fetch=?, object conn=?)
3954
+ * cpdef object Execute(self, object args=?, object cursor=?, bint fetch=?, bint fetch_all=?, object conn=?)
3954
3955
  */
3955
3956
  struct __pyx_opt_args_11mysqlengine_3dml_9SelectDML_statement {
3956
3957
  int __pyx_n;
@@ -3960,7 +3961,7 @@ struct __pyx_opt_args_11mysqlengine_3dml_9SelectDML_statement {
3960
3961
  /* "mysqlengine/dml.pxd":312
3961
3962
  * cpdef str statement(self, int indent=?)
3962
3963
  * # Execute
3963
- * cpdef object Execute(self, object args=?, object cursor=?, bint fetch=?, object conn=?) # <<<<<<<<<<<<<<
3964
+ * cpdef object Execute(self, object args=?, object cursor=?, bint fetch=?, bint fetch_all=?, object conn=?) # <<<<<<<<<<<<<<
3964
3965
  * # Validate
3965
3966
  * cdef inline bint _validate_join_clause_order(self) except -1
3966
3967
  */
@@ -3969,6 +3970,7 @@ struct __pyx_opt_args_11mysqlengine_3dml_9SelectDML_Execute {
3969
3970
  PyObject *args;
3970
3971
  PyObject *cursor;
3971
3972
  int fetch;
3973
+ int fetch_all;
3972
3974
  PyObject *conn;
3973
3975
  };
3974
3976
 
@@ -4823,6 +4825,8 @@ struct __pyx_obj_8sqlcycli_10connection_BaseConnection {
4823
4825
  int _use_decimal;
4824
4826
  int _decode_bit;
4825
4827
  int _decode_json;
4828
+ PyObject *_retry_errno;
4829
+ int _retry_times;
4826
4830
  int _server_protocol_version;
4827
4831
  PyObject *_server_info;
4828
4832
  PyObject *_server_version;
@@ -4843,7 +4847,7 @@ struct __pyx_obj_8sqlcycli_10connection_BaseConnection {
4843
4847
  };
4844
4848
 
4845
4849
 
4846
- /* "connection.pxd":269
4850
+ /* "connection.pxd":272
4847
4851
  * cdef inline bytes _read_bytes(self, unsigned int size)
4848
4852
  *
4849
4853
  * cdef class Connection(BaseConnection): # <<<<<<<<<<<<<<
@@ -5044,6 +5048,8 @@ struct __pyx_obj_8sqlcycli_3aio_10connection_BaseConnection {
5044
5048
  int _use_decimal;
5045
5049
  int _decode_bit;
5046
5050
  int _decode_json;
5051
+ PyObject *_retry_errno;
5052
+ int _retry_times;
5047
5053
  int _server_protocol_version;
5048
5054
  PyObject *_server_info;
5049
5055
  PyObject *_server_version;
@@ -5065,7 +5071,7 @@ struct __pyx_obj_8sqlcycli_3aio_10connection_BaseConnection {
5065
5071
  };
5066
5072
 
5067
5073
 
5068
- /* "connection.pxd":200
5074
+ /* "connection.pxd":203
5069
5075
  * cdef inline bint _set_use_time(self) except -1
5070
5076
  *
5071
5077
  * cdef class Connection(BaseConnection): # <<<<<<<<<<<<<<
@@ -5192,6 +5198,8 @@ struct __pyx_obj_8sqlcycli_3aio_4pool_Pool {
5192
5198
  int _use_decimal;
5193
5199
  int _decode_bit;
5194
5200
  int _decode_json;
5201
+ PyObject *_retry_errno;
5202
+ int _retry_times;
5195
5203
  };
5196
5204
 
5197
5205
 
@@ -7715,7 +7723,7 @@ struct __pyx_vtabstruct_8sqlcycli_10connection_BaseConnection {
7715
7723
  static struct __pyx_vtabstruct_8sqlcycli_10connection_BaseConnection *__pyx_vtabptr_8sqlcycli_10connection_BaseConnection;
7716
7724
 
7717
7725
 
7718
- /* "connection.pxd":269
7726
+ /* "connection.pxd":272
7719
7727
  * cdef inline bytes _read_bytes(self, unsigned int size)
7720
7728
  *
7721
7729
  * cdef class Connection(BaseConnection): # <<<<<<<<<<<<<<
@@ -7878,7 +7886,7 @@ struct __pyx_vtabstruct_8sqlcycli_3aio_10connection_BaseConnection {
7878
7886
  static struct __pyx_vtabstruct_8sqlcycli_3aio_10connection_BaseConnection *__pyx_vtabptr_8sqlcycli_3aio_10connection_BaseConnection;
7879
7887
 
7880
7888
 
7881
- /* "connection.pxd":200
7889
+ /* "connection.pxd":203
7882
7890
  * cdef inline bint _set_use_time(self) except -1
7883
7891
  *
7884
7892
  * cdef class Connection(BaseConnection): # <<<<<<<<<<<<<<
@@ -105432,8 +105440,8 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
105432
105440
  #else
105433
105441
  sizeof(struct __pyx_obj_8sqlcycli_10connection_Connection), __PYX_GET_STRUCT_ALIGNMENT_3_2_1(struct __pyx_obj_8sqlcycli_10connection_Connection),
105434
105442
  #endif
105435
- __Pyx_ImportType_CheckSize_Warn_3_2_1); if (!__pyx_mstate->__pyx_ptype_8sqlcycli_10connection_Connection) __PYX_ERR(13, 269, __pyx_L1_error)
105436
- __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(13, 269, __pyx_L1_error)
105443
+ __Pyx_ImportType_CheckSize_Warn_3_2_1); if (!__pyx_mstate->__pyx_ptype_8sqlcycli_10connection_Connection) __PYX_ERR(13, 272, __pyx_L1_error)
105444
+ __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(13, 272, __pyx_L1_error)
105437
105445
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
105438
105446
  __pyx_t_1 = PyImport_ImportModule("sqlcycli.aio.connection"); if (unlikely(!__pyx_t_1)) __PYX_ERR(14, 7, __pyx_L1_error)
105439
105447
  __Pyx_GOTREF(__pyx_t_1);
@@ -105543,8 +105551,8 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
105543
105551
  #else
105544
105552
  sizeof(struct __pyx_obj_8sqlcycli_3aio_10connection_Connection), __PYX_GET_STRUCT_ALIGNMENT_3_2_1(struct __pyx_obj_8sqlcycli_3aio_10connection_Connection),
105545
105553
  #endif
105546
- __Pyx_ImportType_CheckSize_Warn_3_2_1); if (!__pyx_mstate->__pyx_ptype_8sqlcycli_3aio_10connection_Connection) __PYX_ERR(14, 200, __pyx_L1_error)
105547
- __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(14, 200, __pyx_L1_error)
105554
+ __Pyx_ImportType_CheckSize_Warn_3_2_1); if (!__pyx_mstate->__pyx_ptype_8sqlcycli_3aio_10connection_Connection) __PYX_ERR(14, 203, __pyx_L1_error)
105555
+ __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(14, 203, __pyx_L1_error)
105548
105556
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
105549
105557
  __pyx_t_1 = PyImport_ImportModule("sqlcycli.aio.pool"); if (unlikely(!__pyx_t_1)) __PYX_ERR(15, 12, __pyx_L1_error)
105550
105558
  __Pyx_GOTREF(__pyx_t_1);
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mysqlengine
3
- Version: 1.1.2
3
+ Version: 1.1.5
4
4
  Summary: A Cython-Accelerated, Pythonic MySQL ORM & Query Builder
5
5
  Home-page: https://github.com/AresJef/MysqlEngine
6
6
  Author: Jiefu Chen
@@ -16,7 +16,7 @@ Description-Content-Type: text/markdown
16
16
  License-File: LICENSE
17
17
  Requires-Dist: numpy>=1.25.2
18
18
  Requires-Dist: pandas>=2.1.0
19
- Requires-Dist: sqlcycli>=2.0.1
19
+ Requires-Dist: sqlcycli>=2.0.3
20
20
  Requires-Dist: typing-extensions>=4.9.0
21
21
  Dynamic: license-file
22
22
 
@@ -1,17 +1,17 @@
1
1
  mysqlengine/utils.pxd,sha256=cTOcpbrjNlr04WpV-2ZVi7UZV-qxDU3wkHOYJS6qCfE,20570
2
- mysqlengine/constraint.c,sha256=mj8b4O8QoGLmMzOfl21FIYVHeWaW1Pr_uDWLxo3_ol0,4431005
3
- mysqlengine/column.c,sha256=wevTJIxnrK2-2sHDoIo-eYWdpkpxMWuNnfqZxUYKXBU,7956679
4
- mysqlengine/index.cpython-311-darwin.so,sha256=xF_6eoRRmza9_UhtR-rTFl4Sf28V427ElMhEslJgrbs,1088296
2
+ mysqlengine/constraint.c,sha256=INkCkM5IM_UcpiiiN-bKcJsqYIl1yNkQ_a-A4Mv2MfA,4431143
3
+ mysqlengine/column.c,sha256=w6ON4DTioLx-jTw5fEF6UrugLj1AFqava9i6zsOnh0M,7956817
4
+ mysqlengine/index.cpython-311-darwin.so,sha256=US9ivFdU-vPK2hYcaaj2sOrmjp4xxQ3x2aGjgzDUEko,1088296
5
5
  mysqlengine/constraint.py,sha256=7gFE5QFZSBGPoquGX82aVKCxvaZtB95ATI8Zc03cSms,118385
6
- mysqlengine/element.c,sha256=I4rbDbw91ofIpjqeo3HIUeYx-UtDlRS09e_0nymkuvc,3139771
6
+ mysqlengine/element.c,sha256=MuKQmFqbM6sVWxZ1bDTMzo6ADywuGG2bTkf-HmsAI94,3139909
7
7
  mysqlengine/column.pxd,sha256=zXFIW20SrB10WEOtis4zfSjsLGD87-NIL9jSYl_hpZE,4614
8
8
  mysqlengine/table.pxd,sha256=oaqxXkl7YSgTNoAOVcL7R1gCTHT0ykLyw_NVL2DLoVY,6704
9
9
  mysqlengine/partition.py,sha256=8qMB1Ir8jjRuz6A6tqVQ2VDLfkW7pTbJA9WrBjSmIJ8,115449
10
10
  mysqlengine/constraint.pyi,sha256=5h88olpPSsB_FKc3O-b25E2ontovgGd9T08xi6RmWxQ,9413
11
- mysqlengine/table.c,sha256=pgHUhD5EWzuz6qfrxCNy5VD_7KuIjHhhxCnVNI86p_w,5833003
11
+ mysqlengine/table.c,sha256=EVTpSKWyR4IKgoVd2jDQrcQYYr_x9jSKfeF2--fxDsI,5833247
12
12
  mysqlengine/index.py,sha256=0g9tEW1lMN5YDI5coXkqE9L1yF88IFh85mDQux6IzE0,51281
13
- mysqlengine/partition.c,sha256=Zjr_sAHfuQH-1sQPKJdWWRwBgTqwutwOOA1QRiv21bQ,4663083
14
- mysqlengine/database.c,sha256=zRkwxgCUl4JwZ--aSRQfu7iLk9wcszmEeXsUth2JMtE,2707201
13
+ mysqlengine/partition.c,sha256=PRQ8F5NretPhUz4sWWL8NDak-7w39eS_HBnExfQWf7s,4663221
14
+ mysqlengine/database.c,sha256=Xp1OYxNhF9SxI6pZke10CwxMqbnkG4Cv_DV1qHkQ_LU,2707445
15
15
  mysqlengine/__init__.pxd,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  mysqlengine/database.py,sha256=GfkuW5hVw-9LLLBY4JDHqFAHhLpvRh3uza0baYWgonU,60098
17
17
  mysqlengine/constraint.pxd,sha256=jP1kxDrrbLV3c71xoxzBLUCZrPYzNeiVj87MR6lByhs,3656
@@ -20,33 +20,33 @@ mysqlengine/__init__.py,sha256=WGE5Rsl4RPXcV2H2VgFijWe-vEJ_XHb2pZdYudm-vww,2689
20
20
  mysqlengine/column.pyi,sha256=fs6QfjZzVd2DvvpV0HTkiMSiETJKj-lOcD4AJA2xUX4,22864
21
21
  mysqlengine/element.py,sha256=xWivxa2-wubj0WwGUfqHJsEndqIaeoEdgWEP6EE6Mh8,85421
22
22
  mysqlengine/utils.pyi,sha256=eV3nbosNLjBdu3cdD2g0uCPZro5J202JTWB22gW_FUg,9201
23
- mysqlengine/dml.cpython-311-darwin.so,sha256=LTg1QSo8ZcIQlJUsycM7oGe6i9idYUuA2whX_AeCmGI,2918408
23
+ mysqlengine/dml.cpython-311-darwin.so,sha256=nX2WYAGPhJNUdPAiHf22f_4FgYLgrJZZyQKO--QnIEI,2918408
24
24
  mysqlengine/database.pxd,sha256=HA13h5Zqp2IXEM6trwmWxwgz2CRBRX5OT7Qv7lV6PeI,2411
25
25
  mysqlengine/partition.pxd,sha256=PMLTAcLh-F1V2eRHuhdwy3OO8LuEdplpXx6KSxJr9rM,5115
26
- mysqlengine/partition.cpython-311-darwin.so,sha256=CLNugUVpsH7zY1O8UnAGEPhR21JtsEbkmubtZvjT5lc,1866160
26
+ mysqlengine/partition.cpython-311-darwin.so,sha256=nCNXZnhQp1kDrIjcg01aViDv3FtPcEKsPHiLXGlepEw,1866160
27
27
  mysqlengine/index.pyi,sha256=NlvNNcMpvboIGeKH5Iezy7a4Dz5yIHDTB8KAI_PhCG0,5469
28
- mysqlengine/index.c,sha256=zqVgQFOSBmkBHhWVaGIMysq4wO5BYwrhRms2ImE2yGo,2850993
28
+ mysqlengine/index.c,sha256=raOr885LEzqjkQlhip7-Wcq_MtFDSUv2ZSB0bQ3u42I,2851131
29
29
  mysqlengine/utils.c,sha256=Jpaw9i155sHO4I_wY3vA067z0zYz8n-k7-yzOzVn9V4,803078
30
- mysqlengine/utils.cpython-311-darwin.so,sha256=z-C98diZubLEUpoAV6oXGSoay6GGdcoISX_B7_WlynY,229976
30
+ mysqlengine/utils.cpython-311-darwin.so,sha256=XK9gZ9r7f_qaSfPaLBq09Idu64wrPhtGw6eyqXTzFJ8,229976
31
31
  mysqlengine/utils.py,sha256=QSpiXnLl219K13cqic4LMAhwTjTDwuMuEq72muBUaSM,5017
32
- mysqlengine/dml.pyi,sha256=7YaGQmehsxNiRj7eCvBt_IpveIKBf5RLJI_MSELmmDA,23535
32
+ mysqlengine/dml.pyi,sha256=aNQelx2q3ky_WgmAscaKbHboh7VM88GEBnvc6yzyFZY,23599
33
33
  mysqlengine/table.py,sha256=antXFoDr2TzP-x-6nTWykX7-4KUHnmCYFeInYb4YIqo,177466
34
34
  mysqlengine/errors.py,sha256=z3qb5UbQEXsPdPSdhfnVYNtgZxwys8a6wvApdmcSPsc,8215
35
35
  mysqlengine/element.pxd,sha256=MFXtSuy6rLjna5PooIvx-8trGP-9oatsf7rhe6mYfxw,7390
36
- mysqlengine/dml.pxd,sha256=EPkniXh7JSsyWJ5H5zkQ0h63KP_HbRKKm4naAfGiOCo,15187
37
- mysqlengine/dml.c,sha256=U0XmWWhj0Slfcl-biNm5-qM6Y6dEXZnz6SmDJNEW0rI,7068299
38
- mysqlengine/dml.py,sha256=LwRAXPcvWQlpdlDSKs45PXNQWee8Ep2gcadFzBFyNus,356150
39
- mysqlengine/table.cpython-311-darwin.so,sha256=PNONUUlANxs6bR-BuIZj_4w5xIt3O-rNg5giWY5l9e4,2318600
36
+ mysqlengine/dml.pxd,sha256=80r9Tiu6MBd08ClV-f4bykQMPcC-_JLh2dYTmZ_5TYE,15223
37
+ mysqlengine/dml.c,sha256=5mSR0Q5yKvHdSll8G-iSLnXyCD7H3Ta6XQfJoU9JYaM,7094007
38
+ mysqlengine/dml.py,sha256=fPPhEaY6UBqWGfQgnRrODbUdk2YuekJyruP0ZBrAMfU,358058
39
+ mysqlengine/table.cpython-311-darwin.so,sha256=3p01katPqyjg_xtiSRSKja-TVMMr5zPHUovBgU_tdho,2318600
40
40
  mysqlengine/index.pxd,sha256=LuNdCyLXZeDGAmEZ_vPno-9TG_6fd5wMJkGQXgFXYxc,2288
41
- mysqlengine/constraint.cpython-311-darwin.so,sha256=oHxNHC-B9T4-sh8DTAec34zeucwf1MYmL8Q9Abh4DRE,1808656
41
+ mysqlengine/constraint.cpython-311-darwin.so,sha256=F6G5k0QKMrK8oMe7W4CdvshVu4ssioBSVJQtTayYm-c,1808656
42
42
  mysqlengine/column.py,sha256=Z2qh-xv0Mopoqr0pDcTvIp0FNECbB9vsvEhC5Z1pMo4,207156
43
- mysqlengine/element.cpython-311-darwin.so,sha256=6A8pO3suuqozd86C8q75U_YG08PGJisel0lkUtjqrQQ,1188064
43
+ mysqlengine/element.cpython-311-darwin.so,sha256=Avn4tuw-naqaiSrlWVnremyY4sa4HLzPwcZIiSkMh1s,1188064
44
44
  mysqlengine/database.pyi,sha256=52NBXA0AysYmq1ixblkTR2911ehgryoLZTyoDUopU2A,5097
45
45
  mysqlengine/partition.pyi,sha256=FQ8SmroQ4BFPnKhNk8wLMyKDMHl7YyMIyvVpsztw-e0,8786
46
- mysqlengine/database.cpython-311-darwin.so,sha256=3kvfKMwiIVishnbWTyAPLvxgNbWFh97l2DKDSRfX838,920576
47
- mysqlengine/column.cpython-311-darwin.so,sha256=E2cPcrvpYtTDylOIbxiE3f-FxfSafqlFGdnBoqp52A0,3132896
48
- mysqlengine-1.1.2.dist-info/RECORD,,
49
- mysqlengine-1.1.2.dist-info/WHEEL,sha256=EOGtw-LpzLQPCSF3QP-yT4xdfA0v97p09Et-l29cEBs,114
50
- mysqlengine-1.1.2.dist-info/top_level.txt,sha256=WSdkY5_BsytOI3l-Gt-lRq2R-SYHMPYHV8zJICB79_Y,12
51
- mysqlengine-1.1.2.dist-info/METADATA,sha256=MA7HQVOMT5aNFUW8VGeEEK2H7D5_Fye5kbJj5SgIUL4,7922
52
- mysqlengine-1.1.2.dist-info/licenses/LICENSE,sha256=JhlhA0azh7jMOTVMYyfKoEj5dFIKd4N6aJ-g_cy7Q-Y,1082
46
+ mysqlengine/database.cpython-311-darwin.so,sha256=bzr2FcWnaHc55h16eZ_dD1_iXB6dl5fbDGu8wJ18N6k,920576
47
+ mysqlengine/column.cpython-311-darwin.so,sha256=5sHgol55NycQhkYV9UB0-KHsY0qIpZgrLQx6mJkKaYc,3132896
48
+ mysqlengine-1.1.5.dist-info/RECORD,,
49
+ mysqlengine-1.1.5.dist-info/WHEEL,sha256=EOGtw-LpzLQPCSF3QP-yT4xdfA0v97p09Et-l29cEBs,114
50
+ mysqlengine-1.1.5.dist-info/top_level.txt,sha256=WSdkY5_BsytOI3l-Gt-lRq2R-SYHMPYHV8zJICB79_Y,12
51
+ mysqlengine-1.1.5.dist-info/METADATA,sha256=knK_yNCyIMJQRW-WGHSs8W_aQmQtV5X0mxvd_OwYxos,7922
52
+ mysqlengine-1.1.5.dist-info/licenses/LICENSE,sha256=JhlhA0azh7jMOTVMYyfKoEj5dFIKd4N6aJ-g_cy7Q-Y,1082