Repository: cassandra Updated Branches: refs/heads/trunk 916e57b4a -> e4c99d67e
Return an empty meta object instead of None. Patch by Mikhail Stepura; reviewed by Brandon Williams for CASSANDRA-6741 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/ce2bbcbf Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/ce2bbcbf Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/ce2bbcbf Branch: refs/heads/trunk Commit: ce2bbcbf02fc19ade198c8444289cd7a805f8dc2 Parents: ddaddf6 Author: Mikhail Stepura <mish...@apache.org> Authored: Wed Feb 19 14:32:04 2014 -0800 Committer: Mikhail Stepura <mish...@apache.org> Committed: Wed Feb 19 14:43:14 2014 -0800 ---------------------------------------------------------------------- bin/cqlsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/ce2bbcbf/bin/cqlsh ---------------------------------------------------------------------- diff --git a/bin/cqlsh b/bin/cqlsh index b0128e7..ef08dab 100755 --- a/bin/cqlsh +++ b/bin/cqlsh @@ -722,7 +722,7 @@ class Shell(cmd.Cmd): self.cursor.execute(ut_q, consistency_level='ONE') data = self.fetchdict_all() if not data: - return None + return cql3handling.UserTypesMeta({}) return cql3handling.UserTypesMeta.from_layout(data)