oracle is a real bastard - basically, because SQLT_INT is the only numeric return type and the rest are chars, this is a fast fix...the proper way would be to have it return SQLT_NUM (a char array) and convert accordingly

This commit is contained in:
DarthArgus
2017-01-17 04:27:50 +00:00
parent cb2fd72fd2
commit 268bf22b45
2 changed files with 2 additions and 2 deletions
@@ -39,7 +39,7 @@ bool CharacterNameLocator::locateObjects(DB::Session *session, const std::string
break;
m_characterIds.push_back(i->character_id.getValue());
m_stationIds.push_back(i->character_station_id.getValue());
m_stationIds.push_back(static_cast<int>(i->character_station_id.getValue()));
m_characterNames.push_back(i->character_name.getValueASCII());
m_characterFullNames.push_back(i->character_full_name.getValueASCII());
m_characterCreateTime.push_back(i->character_create_time.getValue() + (7 * 60 * 60));
@@ -32,7 +32,7 @@ class CharacterNameLocator : public ObjectLocator
struct CharacterNameRow
{
DB::BindableNetworkId character_id;
DB::BindableLong character_station_id;
DB::BindableInt64 character_station_id;
DB::BindableString<127> character_name;
DB::BindableString<127> character_full_name;
DB::BindableLong character_create_time;