From 5ec7462d12d90d5f78c2f3c2f95635a2db789c61 Mon Sep 17 00:00:00 2001 From: robocop Date: Tue, 25 Mar 2008 12:04:03 +0000 Subject: [PATCH] Restore the old error message for io_error. --- src/include/gen/msgs.h | 2 +- src/msgs/messages2.sql | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/include/gen/msgs.h b/src/include/gen/msgs.h index c5fd8801e9..87fbf8e4b7 100644 --- a/src/include/gen/msgs.h +++ b/src/include/gen/msgs.h @@ -44,7 +44,7 @@ static const struct { {335544341, "unknown information item"}, /* 21, infunk */ {335544342, "action cancelled by trigger (@1) to preserve data integrity"}, /* 22, integ_fail */ {335544343, "invalid request BLR at offset @1"}, /* 23, invalid_blr */ - {335544344, "I/O error for file \"@2\""}, /* 24, io_error */ + {335544344, "I/O error during \"@1\" operation for file \"@2\""}, /* 24, io_error */ {335544345, "lock conflict on no wait transaction"}, /* 25, lock_conflict */ {335544346, "corrupt system table"}, /* 26, metadata_corrupt */ {335544347, "validation error for column @1, value \"@2\""}, /* 27, not_valid */ diff --git a/src/msgs/messages2.sql b/src/msgs/messages2.sql index b4ffa4a5ba..2cefe1eaa5 100644 --- a/src/msgs/messages2.sql +++ b/src/msgs/messages2.sql @@ -32,9 +32,7 @@ the total length of a blob in a call to gds_$database_info.'); ('infunk', NULL, NULL, NULL, 0, 21, NULL, 'unknown information item', NULL, NULL); ('integ_fail', NULL, NULL, NULL, 0, 22, NULL, 'action cancelled by trigger (@1) to preserve data integrity', NULL, NULL); ('invalid_blr', NULL, NULL, NULL, 0, 23, NULL, 'invalid request BLR at offset @1', NULL, NULL); -('io_error', NULL, NULL, +++ -'The @2 is not a bug; it is a direct translation of %.0s"%s" in the original text that uses escape sequences for printf', +++ -0, 24, NULL, 'I/O error for file "@2"', +++ +('io_error', NULL, NULL, NULL, 0, 24, NULL, 'I/O error during "@1" operation for file "@2"', +++ 'Check secondary messages for more information. The problem may be an obvious one, such as incorrect file name or a file protection problem. If that does not eliminate the