a9146ace70
Cleanups to recent patches
...
Fix packet error when using wrong GRANT command
2003-08-15 09:54:19 +03:00
6e7a509d06
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
...
into mashka.mysql.fi:/home/my/mysql-4.0
2003-08-07 20:18:51 +03:00
8f08c511ee
Review of changesets since last pull.
...
(Mostly code cleanups)
2003-08-07 20:16:37 +03:00
86e79ec380
merged
2003-08-07 14:39:34 +02:00
4235268bef
fixed password buffer overflow
2003-08-07 11:16:34 +02:00
41865cf3a6
Fix so that SET PASSWORD is not replicated by the slave if running with
...
replicate-*-table rules which exclude 'mysql' tables
(e.g. replicate-wild-ignore-table=mysql.%).
This was already the behaviour for GRANT/REVOKE, I'm extending it to
SET PASSWORD because it seems very logical (the contrary seems illogical).
2 new tests:
- one to test if GRANT and SET PASSWORD are replicated
- one to test if they are not replicated if replicate-wild-ignore-table=mysql.%
The 2nd is also a testcase for BUG#980.
2003-08-02 23:46:26 +02:00
c784b91578
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into mysql.com:/home/mysql_src/mysql-4.0
2003-08-02 16:11:39 +02:00
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
8f50cd0472
Fix security bug. mysqld server without ssl support was completly
...
ignorant about ssl_type attribute
2003-07-30 03:33:48 +04:00
716e91eecb
Bug #473 - GRANT ... TO ''@... was requiring FLUSH PRIVILEGES to work
2003-07-21 13:46:57 +02:00
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
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
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
c1660e1a23
Lot's of clean-ups and fixes for 4.0.14.
2003-07-02 00:10:47 +03:00
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
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
7d43750eb6
Fix bug #673 : MySQL 4.0.13 no SSL connection with mysql client possible
2003-06-26 12:47:36 +05:00
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
a51ea11147
SHOW GRANTS hided real grants when grants on both column and table (Bug 654)
2003-06-23 20:03:59 +03:00
438ed49691
Removing one fix.
2003-06-23 16:05:22 +03:00
5a414bda8e
Two Sprint tasks and two behaviour changes.
2003-06-17 16:20:07 +03:00
ec4a0ee477
several bug fixes
2003-05-31 21:35:20 +03:00
5d5d5b08ac
Merge to get security patch
2003-05-08 00:12:46 +03:00
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
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
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
b086445181
merge fix
2003-04-29 14:35:10 +03:00
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
51eed4b48c
Fix for openssl on Solaris
...
Fix for grant bug with SELECT *
2003-04-28 10:32:56 +03:00
9298d590ac
properly back quoting db.table names in SHOW GRANTS
2003-04-23 20:42:07 +03:00
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
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
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
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
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
64b2048914
- Applying Sinisa's Patch "Fixing the error messages returned on
...
GRANT commands"
2003-02-19 14:50:40 +01:00
14b4b58de7
Merge sergbook.mysql.com:/usr/home/serg/Abk/mysql
...
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
2003-02-10 14:56:30 +01:00
3cc3ec177f
error message fixed (new error code will be introduced in 4.1)
2003-02-10 14:47:39 +01:00
74f478f9a5
Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2003-01-21 15:54:36 +02:00
183df2da7f
Fixes cases where thd->query was not protected.
...
This fixes a problem with SHOW PROCESSLIST
2003-01-19 02:00:26 +02:00
6b386c08a5
Fix for a bug in SHOW GRANTS when :
...
grant on database.* to xx@yy with grant option;
is done.
2003-01-11 18:02:10 +02:00
6b9f24be88
changing a bit SHOW GRANTS to display empty row in global table.
2003-01-09 23:21:20 +02:00
3ca695ea0b
Cut hostnames at HOSTNAME_LENGTH to avoid theoretical hostname overruns
...
Changed long packat handling to check for packets of length 0xffffff.
This does however break packet handling for older clients.
If you are using packets >= 16M then you need to upgrade client and server
after this patch.
2002-12-26 18:26:37 +02:00
890b39bb68
merge
2002-11-07 12:49:01 +02:00
65badfff1a
Put temporary files in binlog cache when using BEGIN/COMMIT
...
Let MySQL 4.0 read 4.1 .frm files without 4.1 specific extensions
New variables @@rand_seed1 and @@rand_seed2 (used by replication)
DROP TEMPORARY TABLE
2002-11-07 04:02:37 +02:00
a2bdf9265f
Portability fixes for Fortre C++ 5.0 (on Sun) in 32 and 64 bit modes.
2002-11-07 03:54:00 +02:00
2bcd60e113
Merge
2002-10-31 10:44:20 +02:00
808d87f810
Some changes for SSL
2002-10-30 18:27:15 +04:00
1e0538324d
Added back old LARGEFILE handling
...
Fixed reference to freed memory in acl_init()/grant_init()
Fixed possible memory leak. (Could only happen in very strange circumstances)
Fixed bug in ALTER TABLE with BDB tables
Updated mysql-test for valgrind
2002-10-29 21:59:03 +02:00
12ac759d95
Compare hostnames case insensitive
...
Accept zero dates without warnings
2002-09-25 20:42:55 +03:00