| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
into mysql.com:/opt/local/work/mysql-5.0-root
|
| |
| |
| |
| | |
rename sha1_* to mysql_sha1_*
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- CHAR() now returns binary string as default
- CHAR(X*65536+Y*256+Z) is now equal to CHAR(X,Y,Z) independent of the character set for CHAR()
- Test for both ETIMEDOUT and ETIME from pthread_cond_timedwait()
(Some old systems returns ETIME and it's safer to test for both values
than to try to write a wrapper for each old system)
- Fixed new introduced bug in NOT BETWEEN X and X
- Ensure we call commit_by_xid or rollback_by_xid for all engines, even if one engine has failed
- Use octet2hex() for all conversion of string to hex
- Simplify and optimize code
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Character set does not support traditional mode
ctype_utf8.result, ctype_utf8.test:
adding test case.
password.c, mysql_com.h
Changeing octet2hex availability from static to public.
item_strfunc.cc:
Result string is now checked to be well-formed.
Warning/error is generated, depending on sql_mode.
|
| | |
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
(it should
produce hex digits in lower case). (fixed version)
Replaced _dig_vec array with two _dig_vec_upper/_dig_vec_lower arrays.
Added extra argument to int2str function which controls case of digits you get.
Replaced lot of invocations of int2str for decimal radix with more optimized int10_to_str()
function.
Removed unused my_itoa/my_ltoa functions.
|
| |
|
|
|
|
|
| |
Now special 1-byte packet is used for request of old password
Fixed bug with --skip-grant-tables and acl_getroot
|
|
|
|
|
|
|
|
|
| |
--old-passwords
Support for option --old-protocol was removed.
Some test performed.
Tests for SSL and replication are pending.
More strict following to specification for --old-passwords
is in the TODO.
|
|
|
|
| |
OLD_PASSWORD made a keyword to allow set password=old_password('abc') constructions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
one-stage (instead of two-stage in 4.1)
For now following tasks have been done:
- PASSWORD() function was rewritten. PASSWORD() now returns SHA1
hash_stage2; for new passwords user.password contains '*'hash_stage2; sql_yacc.yy also fixed;
- password.c: new functions were implemented, old rolled back to 4.0 state
- server code was rewritten to use new authorization algorithm (check_user(), change
user, and other stuff in sql/sql_parse.cc)
- client code was rewritten to use new authorization algorithm
(mysql_real_connect, myslq_authenticate in sql-common/client.c)
- now server barks on 45-byte-length 4.1.0 passwords and refuses 4.1.0-style
authentification. Users with 4.1.0 passwords are blocked (sql/sql_acl.cc)
- mysqladmin.c was fixed to work correctly with new passwords
Tests for 4.0-4.1.1, 4.1.1-4.1.1 (with or without db/password) logons was performed;
mysqladmin also was tested. Additional check are nevertheless necessary.
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
symbol in libmysqlclient) (thanks to Dennis Haney for the initial patch)
- cleanup: removed client/password.c (not used at all) and
libmysql/password.c (should rather be a symlink to sql/password.c instead)
- applied HPUX11 portability fix for char_val declaration to sql/password.c
(taken from libmysql/password.c)
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Portability fixes
Added new client function: mysql_get_server_version()
New server help code (From Victor Vagin)
Fixed wrong usage of binary()
Disabled RTREE usage for now.
|
| |
| |
| |
| | |
Some changes to the prepared statement protocol to make it easier to use and faster.
|
| | |
|
| |
| |
| |
| | |
fixed layout
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| |
| | |
Optimized SELECT DISTINCT ... ORDER BY ... LIMIT
Fixed reference to uninitalized variable
|
| | |
|
| |
| |
| |
| |
| | |
This alters not only my code so it looks like I'm not only one adding the spaces.
|
| |
| |
| |
| | |
fix mysql_change_user() for old clients
|
| |
| |
| |
| |
| |
| | |
Implement mysql_change_user
Get rid of double user search at authentication
Some cleanups
|
| |
| |
| |
| | |
Commit for merge
|
| |
| |
| |
| |
| |
| | |
coding. Commit
done for merge with newer version of code.
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
|
| |
Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
|
|
|
|
|
| |
Fixed problem with LIKE with latin1_de
Added parsing support of UNSIGNED LONG LONG
|
|
|
|
| |
Changed 'static inline' to 'inline' for SCO new's compiler
|
|
|