~hartmut-php/mysql-server/cluster-7.2-showdbs

« back to all changes in this revision

Viewing changes to storage/ndb/memcache/src/ExternalValue.cc

  • Committer: John David Duncan
  • Date: 2012-03-23 23:37:09 UTC
  • mfrom: (3858.1.2 72-close)
  • Revision ID: john.duncan@oracle.com-20120323233709-we0lh4yo2trg11dx
merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
extern ndb_async_callback callback_main;
42
42
extern ndb_async_callback callback_close;
43
43
extern worker_step worker_finalize_write;
 
44
extern worker_step worker_commit;
44
45
extern worker_step worker_close;
45
46
extern worker_step worker_append;
46
47
 
356
357
  else {
357
358
    DEBUG_PRINT("%s", tx->getNdbError().message);
358
359
    wqitem->status = & status_block_misc_error;
359
 
    worker_close(tx, wqitem);
 
360
    worker_commit(tx, wqitem);
360
361
  }
361
362
}
362
363
 
374
375
    DEBUG_PRINT("CAS Mismatch: IN:%llu  STORED:%llu", * wqitem->cas, stored_cas);
375
376
    * wqitem->cas = 0ULL;  // set cas=0 in the response
376
377
    wqitem->status = & status_block_cas_mismatch;
377
 
    return worker_close(tx, wqitem);    
 
378
    return worker_commit(tx, wqitem);    
378
379
  }
379
380
 
380
381
  /* Set up the new value */
886
887
  }
887
888
 
888
889
  wqitem->status = & status_block_misc_error;  
889
 
  worker_close(tx, wqitem);
 
890
  worker_commit(tx, wqitem);
890
891
}
891
892
 
892
893