2384
2382
/* cannot happen outside of transaction */
2385
2383
assert(trx->conc_state != TRX_NOT_STARTED);
2388
2385
error = (int) trx_savepoint_for_mysql(trx, named_savepoint.getName().c_str(), (ib_int64_t)0);
2390
2387
return(convert_error_code_to_mysql(error, 0, NULL));