From 52191ea4d8dda55173a7c721371faf15bf0ea39c Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 29 Aug 2006 22:10:06 +0200 Subject: importing Sanja's changes to the control file, with my changes on them. mysys/my_pread.c: print errno in case of error storage/maria/control_file.c: importing Sanja's changes, with my minor changes on them :) storage/maria/control_file.h: importing Sanja's changes, with my minor changes on them :) --- mysys/my_pread.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mysys/my_pread.c') diff --git a/mysys/my_pread.c b/mysys/my_pread.c index ac52895efe9..072c18ae7f6 100644 --- a/mysys/my_pread.c +++ b/mysys/my_pread.c @@ -155,7 +155,8 @@ uint my_pwrite(int Filedes, const byte *Buffer, uint Count, my_off_t offset, Count-=writenbytes; offset+=writenbytes; } - DBUG_PRINT("error",("Write only %d bytes",writenbytes)); + DBUG_PRINT("error",("Write only %d bytes, error: %d", + writenbytes, my_errno)); #ifndef NO_BACKGROUND #ifdef THREAD if (my_thread_var->abort) -- cgit v1.2.1