NdbOperation::updateTuple() * int writeTuple(); *****************************************************************************/
| 74 | * int writeTuple(); |
| 75 | *****************************************************************************/ |
| 76 | int NdbOperation::writeTuple() { |
| 77 | NdbTransaction *tNdbCon = theNdbCon; |
| 78 | int tErrorLine = theErrorLine; |
| 79 | if (theStatus == Init) { |
| 80 | theStatus = OperationDefined; |
| 81 | tNdbCon->theSimpleState = 0; |
| 82 | theOperationType = WriteRequest; |
| 83 | theErrorLine = tErrorLine++; |
| 84 | theLockMode = LM_Exclusive; |
| 85 | m_abortOption = AbortOnError; |
| 86 | return 0; |
| 87 | } else { |
| 88 | setErrorCode(4200); |
| 89 | return -1; |
| 90 | } // if |
| 91 | } // NdbOperation::writeTuple() |
| 92 | /***************************************************************************** |
| 93 | * int deleteTuple(); |
| 94 | *****************************************************************************/ |
no test coverage detected