Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

bzr commit into mysql-5.1-telco-6.2 tree (frazer:2633) Bug#37672

From: Frazer Clement <frazer(at)mysql.com>
Date: Fri Jul 04 2008 - 08:37:34 EDT


#At file:///home/frazer/bzr/mysql-5.1-telco-6.2/



revno: 2633
revision-id: frazer@mysql.com-20080704123719-pb11tdurtkezlq1h parent: jonas@mysql.com-20080627083807-wy2k5hdkh3ag30j9 committer: Frazer Clement <frazer@mysql.com> branch nick: mysql-5.1-telco-6.2
timestamp: Fri 2008-07-04 13:37:19 +0100 message:
  Bug#37672 NDBAPI : NdbRecord option OO_ANYVALUE causes interpreted delete to abort.   

  Setting the ANYVALUE operation option for an NdbRecord interpreted delete   results in transaction abort. Error 888 is given.   

  2 problems :

  1. For delete, NdbRecord code was placing ANYVALUE update ATTRINFO in the 'final Update' part of the TCKEYREQ rather than the 'initial Read' part.
  2. For interpreted delete, TUP was ignoring log ATTRINFO words generated by read part of interpreted delete, resulting in SUMA sending events without correct ANYVALUE. modified: storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp sp1f-dbtupexecquery.cpp-20040414082419-mq6uenb66nxl6kcdp3v27evwjkcs2ttz storage/ndb/src/ndbapi/NdbOperationExec.cpp sp1f-ndboperationexec.cpp-20040414082425-spfhlvqpx5hh2u7nyud2l5ordg7u43eb storage/ndb/test/ndbapi/test_event.cpp sp1f-test_event.cpp-20040414082438-mn2bippetrmdotxdqygnmo7y2fhcioia storage/ndb/test/run-test/daily-basic-tests.txt sp1f-dailybasictests.txt-20040623115449-liur6p3tedydxdte6rr35pqap26frov6 per-file comments: storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp Modify TUP interpreter to include log words generated as a side-effect of interpretation. storage/ndb/src/ndbapi/NdbOperationExec.cpp Modify NdbRecord TCKEYREQ generating code to put ANYVALUE ATTRINFO in initial read section for delete requests. storage/ndb/test/ndbapi/test_event.cpp Add testcase to check that AnyValue is correctly propagated to events for PK insert, update, write (update), delete with and without interpreted code. storage/ndb/test/run-test/daily-basic-tests.txt Add new testcase to daily-basic.

-- 
MySQL Code Commits Mailing List
For list archives: 
http://lists.mysql.com/commits
To unsubscribe:    
http://lists.mysql.com/commits?unsub=lists@pantek.com
Received on Fri Jul 4 08:37:51 2008

This archive was generated by hypermail 2.1.8 : Fri Sep 26 2008 - 18:13:15 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library