Closed
Bug 483152
Opened 15 years ago
Closed 15 years ago
Stop giving the ability to get the native sqlite3_stmt pointer
Categories
(Toolkit :: Storage, defect)
Toolkit
Storage
Tracking
()
RESOLVED
FIXED
mozilla1.9.2a1
People
(Reporter: sdwilsh, Assigned: sdwilsh)
References
Details
Attachments
(1 file)
5.55 KB,
patch
|
asuth
:
review+
|
Details | Diff | Splinter Review |
We don't need to do this, and with it, someone could mess up our internal state of mozStorageStatement. This method should be culled from the idl (mozIStorageStatement).
Assignee | ||
Updated•15 years ago
|
Whiteboard: [good first bug]
Assignee | ||
Comment 1•15 years ago
|
||
Eh, this won't be trivial to do, but will still be nice to do.
Whiteboard: [good first bug]
Assignee | ||
Comment 2•15 years ago
|
||
Assignee | ||
Updated•15 years ago
|
Whiteboard: [needs review asuth]
Updated•15 years ago
|
Attachment #367320 -
Flags: review?(bugmail) → review+
Comment 3•15 years ago
|
||
Comment on attachment 367320 [details] [diff] [review] v1.0 >diff --git a/storage/src/mozStorageStatementWrapper.h b/storage/src/mozStorageStatementWrapper.h > protected: > sqlite3_stmt* NativeStatement() { >- return mStatement->GetNativeStatementPointer(); >+ return mStatement->nativeStatement(); > } Why does this NativeStatement escape your lower-casing wrath? Planning to remove the function entirely later with a mod to mozStorageStatementWrapper:Initialize to use getColumnName so it is no longer used?
Updated•15 years ago
|
Whiteboard: [needs review asuth] → [has review]
Assignee | ||
Comment 4•15 years ago
|
||
(In reply to comment #3) > Why does this NativeStatement escape your lower-casing wrath? Planning to > remove the function entirely later with a mod to > mozStorageStatementWrapper:Initialize to use getColumnName so it is no longer > used? Yeah - I didn't want to create too much code churn all at once.
Assignee | ||
Updated•15 years ago
|
Whiteboard: [has review]
Target Milestone: --- → mozilla1.9.2a1
Assignee | ||
Comment 5•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/b48482c54995
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•