#At file:///data/z/mysql-next-mr-runtime/ based on revid:magne.mahre@stripped
2928 Magne Mahre 2009-11-11
Return type fix (strlen returns size_t)
modified:
client/mysqladmin.cc
=== modified file 'client/mysqladmin.cc'
--- a/client/mysqladmin.cc 2009-11-11 16:17:58 +0000
+++ b/client/mysqladmin.cc 2009-11-11 16:22:27 +0000
@@ -929,7 +929,7 @@ static int execute_commands(MYSQL *mysql
bool old= (find_type(argv[0], &command_typelib, 2) ==
ADMIN_OLD_PASSWORD);
#ifdef __WIN__
- uint pw_len= strlen(typed_password);
+ size_t pw_len= strlen(typed_password);
if (pw_len > 1 && typed_password[0] == '\'' &&
typed_password[pw_len-1] == '\'')
printf("Warning: single quotes were not trimmed from the password by"
Attachment: [text/bzr-bundle] bzr/magne.mahre@sun.com-20091111162227-0asc7sjrv3ttqgml.bundle
| Thread |
|---|
| • bzr commit into mysql-5.5-next-mr-runtime branch (magne.mahre:2928) | Magne Mahre | 11 Nov |