summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <jani@ua141d10.elisa.omakaista.fi>2007-03-27 18:51:02 +0300
committerunknown <jani@ua141d10.elisa.omakaista.fi>2007-03-27 18:51:02 +0300
commit454e889f44912774738b96ab9c1dcd5fb1c96288 (patch)
tree897580a34e89f06d53651b1779c990e687b5038c /include
parent137083e331e83d4ab3c2109807404ffd5c51120c (diff)
downloadmariadb-git-454e889f44912774738b96ab9c1dcd5fb1c96288.tar.gz
Fixes for 4.1 to be as in 5.0 and above.
client/mysql.cc: Fixed to be as in 5.0 and above. client/mysqldump.c: Fixed to be as in 5.0 and above. include/my_sys.h: Fixed to be as in 5.0 and above. mysys/my_static.c: Fixed to be as in 5.0 and above.
Diffstat (limited to 'include')
-rw-r--r--include/my_sys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_sys.h b/include/my_sys.h
index 4c9a7a7964c..e44f29ffdd8 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -203,7 +203,7 @@ extern int errno; /* declare errno */
extern const char ** NEAR my_errmsg[];
extern char NEAR errbuff[NRERRBUFFS][ERRMSGSIZE];
extern char *home_dir; /* Home directory for user */
-extern char *my_progname; /* program-name (printed in errors) */
+extern const char *my_progname; /* program-name (printed in errors) */
extern char NEAR curr_dir[]; /* Current directory for user */
extern int (*error_handler_hook)(uint my_err, const char *str,myf MyFlags);
extern int (*fatal_error_handler_hook)(uint my_err, const char *str,