fixed amb692, sqlite crashed on GetString
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401230
This commit is contained in:
parent
ca4523b515
commit
7794209086
@ -245,7 +245,7 @@ DBResult SqResults::GetString(unsigned int columnId, const char **pString, size_
|
|||||||
ptr = "";
|
ptr = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (*pString)
|
if (pString)
|
||||||
{
|
{
|
||||||
*pString = ptr;
|
*pString = ptr;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user