~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/start_transaction.cc

  • Committer: Brian Aker
  • Date: 2010-04-05 23:46:43 UTC
  • Revision ID: brian@gaz-20100405234643-0he3xnj902rc70r8
Fixing tests to work with PBXT.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#include <drizzled/server_includes.h>
 
21
#include "config.h"
22
22
#include <drizzled/show.h>
23
23
#include <drizzled/session.h>
24
24
#include <drizzled/statement/start_transaction.h>
25
25
 
26
 
using namespace drizzled;
 
26
namespace drizzled
 
27
{
27
28
 
28
29
bool statement::StartTransaction::execute()
29
30
{
36
37
  /*
37
38
     Breakpoints for backup testing.
38
39
   */
39
 
  if (! session->startTransaction())
 
40
  if (! session->startTransaction(start_transaction_opt))
40
41
  {
41
42
    return true;
42
43
  }
43
44
  session->my_ok();
44
45
  return false;
45
46
}
 
47
 
 
48
}