scylla-cqlsh 6.0.23__cp37-cp37m-macosx_10_9_x86_64.whl → 6.0.25__cp37-cp37m-macosx_10_9_x86_64.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 scylla-cqlsh might be problematic. Click here for more details.

Binary file
cqlsh/cqlsh.py CHANGED
@@ -32,6 +32,7 @@ import sys
32
32
  import traceback
33
33
  import warnings
34
34
  import webbrowser
35
+ import logging
35
36
  from contextlib import contextmanager
36
37
  from glob import glob
37
38
  from io import StringIO
@@ -201,6 +202,8 @@ parser.add_option('-k', '--keyspace', help='Authenticate to the given keyspace.'
201
202
  parser.add_option("-f", "--file", help="Execute commands from FILE, then exit")
202
203
  parser.add_option('--debug', action='store_true',
203
204
  help='Show additional debugging information')
205
+ parser.add_option('--driver-debug', action='store_true',
206
+ help='Show additional driver debugging information')
204
207
  parser.add_option('--coverage', action='store_true',
205
208
  help='Collect coverage data')
206
209
  parser.add_option("--encoding", help="Specify a non-default encoding for output."
@@ -2472,7 +2475,7 @@ def read_options(cmdlineargs, environment):
2472
2475
  optvalues.timezone = option_with_default(configs.get, 'ui', 'timezone', None)
2473
2476
 
2474
2477
  optvalues.debug = False
2475
-
2478
+ optvalues.driver_debug = False
2476
2479
  optvalues.coverage = False
2477
2480
  if 'CQLSH_COVERAGE' in environment.keys():
2478
2481
  optvalues.coverage = True
@@ -2625,6 +2628,11 @@ def save_history():
2625
2628
 
2626
2629
 
2627
2630
  def main(options, hostname, port):
2631
+ if options.driver_debug:
2632
+ logging.basicConfig(level=logging.DEBUG, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s",
2633
+ stream=sys.stdout)
2634
+ logging.getLogger("cassandra").setLevel(logging.DEBUG)
2635
+
2628
2636
  setup_cqlruleset(options.cqlmodule)
2629
2637
  setup_cqldocs(options.cqlmodule)
2630
2638
  init_history()
cqlshlib/_version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # file generated by setuptools_scm
2
2
  # don't change, don't track in version control
3
- __version__ = version = '6.0.23'
4
- __version_tuple__ = version_tuple = (6, 0, 23)
3
+ __version__ = version = '6.0.25'
4
+ __version_tuple__ = version_tuple = (6, 0, 25)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: scylla-cqlsh
3
- Version: 6.0.23
3
+ Version: 6.0.25
4
4
  Summary: cqlsh is a Python-based command-line client for running CQL commands on a scylla cluster.
5
5
  Home-page: https://github.com/scylladb/scylla-cqlsh
6
6
  Author: Israel Fruchter
@@ -1,10 +1,10 @@
1
- copyutil.cpython-37m-darwin.so,sha256=MtibXm4JzPGaHN1WDF1QF71fORB2cvTdjDKNlxluAiI,1444576
1
+ copyutil.cpython-37m-darwin.so,sha256=hH6Bh9fwlKhHCs4Y25fU3stLfk6FM7NqG68x2EMmcX0,1444576
2
2
  cqlshlib/authproviderhandling.py,sha256=p4r_sk64AC5eiv__n-gjwQk2Ni_CcK6lyAWSKEcgINs,7078
3
3
  cqlshlib/cqlshhandling.py,sha256=BUu9wi7H1Xgil9lci-48TCPQ1xwe2-OTNXsW7jiewlM,10510
4
4
  cqlshlib/tracing.py,sha256=ct7siXwNMINjGVXn9qr5h7XhDDM6Bi1uLljPUtcve-A,3403
5
5
  cqlshlib/sslhandling.py,sha256=TtEib4N-BuL2KZJiGYijc9DQviYp2lzYlwLj4RLp0oQ,4649
6
6
  cqlshlib/saferscanner.py,sha256=T4eSYVWuZf4piTS9PgHjFhuY6g1fOb4VVa1Bu4Y1v_I,3539
7
- cqlshlib/_version.py,sha256=cqYMLkv5_z1maaWBc9LTdYHFn6SGQvwUP4fSd4NyX1k,162
7
+ cqlshlib/_version.py,sha256=lSTEZwHrhCcKby3Z5ofLtvdE-usle2xGZ3YZWOCfaQI,162
8
8
  cqlshlib/wcwidth.py,sha256=PsbF7OaDlLItaiV6niu8F_OOgVYLJo0Ypb5-cOJV3QY,15865
9
9
  cqlshlib/displaying.py,sha256=bsA7T4BwQHgtH4jzCJeU3JrpgMT5k0xZ7EA2AnhYG7g,3977
10
10
  cqlshlib/util.py,sha256=qWQmq9v28vZwZ4apzK0-UQOYPIW3TMk-Jq9I69LbW0k,5057
@@ -15,12 +15,12 @@ cqlshlib/copyutil.py,sha256=mORX85C5CFqNSIoElATn4vKjUaCdUL8td5blyXlFDHI,113415
15
15
  cqlshlib/helptopics.py,sha256=bBPtNHn2ySgO9K4nFBpJw2gcibryIdRh7dm3b9TUubQ,4524
16
16
  cqlshlib/pylexotron.py,sha256=QY3nZ-fP-yGFIixMV33IgMlKV8A51AxnNYya0PGZc6I,19273
17
17
  cqlshlib/cql3handling.py,sha256=cAE_UW8sg4UJ8PjS5rbbZn-O3_L9m2297Or-8f2s72Y,59123
18
- scylla_cqlsh-6.0.23.dist-info/RECORD,,
19
- scylla_cqlsh-6.0.23.dist-info/WHEEL,sha256=HS_2vgrXyXO7N4Q-5VnuMAgG-fG_r8eemMgfU9Aw3Kk,110
20
- scylla_cqlsh-6.0.23.dist-info/entry_points.txt,sha256=oE4unqgR3WwNkCJDGlMG1HYtCE3nEZZ4d9CIl-JSZyQ,46
21
- scylla_cqlsh-6.0.23.dist-info/top_level.txt,sha256=PVG-5w7PDG3FoAJH6Rq2I8C0y4cKa2KOW75GxjHkmQ4,24
22
- scylla_cqlsh-6.0.23.dist-info/LICENSE.txt,sha256=JAuKOf39K9OzU5wC40RmM0iE_ISwVrV_BunaNTI-zZc,11360
23
- scylla_cqlsh-6.0.23.dist-info/METADATA,sha256=iNTTn_nglSMJ9uz2tDw35_Sr5BXxcUJDhndKIVvJfFs,3047
24
- cqlsh/cqlsh.py,sha256=GzQsu02VPLdcnIvkr9mXjHKMTMOh2YbybxH_WiBnMv4,112803
18
+ scylla_cqlsh-6.0.25.dist-info/RECORD,,
19
+ scylla_cqlsh-6.0.25.dist-info/WHEEL,sha256=HS_2vgrXyXO7N4Q-5VnuMAgG-fG_r8eemMgfU9Aw3Kk,110
20
+ scylla_cqlsh-6.0.25.dist-info/entry_points.txt,sha256=oE4unqgR3WwNkCJDGlMG1HYtCE3nEZZ4d9CIl-JSZyQ,46
21
+ scylla_cqlsh-6.0.25.dist-info/top_level.txt,sha256=PVG-5w7PDG3FoAJH6Rq2I8C0y4cKa2KOW75GxjHkmQ4,24
22
+ scylla_cqlsh-6.0.25.dist-info/LICENSE.txt,sha256=JAuKOf39K9OzU5wC40RmM0iE_ISwVrV_BunaNTI-zZc,11360
23
+ scylla_cqlsh-6.0.25.dist-info/METADATA,sha256=ZHDuXeJoGxyWw7ALvvSjXsBrKbbrsFZ13cm_gP0qISY,3047
24
+ cqlsh/cqlsh.py,sha256=sWvoOFumWrjpO5TYggat54o-sJjBOZjgAg6rwB_7s0U,113232
25
25
  cqlsh/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
26
26
  cqlsh/__main__.py,sha256=-IR7kYVwXf9uq9OBeVlAB5I386E1N9iEhrjn3sCw-74,220