Closed Bug 289050 Opened 20 years ago Closed 20 years ago

mPosition incremented incorrectly

Categories

(Core Graveyard :: SQL, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: lvcipriani, Assigned: lvcipriani)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2

In the file mozilla/extensions/sql/base/src/mozSqlResult.cpp at line 2221 there
is an extra semicolon:

  if (NS_SUCCEEDED(rv));
    mPosition += aCount;

should be:

  if (NS_SUCCEEDED(rv))
    mPosition += aCount;


Reproducible: Always
Assignee: general → jan
Component: General → SQL
Product: Mozilla Application Suite → Core
QA Contact: general → irixman+bugzilla
Version: unspecified → Trunk
Attached patch Reporter's patchSplinter Review
Attachment #183513 - Flags: review?(jan)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment on attachment 183513 [details] [diff] [review]
Reporter's patch

thanks for the fix
Attachment #183513 - Flags: review?(jan) → review+
Comment on attachment 183513 [details] [diff] [review]
Reporter's patch

Requesting trunk approval
Attachment #183513 - Flags: superreview+
Attachment #183513 - Flags: approval1.8b2?
Comment on attachment 183513 [details] [diff] [review]
Reporter's patch

a=shaver (npotb anyway).
Attachment #183513 - Flags: approval1.8b2? → approval1.8b2+
Assignee: jan → lvcipriani
Fix checked in for 1.8b2
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: