mirror of https://github.com/apache/cassandra
Use 'text' formatter for 'ascii' values
patch by Mikhail Stepura; reviewed by Brandon Williams for CASSANDRA-7407
This commit is contained in:
parent
b25ddd8a7f
commit
ba103ebb3f
|
|
@ -1,4 +1,5 @@
|
||||||
1.2.17
|
1.2.17
|
||||||
|
* cqlsh: 'ascii' values weren't formatted as text (CASSANDRA-7407)
|
||||||
* cqlsh: ignore .cassandra permission errors (CASSANDRA-7266)
|
* cqlsh: ignore .cassandra permission errors (CASSANDRA-7266)
|
||||||
* Errors in FlushRunnable may leave threads hung (CASSANDRA-7275)
|
* Errors in FlushRunnable may leave threads hung (CASSANDRA-7275)
|
||||||
* reduce failure detector initial value to 2s (CASSANDRA-7307)
|
* reduce failure detector initial value to 2s (CASSANDRA-7307)
|
||||||
|
|
|
||||||
|
|
@ -191,6 +191,7 @@ def format_value_text(val, encoding, colormap, quote=False, **_):
|
||||||
|
|
||||||
# name alias
|
# name alias
|
||||||
formatter_for('varchar')(format_value_text)
|
formatter_for('varchar')(format_value_text)
|
||||||
|
formatter_for('ascii')(format_value_text)
|
||||||
|
|
||||||
def format_simple_collection(subtype, val, lbracket, rbracket, encoding,
|
def format_simple_collection(subtype, val, lbracket, rbracket, encoding,
|
||||||
colormap, time_format, float_precision, nullval):
|
colormap, time_format, float_precision, nullval):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue