~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/row/row0purge.c

  • Committer: Brian Aker
  • Date: 2010-12-07 21:33:25 UTC
  • mto: This revision was merged to the branch mainline in revision 1987.
  • Revision ID: brian@tangent.org-20101207213325-u6vbc107dpe0c7ld
Added compatible REGEX for Drizzle to MySQL's syntax.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (C) 1997, 2010, Innobase Oy. All Rights Reserved.
 
3
Copyright (c) 1997, 2010, Innobase Oy. All Rights Reserved.
4
4
 
5
5
This program is free software; you can redistribute it and/or modify it under
6
6
the terms of the GNU General Public License as published by the Free Software
796
796
        que_thr_t*      thr)    /*!< in: query thread */
797
797
{
798
798
        purge_node_t*   node;
799
 
#ifdef UNIV_DEBUG
800
799
        ulint           err;
801
 
#endif /* UNIV_DEBUG */
802
800
 
803
801
        ut_ad(thr);
804
802
 
806
804
 
807
805
        ut_ad(que_node_get_type(node) == QUE_NODE_PURGE);
808
806
 
809
 
#ifdef UNIV_DEBUG
810
 
        err =
811
 
#endif /* UNIV_DEBUG */
812
 
        row_purge(node, thr);
 
807
        err = row_purge(node, thr);
813
808
 
814
 
#ifdef UNIV_DEBUG
815
 
        ut_a(err == DB_SUCCESS);
816
 
#endif /* UNIV_DEBUG */
 
809
        ut_ad(err == DB_SUCCESS);
817
810
 
818
811
        return(thr);
819
812
}