[GB.DB.SQLITE3]
* BUG: Fix a crash introduced by the previous fix. git-svn-id: svn://localhost/gambas/trunk@5545 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
a8915f2700
commit
d446e2453f
1 changed files with 2 additions and 1 deletions
|
@ -334,7 +334,8 @@ static int do_query(DB_DATABASE *db, const char *error, Dataset **pres, const ch
|
|||
|
||||
if (success)
|
||||
{
|
||||
*pres = res;
|
||||
if (pres)
|
||||
*pres = res;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue