mirror of https://github.com/apache/cassandra
Follow-up to CASSANDRA-5052
This commit is contained in:
parent
fa29f412b1
commit
0e03790059
|
|
@ -53,7 +53,7 @@ public class CliUtils
|
|||
|
||||
public static String maybeEscapeName(String name)
|
||||
{
|
||||
return name.charAt(0) == '_' ? "\'" + name + "\'" : name;
|
||||
return Character.isLetter(name.charAt(0)) ? name : "\'" + name + "\'";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue