Basically, all lua tables will have keys that are equal to their DB table names and their data will have a key that contains the row data in a tab delimited format.
Note: This is still a work in progress and some things need to be revisited... i.e. collect_merchant.lua, since we want to extract the currency id from the currency link... no documentation is thus far found for what the type part of a currency link is, so we're going to collect a little data and see.
Put all session info into a tab delimited string containing, in order, svnversion (QH build), realm, buildInfo (WoW version), locale and faction. This string is inserted into a sub-table of QuestHelper_Collector called sessions, with a key of session time.
Put all data into a sub-table of QuestHelper_Collector called data.
Creates session data table on the new data sub-table and sets the key to session time.
QH_Collector_SetupData now returns QuestHelper_Collector.data[sessiontime]
Changed Collector Current Version to 9... This might be useful for future changes to data layout.
Modified collect_location
Made BolusizeLocation accept the right arguments.
Calculated the distance from either Azeroth map center or Outland map center to the provided point for inclusion. (See comments in code for what is collected and why.)
Converted the information into a string. If we couldn't compute a distance to either map center, we leave it out for now, since we are probably in an instance.
I implemented a QuestHelper_GetTime function for the next time Blizzard decides to fiddle with the time functions. It returns debugprofilestop() / 1000, to exactly match the precision of GetTime().
I also re-removed references to Cartographer from the rollback.