Incorrect string reset in DBSource::GetValue() fixed
This commit is contained in:
parent
67a6fd18e4
commit
0e844cd5e4
@ -251,7 +251,7 @@ bool ZRCola::DBSource::GetValue(const ATL::CComPtr<ADOField>& f, wstring& val) c
|
||||
val.reserve(::SysStringLen(V_BSTR(&v)));
|
||||
val = V_BSTR(&v);
|
||||
} else
|
||||
val.empty();
|
||||
val.clear();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user