Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
a44b6b67
Commit
a44b6b67
authored
Oct 07, 2004
by
jani@a80-186-41-201.elisa-laajakaista.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a bug in password handling. All related to Bug#5955.
parent
092d1a50
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
6 deletions
+13
-6
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
client/mysqladmin.c
client/mysqladmin.c
+2
-1
client/mysqlcheck.c
client/mysqlcheck.c
+2
-1
client/mysqldump.c
client/mysqldump.c
+2
-1
client/mysqlimport.c
client/mysqlimport.c
+2
-1
client/mysqlshow.c
client/mysqlshow.c
+2
-1
client/mysqltest.c
client/mysqltest.c
+2
-1
No files found.
BitKeeper/etc/logging_ok
View file @
a44b6b67
...
...
@@ -66,6 +66,7 @@ igor@rurik.mysql.com
ingo@mysql.com
jan@hundin.mysql.fi
jani@a80-186-24-72.elisa-laajakaista.fi
jani@a80-186-41-201.elisa-laajakaista.fi
jani@dsl-jkl1657.dial.inet.fi
jani@dsl-kpogw4gb5.dial.inet.fi
jani@hynda.(none)
...
...
client/mysqladmin.c
View file @
a44b6b67
...
...
@@ -25,7 +25,7 @@
#include <sys/stat.h>
#include <mysql.h>
#define ADMIN_VERSION "8.4
0
"
#define ADMIN_VERSION "8.4
1
"
#define MAX_MYSQL_VAR 256
#define SHUTDOWN_DEF_TIMEOUT 3600
/* Wait for shutdown */
#define MAX_TRUNC_LENGTH 3
...
...
@@ -209,6 +209,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
while
(
*
argument
)
*
argument
++=
'x'
;
/* Destroy argument */
if
(
*
start
)
start
[
1
]
=
0
;
/* Cut length of argument */
tty_password
=
0
;
}
else
tty_password
=
1
;
...
...
client/mysqlcheck.c
View file @
a44b6b67
...
...
@@ -16,7 +16,7 @@
/* By Jani Tolonen, 2001-04-20, MySQL Development Team */
#define CHECK_VERSION "2.4.
3
"
#define CHECK_VERSION "2.4.
4
"
#include "client_priv.h"
#include <m_ctype.h>
...
...
@@ -246,6 +246,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
while
(
*
argument
)
*
argument
++=
'x'
;
/* Destroy argument */
if
(
*
start
)
start
[
1
]
=
0
;
/* Cut length of argument */
tty_password
=
0
;
}
else
tty_password
=
1
;
...
...
client/mysqldump.c
View file @
a44b6b67
...
...
@@ -37,7 +37,7 @@
** 10 Jun 2003: SET NAMES and --no-set-names by Alexander Barkov
*/
#define DUMP_VERSION "10.
7
"
#define DUMP_VERSION "10.
8
"
#include <my_global.h>
#include <my_sys.h>
...
...
@@ -486,6 +486,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
while
(
*
argument
)
*
argument
++=
'x'
;
/* Destroy argument */
if
(
*
start
)
start
[
1
]
=
0
;
/* Cut length of argument */
tty_password
=
0
;
}
else
tty_password
=
1
;
...
...
client/mysqlimport.c
View file @
a44b6b67
...
...
@@ -25,7 +25,7 @@
** * *
** *************************
*/
#define IMPORT_VERSION "3.
4
"
#define IMPORT_VERSION "3.
5
"
#include "client_priv.h"
#include "mysql_version.h"
...
...
@@ -191,6 +191,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
while
(
*
argument
)
*
argument
++=
'x'
;
/* Destroy argument */
if
(
*
start
)
start
[
1
]
=
0
;
/* Cut length of argument */
tty_password
=
0
;
}
else
tty_password
=
1
;
...
...
client/mysqlshow.c
View file @
a44b6b67
...
...
@@ -16,7 +16,7 @@
/* Show databases, tables or columns */
#define SHOW_VERSION "9.
4
"
#define SHOW_VERSION "9.
5
"
#include "client_priv.h"
#include <my_sys.h>
...
...
@@ -257,6 +257,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
while
(
*
argument
)
*
argument
++=
'x'
;
/* Destroy argument */
if
(
*
start
)
start
[
1
]
=
0
;
/* Cut length of argument */
tty_password
=
0
;
}
else
tty_password
=
1
;
...
...
client/mysqltest.c
View file @
a44b6b67
...
...
@@ -42,7 +42,7 @@
**********************************************************************/
#define MTEST_VERSION "2.
1
"
#define MTEST_VERSION "2.
2
"
#include <my_global.h>
#include <mysql_embed.h>
...
...
@@ -2090,6 +2090,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
my_free
(
pass
,
MYF
(
MY_ALLOW_ZERO_PTR
));
pass
=
my_strdup
(
argument
,
MYF
(
MY_FAE
));
while
(
*
argument
)
*
argument
++=
'x'
;
/* Destroy argument */
tty_password
=
0
;
}
else
tty_password
=
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment