~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/os/os0sync.c

  • Committer: Brian Aker
  • Date: 2010-11-19 19:42:44 UTC
  • mto: (1945.2.1 quick)
  • mto: This revision was merged to the branch mainline in revision 1944.
  • Revision ID: brian@tangent.org-20101119194244-7vx6u5vwzvu9uvex
Remove dead getShare() call which should have been a call on the cache
directly.

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
 
87
87
        UT_LIST_INIT(os_event_list);
88
88
        UT_LIST_INIT(os_mutex_list);
89
89
 
 
90
        os_sync_mutex = NULL;
 
91
        os_sync_mutex_inited = FALSE;
 
92
 
90
93
        os_sync_mutex = os_mutex_create(NULL);
91
94
 
92
95
        os_sync_mutex_inited = TRUE;
714
717
                os_mutex_enter(os_sync_mutex);
715
718
        }
716
719
 
 
720
        ut_ad(os_fast_mutex_count > 0);
717
721
        os_fast_mutex_count--;
718
722
 
719
723
        if (UNIV_LIKELY(os_sync_mutex_inited)) {