Bug #19285 | NDBAPI blob access can corrupt tables if done wrong | ||
---|---|---|---|
Submitted: | 23 Apr 2006 2:08 | Modified: | 19 Jun 2006 17:28 |
Reporter: | Hartmut Holzgraefe | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S3 (Non-critical) |
Version: | 5.0, 5.1 | OS: | Linux (linux) |
Assigned to: | Pekka Nousiainen | CPU Architecture: | Any |
[23 Apr 2006 2:08]
Hartmut Holzgraefe
[23 Apr 2006 2:12]
Hartmut Holzgraefe
test source and db dump
Attachment: pk_lookup.tar.gz (application/x-gunzip, text), 17.14 KiB.
[5 Jun 2006 9:27]
Pekka Nousiainen
Possibly the comment in NdbBlob.hpp is overly optimistic. It should work though so it's worth to find out why not. Low internal prio, this is not used by MySQL or known API programs.
[14 Jun 2006 11:59]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/7627
[17 Jun 2006 11:00]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/7807
[17 Jun 2006 11:13]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/7810
[17 Jun 2006 18:27]
Pekka Nousiainen
The patch is strictly for NDB API and basically fixes the sloppy documentation in NdbBlob.hpp. - documents what operations are allowed on blob handles - checks for not allowed operations (new error code 4275) - automatic read lock upgrade of read committed to read shared Read exclusive + blob update is NOT allowed. The easy solution would introduce overhead for non-updating case too.
[19 Jun 2006 17:28]
Jon Stephens
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bugfix, yourself. More information about accessing the source trees is available at http://www.mysql.com/doc/en/Installing_source_tree.html Additional info: Updated 5.0.23/5.1.12 changelogs and NdbBlob section of NDBAPI Guide. Closed.