From: Monty Taylor Date: April 27 2007 11:23pm Subject: Re: Support for NdbIndex(Scan)Operation, prelim. support for typed attribute access List-Archive: http://lists.mysql.com/ndb-connectors/50 Message-Id: <463285FE.109@mysql.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mika Raento wrote: > In the attached patch. Also simplified some exception definitions. > > I've noticed also that if you fail to set the actual operation type > (readTuples() etc) on an operation, you'll get a bus error. Should these > kinds of things be reported as bugs against ndbapi, or is it assumed > that it's pretty harsh? It's assumed that it's pretty harsh. :) That being said, there's nothing stopping us from perhaps making some wrappers that set thing correctly. Perhaps we make a NdbTransaction::getReadOperation() method that gets an Operation and then calls readTuples() on it before returning it - and then hide the getOperation() call? -- Monty Taylor Senior Consultant MySQL Inc., www.mysql.com Get More with MySQL! www.mysql.com/consulting