Commit 560cad77 authored by joerg@debian.(none)'s avatar joerg@debian.(none)

Raise the 64 character limit for path names in the error messages

to 150 or 107 characters for those messages which are generated
by the embedded server during release builds.

This fixes bug#16635:
   Error messages wrong: absolute path names, "%s" format code

See the bug report or the changelog for "sql/share/english/errmsg.txt"
for instructions how to do that with other languages, 
even at the customer site, and for the restrictions to keep.
parent 91dc4197
...@@ -21,7 +21,7 @@ character-set=latin1 ...@@ -21,7 +21,7 @@ character-set=latin1
"NO", "NO",
"YES", "YES",
"Can't create file '%-.64s' (errno: %d)", "Can't create file '%-.64s' (errno: %d)",
"Can't create table '%-.64s' (errno: %d)", "Can't create table '%-.150s' (errno: %d)",
"Can't create database '%-.64s' (errno: %d)", "Can't create database '%-.64s' (errno: %d)",
"Can't create database '%-.64s'; database exists", "Can't create database '%-.64s'; database exists",
"Can't drop database '%-.64s'; database doesn't exist", "Can't drop database '%-.64s'; database doesn't exist",
...@@ -33,7 +33,7 @@ character-set=latin1 ...@@ -33,7 +33,7 @@ character-set=latin1
"Can't get working directory (errno: %d)", "Can't get working directory (errno: %d)",
"Can't lock file (errno: %d)", "Can't lock file (errno: %d)",
"Can't open file: '%-.64s' (errno: %d)", "Can't open file: '%-.64s' (errno: %d)",
"Can't find file: '%-.64s' (errno: %d)", "Can't find file: '%-.150s' (errno: %d)",
"Can't read dir of '%-.64s' (errno: %d)", "Can't read dir of '%-.64s' (errno: %d)",
"Can't change dir to '%-.64s' (errno: %d)", "Can't change dir to '%-.64s' (errno: %d)",
"Record has changed since last read in table '%-.64s'", "Record has changed since last read in table '%-.64s'",
...@@ -41,7 +41,7 @@ character-set=latin1 ...@@ -41,7 +41,7 @@ character-set=latin1
"Can't write; duplicate key in table '%-.64s'", "Can't write; duplicate key in table '%-.64s'",
"Error on close of '%-.64s' (errno: %d)", "Error on close of '%-.64s' (errno: %d)",
"Error reading file '%-.64s' (errno: %d)", "Error reading file '%-.64s' (errno: %d)",
"Error on rename of '%-.64s' to '%-.64s' (errno: %d)", "Error on rename of '%-.107s' to '%-.107s' (errno: %d)",
"Error writing file '%-.64s' (errno: %d)", "Error writing file '%-.64s' (errno: %d)",
"'%-.64s' is locked against change", "'%-.64s' is locked against change",
"Sort aborted", "Sort aborted",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment