lock_rec_validate_page(): Disable the debug printout.

It is filling the error log when testing the debug version of the server.
The printout only seems to be useful when debugging a crash, not when
testing an instrumented version of the server.
This commit is contained in:
Marko Mäkelä 2010-10-21 10:32:41 +03:00
commit ea6b469df3

View file

@ -4859,11 +4859,11 @@ loop:
ut_a(rec); ut_a(rec);
offsets = rec_get_offsets(rec, index, offsets, offsets = rec_get_offsets(rec, index, offsets,
ULINT_UNDEFINED, &heap); ULINT_UNDEFINED, &heap);
#if 0
fprintf(stderr, fprintf(stderr,
"Validating %lu %lu\n", "Validating %lu %lu\n",
(ulong) space, (ulong) page_no); (ulong) space, (ulong) page_no);
#endif
lock_mutex_exit_kernel(); lock_mutex_exit_kernel();
/* If this thread is holding the file space /* If this thread is holding the file space