summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authoranozdrin@mysql.com <>2006-05-18 18:57:50 +0400
committeranozdrin@mysql.com <>2006-05-18 18:57:50 +0400
commitc1113af15c2d2ebeea50487c94b3078855f48d6b (patch)
tree5a01e6e1e922c0816a9df2c5c09c95719d269269 /libmysql
parenteee166d859a9cd88cdea49981e57299bd0165cec (diff)
downloadmariadb-git-c1113af15c2d2ebeea50487c94b3078855f48d6b.tar.gz
This is an implementation of two WL items:
- WL#3158: IM: Instance configuration extensions; - WL#3159: IM: --bootstrap and --start-default-instance modes The following new statements have been added: - CREATE INSTANCE; - DROP INSTANCE; The behaviour of the following statements have been changed: - SET; - UNSET; - FLUSH INSTANCES; - SHOW INSTANCES; - SHOW INSTANCE OPTIONS;
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/get_password.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmysql/get_password.c b/libmysql/get_password.c
index a48cb6d7a6e..4c251677a66 100644
--- a/libmysql/get_password.c
+++ b/libmysql/get_password.c
@@ -75,7 +75,7 @@
#define _cputs(A) putstring(A)
#endif
-char *get_tty_password(char *opt_message)
+char *get_tty_password(const char *opt_message)
{
char to[80];
char *pos=to,*end=to+sizeof(to)-1;
@@ -159,7 +159,7 @@ static void get_password(char *to,uint length,int fd,bool echo)
#endif /* ! HAVE_GETPASS */
-char *get_tty_password(char *opt_message)
+char *get_tty_password(const char *opt_message)
{
#ifdef HAVE_GETPASS
char *passbuff;