mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 812627 - Use the proper db connection when retrieving the last insert ID for downloads. r=mak
This commit is contained in:
parent
04326b49a5
commit
44cc635a2c
@ -883,7 +883,7 @@ nsDownloadManager::AddDownloadToDB(const nsAString &aName,
|
||||
NS_ENSURE_SUCCESS(rv, 0);
|
||||
|
||||
int64_t id = 0;
|
||||
rv = mDBConn->GetLastInsertRowID(&id);
|
||||
rv = dbConn->GetLastInsertRowID(&id);
|
||||
NS_ENSURE_SUCCESS(rv, 0);
|
||||
|
||||
aNewGUID = guid;
|
||||
|
Loading…
Reference in New Issue
Block a user