guilhem@mysql.com
fa1d0098ec
Mark tables 'updating' in sql_acl.cc (mysql_grant(), mysql_table_grant()) so that
...
tables_ok() does not ignore them. This fixes random bug #980 .
2003-08-02 16:10:26 +02:00
kostja@oak.local
50d3291aee
manual merge
2003-07-31 17:11:52 +04:00
dlenev@mysql.com
8f50cd0472
Fix security bug. mysqld server without ssl support was completly
...
ignorant about ssl_type attribute
2003-07-30 03:33:48 +04:00
serg@serg.mylan
e0d9c9cd2b
Merge bk-internal:/home/bk/mysql-4.1/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2003-07-27 09:59:24 +02:00
dlenev@dlenev.mshome
b5faccbbc3
Fix security bug. mysqld server without ssl support was completly
...
ignorant about ssl_type attribute
2003-07-23 18:50:18 +04:00
serg@serg.mylan
2cac8f0768
now GRANT db.* ... compares patterns correctly to prevent privilege escalation
2003-07-22 22:21:23 +02:00
serg@serg.mylan
716e91eecb
Bug #473 - GRANT ... TO ''@... was requiring FLUSH PRIVILEGES to work
2003-07-21 13:46:57 +02:00
kostja@oak.local
09e53b0169
Style fixes, comments for 4.1.1 authorization
...
Now special 1-byte packet is used for request of old password
Fixed bug with --skip-grant-tables and acl_getroot
2003-07-18 18:25:54 +04:00
monty@narttu.mysql.fi
7b8a54b512
Fixed memory overrun when doing REPAIR on table with multi-part auto_increment key where one part was a packed CHAR
2003-07-18 04:04:24 +03:00
pem@mysql.telia.com
9c3a7a6ba3
Merge 4.1 into 5.0 (first pass).
2003-07-08 17:50:23 +02:00
kostja@oak.local
a232225b69
Preliminary support for options --secure-auth,
...
--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.
2003-07-08 02:36:14 +04:00
kostja@oak.local
1d20b23247
Bug fixes for authentication
...
OLD_PASSWORD made a keyword to allow set password=old_password('abc') constructions.
2003-07-04 20:52:04 +04:00
guilhem@mysql.com
ace8a06323
I committed the same changeset in my tree yesterday, but broke the tree since,
...
so I commit again in a fresh tree.
Fix for bug#763 (Relay_log_space too big by 4 bytes),
plus comments and DBUG_PRINT, and we don't start replication
if --bootstrap.
2003-07-03 01:08:36 +02:00
pem@mysql.com
b3f153507e
Added missing (char*) casts in bzero calls.
...
(Needed for platforms with the traditional bzero prototype.)
Fixes BUG#460.
2003-07-03 01:08:34 +02:00
Sinisa@sinisa.nasamreza.org
c1660e1a23
Lot's of clean-ups and fixes for 4.0.14.
2003-07-02 00:10:47 +03:00
kostja@oak.local
7df0475847
First version of new authentification procedure: now authentification is 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.
2003-07-01 23:40:59 +04:00
Sinisa@sinisa.nasamreza.org
ef61b1a56f
Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2003-06-30 12:33:35 +03:00
gluh@gluh.mysql.r18.ru
8573bdbff8
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into gluh.mysql.r18.ru:/home/gluh/mysql-4.0.for_fix
2003-06-26 12:49:03 +05:00
gluh@gluh.mysql.r18.ru
7d43750eb6
Fix bug #673 : MySQL 4.0.13 no SSL connection with mysql client possible
2003-06-26 12:47:36 +05:00
Sinisa@sinisa.nasamreza.org
66b60b57af
Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2003-06-25 18:40:31 +03:00
monty@narttu.mysql.fi
a51ea11147
SHOW GRANTS hided real grants when grants on both column and table (Bug 654)
2003-06-23 20:03:59 +03:00
Sinisa@sinisa.nasamreza.org
438ed49691
Removing one fix.
2003-06-23 16:05:22 +03:00
Sinisa@sinisa.nasamreza.org
5a414bda8e
Two Sprint tasks and two behaviour changes.
2003-06-17 16:20:07 +03:00
monty@narttu.mysql.fi
e090f2d0cc
Fixes for make_win_src_distributions
...
Removed compiler warnings
2003-06-15 23:24:37 +03:00
gluh@gluh.mysql.r18.ru
7d020eae17
REVOKE all privileges and delete user(244)
2003-06-06 17:43:23 +05:00
Sinisa@sinisa.nasamreza.org
ec4a0ee477
several bug fixes
2003-05-31 21:35:20 +03:00
monty@mashka.mysql.fi
6aa8929cf3
After merge fixes
...
Added initialization of all important global variables
2003-05-21 21:39:58 +03:00
monty@narttu.mysql.fi
dd2b7918cd
Merge with 4.0.13
2003-05-19 16:35:49 +03:00
monty@mashka.mysql.fi
60dfb25be3
Give warning if MySQL doesn't honor given storage engine
...
Allow syntax CREATE TABLE t1 (LIKE t2)
2003-05-13 11:15:11 +03:00
monty@mashka.mysql.fi
5d5d5b08ac
Merge to get security patch
2003-05-08 00:12:46 +03:00
monty@mashka.mysql.fi
71ce598fa2
Security patch to remove wrong error when one had a global update/delete privilige and a database specific SELECT privilege.
2003-05-07 23:59:24 +03:00
vva@eagle.mysql.r18.ru
afd581edd3
made lex a pointer in THD
2003-05-05 14:54:37 -04:00
serg@serg.mylan
784fb81426
INSERT ... UPDATE ... VALUES()
2003-05-03 01:16:56 +02:00
Sinisa@sinisa.nasamreza.org
7a450cb131
Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2003-04-30 14:27:51 +03:00
monty@narttu.mysql.fi
9e4f394e59
Fix reference to not initialized memory
...
Changed handing of priv_host to fix bug in FLUSH PRIVILEGES
2003-04-30 10:15:09 +03:00
Sinisa@sinisa.nasamreza.org
b086445181
merge fix
2003-04-29 14:35:10 +03:00
serg@serg.mylan
d13e4fc532
CURRENT_USER() and "access denied" error messages now report hostname exactly as it was specified in the GRANT command (with wildcards, that is)
2003-04-29 00:15:18 +02:00
monty@mashka.mysql.fi
51eed4b48c
Fix for openssl on Solaris
...
Fix for grant bug with SELECT *
2003-04-28 10:32:56 +03:00
Sinisa@sinisa.nasamreza.org
9298d590ac
properly back quoting db.table names in SHOW GRANTS
2003-04-23 20:42:07 +03:00
Sinisa@sinisa.nasamreza.org
fd58dc20bb
Fixing few small problems in SET PASSWORD:
...
* comparison with correct cached variable
* preventing check_change_password to be called twice, once from
set_var::check and the other time from change_password itself
2003-04-21 22:54:02 +03:00
gluh@gluh.mysql.r18.ru
05817b7311
Fix bug: Crash server when grant ssl options are used and ssl handshake is not set
2003-04-16 15:05:47 +05:00
monty@mashka.mysql.fi
3e6c350f64
Fixed bug in SUM() with NULL:s
...
Added logging of warnings for failed connections with ssl.
Fixed bug in symbolic link handling on Windows
2003-04-15 22:04:16 +03:00
pem@mysql.com
736e78251e
Merging 4.1 to 5.0.
2003-04-04 13:45:35 +02:00
monty@narttu.mysql.fi
a7708c7904
Merge with 4.0
2003-04-03 21:19:12 +03:00
guilhem@mysql.com
654410a3d3
Deprecated the update log (Sprint task #792 ). Now --log-update
...
just turns on --log-bin and prints a warning. SQL_LOG_UPDATE
is handled in two ways (see mysqld.cc for comments).
2003-04-02 00:15:20 +02:00
guilhem@mysql.com
4824d6c66c
Sprint task #856 : make table exclusion rules (in replication)
...
apply to GRANT and REVOKE too. For example if replicate-wild-ignore-table=mysql.%,
GRANT and REVOKE will not be replicated on the slave.
2003-04-01 22:49:40 +02:00
bar@bar.mysql.r18.ru
5b50426f8f
Some optimization in CHARSET_INFO:
...
We don't need separate hash_sort() and hash_caseup()
We don't need tosort(). strnxfrm will do the same.
2003-04-01 12:45:16 +05:00
bar@bar.mysql.r18.ru
caf31a0790
Preparing to client<->server autoconvert
2003-03-17 13:14:04 +04:00
bar@bar.mysql.r18.ru
4b5bfe990f
sql_acl.cc, item.h:
...
use of new argument
sql_analyse.h:
macros from mysql_priv.h. Should be deleted soon.
mysql_priv.h:
_default_charset_info has been removed
item_cmpfunc.h:
Use cmp_charset
hostname.cc, hash_filo.h:
Move charset to constructor argument
2003-03-07 12:21:32 +04:00
lenz@mysql.com
2b1f8fbe67
Reverted Sinisa's patch "Fixing the error messages returned on GRANT
...
commands" again, since this problem had been fixed differently
already (Thanks to Serg for spotting this)
2003-02-19 16:16:27 +01:00