Return an empty meta object instead of None.

Patch by Mikhail Stepura; reviewed by Brandon Williams for CASSANDRA-6741
This commit is contained in:
Mikhail Stepura 2014-02-19 14:32:04 -08:00
parent ddaddf636c
commit ce2bbcbf02
1 changed files with 1 additions and 1 deletions

View File

@ -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)