~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

Tags: innodb-plugin-1.0.2
InnoDB Plugin 1.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
726
726
 
727
727
        ret = pthread_mutex_destroy(fast_mutex);
728
728
 
729
 
        if (ret != 0) {
 
729
        if (UNIV_UNLIKELY(ret != 0)) {
730
730
                ut_print_timestamp(stderr);
731
731
                fprintf(stderr,
732
732
                        "  InnoDB: error: return value %lu when calling\n"
735
735
                        "InnoDB: Byte contents of the pthread mutex at %p:\n",
736
736
                        (void*) fast_mutex);
737
737
                ut_print_buf(stderr, fast_mutex, sizeof(os_fast_mutex_t));
738
 
                fprintf(stderr, "\n");
 
738
                putc('\n', stderr);
739
739
        }
740
740
#endif
741
741
        if (UNIV_LIKELY(os_sync_mutex_inited)) {