singlestoredb 0.8.3__cp36-abi3-macosx_10_9_universal2.whl → 0.8.5__cp36-abi3-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.
Potentially problematic release.
This version of singlestoredb might be problematic. Click here for more details.
- _singlestoredb_accel.abi3.so +0 -0
- singlestoredb/__init__.py +1 -1
- singlestoredb/connection.py +1 -1
- singlestoredb/http/connection.py +1 -1
- singlestoredb/tests/test_connection.py +10 -10
- {singlestoredb-0.8.3.dist-info → singlestoredb-0.8.5.dist-info}/METADATA +1 -1
- {singlestoredb-0.8.3.dist-info → singlestoredb-0.8.5.dist-info}/RECORD +10 -10
- {singlestoredb-0.8.3.dist-info → singlestoredb-0.8.5.dist-info}/LICENSE +0 -0
- {singlestoredb-0.8.3.dist-info → singlestoredb-0.8.5.dist-info}/WHEEL +0 -0
- {singlestoredb-0.8.3.dist-info → singlestoredb-0.8.5.dist-info}/top_level.txt +0 -0
_singlestoredb_accel.abi3.so
CHANGED
|
Binary file
|
singlestoredb/__init__.py
CHANGED
singlestoredb/connection.py
CHANGED
|
@@ -96,7 +96,7 @@ def cast_bool_param(val: Any) -> bool:
|
|
|
96
96
|
if val.lower() in ['on', 't', 'true', 'y', 'yes', 'enabled', 'enable']:
|
|
97
97
|
return True
|
|
98
98
|
elif val.lower() in ['off', 'f', 'false', 'n', 'no', 'disabled', 'disable']:
|
|
99
|
-
return
|
|
99
|
+
return False
|
|
100
100
|
|
|
101
101
|
raise ValueError('Unrecognized value for bool: {}'.format(val))
|
|
102
102
|
|
singlestoredb/http/connection.py
CHANGED
|
@@ -457,7 +457,7 @@ class Cursor(connection.Cursor):
|
|
|
457
457
|
|
|
458
458
|
self._expect_results = False
|
|
459
459
|
sql_type = 'exec'
|
|
460
|
-
if re.match(r'^\s*(select|show|call|echo)\s+', oper, flags=re.I):
|
|
460
|
+
if re.match(r'^\s*(select|show|call|echo|describe)\s+', oper, flags=re.I):
|
|
461
461
|
self._expect_results = True
|
|
462
462
|
sql_type = 'query'
|
|
463
463
|
|
|
@@ -76,16 +76,16 @@ class TestConnection(unittest.TestCase):
|
|
|
76
76
|
assert cbp('enable') is True, cbp('enable')
|
|
77
77
|
assert cbp('enabled') is True, cbp('enabled')
|
|
78
78
|
|
|
79
|
-
assert cbp('false') is
|
|
80
|
-
assert cbp('f') is
|
|
81
|
-
assert cbp('False') is
|
|
82
|
-
assert cbp('F') is
|
|
83
|
-
assert cbp('FALSE') is
|
|
84
|
-
|
|
85
|
-
assert cbp('off') is
|
|
86
|
-
assert cbp('no') is
|
|
87
|
-
assert cbp('disable') is
|
|
88
|
-
assert cbp('disabled') is
|
|
79
|
+
assert cbp('false') is False, cbp('false')
|
|
80
|
+
assert cbp('f') is False, cbp('f')
|
|
81
|
+
assert cbp('False') is False, cbp('False')
|
|
82
|
+
assert cbp('F') is False, cbp('F')
|
|
83
|
+
assert cbp('FALSE') is False, cbp('FALSE')
|
|
84
|
+
|
|
85
|
+
assert cbp('off') is False, cbp('off')
|
|
86
|
+
assert cbp('no') is False, cbp('no')
|
|
87
|
+
assert cbp('disable') is False, cbp('disable')
|
|
88
|
+
assert cbp('disabled') is False, cbp('disabled')
|
|
89
89
|
|
|
90
90
|
with self.assertRaises(ValueError):
|
|
91
91
|
cbp('nein')
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
_singlestoredb_accel.abi3.so,sha256=
|
|
2
|
-
singlestoredb-0.8.
|
|
3
|
-
singlestoredb-0.8.
|
|
4
|
-
singlestoredb-0.8.
|
|
5
|
-
singlestoredb-0.8.
|
|
6
|
-
singlestoredb-0.8.
|
|
1
|
+
_singlestoredb_accel.abi3.so,sha256=ja0-l0cebGvGcFdL51Xsgh3CXmRIfADIk0CIyvM6W_Y,155053
|
|
2
|
+
singlestoredb-0.8.5.dist-info/RECORD,,
|
|
3
|
+
singlestoredb-0.8.5.dist-info/LICENSE,sha256=Mlq78idURT-9G026aMYswwwnnrLcgzTLuXeAs5hjDLM,11341
|
|
4
|
+
singlestoredb-0.8.5.dist-info/WHEEL,sha256=L_8uSJgNH7VmiqwHcew_IFGyTcruK-C2YxnyqVh4uE0,113
|
|
5
|
+
singlestoredb-0.8.5.dist-info/top_level.txt,sha256=SDtemIXf-Kp-_F2f_S6x0db33cHGOILdAEsIQZe2LZc,35
|
|
6
|
+
singlestoredb-0.8.5.dist-info/METADATA,sha256=xO3r1oS3zO0MvrJgdd7eEceRxjbrILieB-f2Rzs8Vc0,7606
|
|
7
7
|
singlestoredb/auth.py,sha256=u8D9tpKzrqa4ssaHjyZnGDX1q8XBpGtuoOkTkSv7B28,7599
|
|
8
8
|
singlestoredb/config.py,sha256=mOFIvpyAj09GPgnh_PyEUpq1s05RsBOkQRECEUWD3Lg,6785
|
|
9
|
-
singlestoredb/__init__.py,sha256=
|
|
9
|
+
singlestoredb/__init__.py,sha256=YkklYpURD5rQDACXE7IRn4ajmQLhiCmlTGPAn2Ean9c,877
|
|
10
10
|
singlestoredb/types.py,sha256=FIqO1A7e0Gkk7ITmIysBy-P5S--ItbMSlYvblzqGS30,9969
|
|
11
|
-
singlestoredb/connection.py,sha256=
|
|
11
|
+
singlestoredb/connection.py,sha256=cYOfrLODKXGNr0Eq4Hqh_qFhdjb5cpciR7TTQXa4bMk,43850
|
|
12
12
|
singlestoredb/exceptions.py,sha256=HiHRMO36MT06RM-LfURlA6AadCiQtnOodxJtZorKJzU,2459
|
|
13
13
|
singlestoredb/converters.py,sha256=aH_QhLr94i9_AjvcplTar0HfX2yi53KGxHHzJc7lSU0,12515
|
|
14
14
|
singlestoredb/tests/test.sql,sha256=wobtFAT0l9mf0EV_BQhhNeIaGJvCP4w2qbJQ5uS7e_8,9030
|
|
15
15
|
singlestoredb/tests/test_xdict.py,sha256=fqHspoi39nbX3fIDVkkRXcd5H50xdOsSvK0bxAMQnaE,10408
|
|
16
16
|
singlestoredb/tests/test_results.py,sha256=5S4M6gK69HZnYV7O9I2Onx9gfZpUi52RD4Jm7ETahxo,6582
|
|
17
17
|
singlestoredb/tests/test_basics.py,sha256=4sTZ5bq3LQxGI-AhbqCAZ1VUSYxLSbfUKGLfbHrsztg,43652
|
|
18
|
-
singlestoredb/tests/test_connection.py,sha256=
|
|
18
|
+
singlestoredb/tests/test_connection.py,sha256=RiE_NATLYPiMR5jWaBlcP5YddwitS6dzOHOVVOVXCSI,50741
|
|
19
19
|
singlestoredb/tests/test_exceptions.py,sha256=tfr_8X2w1UmG4nkSBzWGB0C7ehrf1GAVgj6_ODaG-TM,1131
|
|
20
20
|
singlestoredb/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
21
|
singlestoredb/tests/test_management.py,sha256=bLCmRJcHbkOZLIc7vZYLrSHzamn66d_bdn-Ez3nKRMs,9795
|
|
@@ -39,7 +39,7 @@ singlestoredb/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
|
|
|
39
39
|
singlestoredb/utils/xdict.py,sha256=S9HKgrPrnu_6b7iOwa2KrW8CmU1Uqx0BWdEyogFzWbE,12896
|
|
40
40
|
singlestoredb/utils/debug.py,sha256=0JiLA37u_9CKiDGiN9BK_PtFMUku3vIcNjERWaTNRSU,349
|
|
41
41
|
singlestoredb/http/__init__.py,sha256=A_2ZUCCpvRYIA6YDpPy57wL5R1eZ5SfP6I1To5nfJ2s,912
|
|
42
|
-
singlestoredb/http/connection.py,sha256=
|
|
42
|
+
singlestoredb/http/connection.py,sha256=OcgrfldkUQaC9h2Vzz0oaPrkaoDf_WWTqc6PSPeZdUQ,32305
|
|
43
43
|
singlestoredb/mysql/protocol.py,sha256=F7OImNQtumq4oNcNHAHo5H6Nj0oTvJhnM7w75U995Cc,12081
|
|
44
44
|
singlestoredb/mysql/cursors.py,sha256=aWs4AzmeZJJltOmUU3GZNBWgod9nqnnFW5OHVquz5t0,21246
|
|
45
45
|
singlestoredb/mysql/__init__.py,sha256=rrpuvKqM8HTGYtlFnQQjRvRWGF52fOrvWM5mnPFhyI8,4363
|
|
File without changes
|
|
File without changes
|
|
File without changes
|