Update system/database/DB_result.php

Added two functions map_array($key_field, $value_field) and map($key_field, $value_field)
that return a map (dictionary<key,value>) from the result set