~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/include/row0mysql.h

  • Committer: Brian Aker
  • Date: 2010-11-08 18:24:58 UTC
  • mto: (1921.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 1916.
  • Revision ID: brian@tangent.org-20101108182458-twv4hyix43ojno80
Merge in changes such that lock is now broken out into its own directory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
12
 
13
13
You should have received a copy of the GNU General Public License along with
14
 
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
15
 
Place, Suite 330, Boston, MA 02111-1307 USA
 
14
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
 
15
St, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
*****************************************************************************/
18
18
 
177
177
                                        in MySQL handle */
178
178
        trx_t*          trx);           /*!< in: transaction handle */
179
179
/*********************************************************************//**
180
 
Unlocks AUTO_INC type locks that were possibly reserved by a trx. */
 
180
Unlocks AUTO_INC type locks that were possibly reserved by a trx. This
 
181
function should be called at the the end of an SQL statement, by the
 
182
connection thread that owns the transaction (trx->mysql_thd). */
181
183
UNIV_INTERN
182
184
void
183
185
row_unlock_table_autoinc_for_mysql(
747
749
                                        store it here so that we can return
748
750
                                        it to MySQL */
749
751
        /*----------------------*/
750
 
        UT_LIST_NODE_T(row_prebuilt_t)  prebuilts;
751
 
                                        /*!< list node of table->prebuilts */
752
752
        ulint           magic_n2;       /*!< this should be the same as
753
753
                                        magic_n */
754
754
};