scylladb / scylla-cqlsh

A fork of the cqlsh code
Apache License 2.0
16 stars 30 forks source link

`COPY TO STDOUT` shouldn't put None where a function is expected #70

Closed fruch closed 7 months ago

fruch commented 7 months ago

using the command was failing like the following

cassandra@cqlsh> COPY system_schema.tables TO STDOUT ;
'NoneType' object is not callable
cassandra@cqlsh>

the logic was not working as expected, and self.printmsg was assigned with None

Ref: scylladb/scylla-enterprise#3940