Fixed index info retrieval

This commit is contained in:
Jim Menard 2008-12-08 08:33:29 -05:00
parent d8238536bb
commit 067ec66812
1 changed files with 1 additions and 1 deletions

View File

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