Fixed index info retrieval

This commit is contained in:
Jim Menard 2008-12-08 08:33:29 -05:00
parent d8238536bb
commit 067ec66812

View File

@ -131,7 +131,7 @@ module XGen
h = {:name => row['name']}
raise "Name of index on return from db was nil. Coll = #{full_coll_name(collection)}" unless h[:name]
h[:keys] = row['keys']
h[:keys] = row['key']
raise "Keys for index on return from db was nil. Coll = #{full_coll_name(collection)}" unless h[:keys]
h[:ns] = row['ns']