| List: | NDB Connectors | « Previous MessageNext Message » | |
| From: | Monty Taylor | Date: | April 27 2007 11:23pm |
| Subject: | Re: Support for NdbIndex(Scan)Operation, prelim. support for typed attribute access | ||
| View as plain text | |||
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
