~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/rollback_to_savepoint.cc

  • Committer: Monty Taylor
  • Date: 2010-08-21 03:34:31 UTC
  • mto: (1725.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 1726.
  • Revision ID: mordred@inaugust.com-20100821033431-e0czq298av2aqx25
Rearranged how we set -fvisibility, allowing us to turn it on on a
library-by-library basis even if we specify skip-visiblity as an argument to
PANDORA_CANONICAL.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
                     first_savepoint_name.size()) == 0)
74
74
    {
75
75
      /* Found the named savepoint we want to rollback to */
76
 
      (void) transaction_services.ha_rollback_to_savepoint(session, first_savepoint);
 
76
      (void) transaction_services.rollbackToSavepoint(session, first_savepoint);
77
77
 
78
78
      if (session->transaction.all.hasModifiedNonTransData())
79
79
      {
111
111
      /* Found the named savepoint we want to rollback to */
112
112
      found= true;
113
113
 
114
 
      (void) transaction_services.ha_rollback_to_savepoint(session, sv);
 
114
      (void) transaction_services.rollbackToSavepoint(session, sv);
115
115
    }
116
116
    if (found)
117
117
    {