Closed Bug 476634 Opened 16 years ago Closed 16 years ago

Storage template builder can't handle 64 bit integers

Categories

(Core :: XUL, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.2a1

People

(Reporter: mossop, Assigned: mossop)

References

Details

Attachments

(1 file, 1 obsolete file)

When the template builder encounters an integer in the result set it retrieves it as a 32 bit integer, truncating what may be a 64 bit integer.
Attached patch untested patch (obsolete) (deleted) — Splinter Review
Ought to cover it
Attached patch with tests (deleted) — Splinter Review
Adds tests. We cannot test the largest 64 bit integers because JS can't handle them exactly, which perhaps might argue that supporting 64-bit is unnecessary, but I don't think so.
Assignee: nobody → dtownsend
Attachment #360299 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #360501 - Flags: review?
Attachment #360501 - Flags: review? → review?(enndeakin)
Comment on attachment 360501 [details] [diff] [review] with tests Looks OK, but it would be good to put the tests in the same directory as bug 378893.
Attachment #360501 - Flags: review?(enndeakin) → review+
Not sure I understand, the tests are in the same directory, except that that directory doesn't exist yet since that bug isn't fixed.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2a1
Depends on: 483607
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: