cdk/mysqlx/session.cc
void Session::begin()
{
  Reply r(sql(L"START TRANSACTION", NULL));
  r.wait();
  if (r.entry_count() > 0)
    r.get_error().rethrow();
}
/*
  Note: current implementation of transaction operations simply uses
  relevant SQL statements. Eventually we need something more fancy
  which will work well in a distributed environment.
*/
current implementation of transaction operations simply uses
relevant SQL statements. Eventually we need something more fancy
which will work well in a distributed environment.
current implementation of transaction operations simply uses relevant SQL statements . Eventually we need something more fancy which will work well in a distributed environment .
void Session::begin()
{
  Reply r(sql(L"START TRANSACTION", NULL));
  r.wait();
  if (r.entry_count() > 0)
    r.get_error().rethrow();
}
void Session :: begin ( ) { Reply r ( sql ( L" " , NULL ) ) ; r . wait ( ) ; if ( r . entry_count ( ) > 0 ) r . get_error ( ) . rethrow ( ) ; }
Note: current implementation of transaction operations simply uses
relevant SQL statements.
Note : current implementation of transaction operations simply uses relevant SQL statements .