Closed Bug 409386 Opened 16 years ago Closed 16 years ago
Storage Argv Value Array::Get String returns wrong length
Function mozStorageArgvValueArray::GetString in storage/mozStorageValueArray.cpp assigns a value to nsAString & retval and sets the length to the number of bytes read from database. However, the length in bytes should be divided by 2 as can be seen in mozStorageStatementRowValueArray::GetString. This function will probably be used in bug #385245, so I'm adding a dependency.
Comment on attachment 294206 [details] [diff] [review] Fix the returned length r=sdwilsh
Thanks for the patch! Checking in storage/src/mozStorageValueArray.cpp; /cvsroot/mozilla/storage/src/mozStorageValueArray.cpp,v <-- mozStorageValueArray.cpp new revision: 1.5; previous revision: 1.4 done
Status: NEW → RESOLVED
Closed: 16 years ago
OS: Windows XP → All
Hardware: PC → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9 M11
You need to log in before you can comment on or make changes to this bug.