kostja@oak.local
7a51e36929
removed stale comment
...
13:58 <monty> konstantin: the comment is missplaced (probably after merge).
You can remove it
2003-08-29 14:38:39 +04:00
monty@narttu.mysql.fi
27e331c30a
Revert change of lower-case-table handling as this breaks how alias works.
...
Changes like this should be done to 4.1, not to a stable release
2003-08-29 04:17:30 +03:00
Sinisa@sinisa.nasamreza.org
ced195f8a9
After merge fixes
2003-08-22 18:43:46 +03:00
guilhem@mysql.com
759a3c1e3c
2 minor edits, plus
...
fix for BUG#1113 "INSERT into non-trans table SELECT ; ROLLBACK" does not send warning"
and
fix for BUG#873 "In transaction, INSERT to non-trans table is written too early to binlog".
Now we don't always write the non-trans update immediately to the binlog;
if there is something in the binlog cache we write it to the binlog cache
(because the non-trans update could depend on a trans table which was modified
earlier in the transaction); then in case of ROLLBACK, we write the binlog
cache to the binlog, wrapped with BEGIN/ROLLBACK.
This guarantees that the slave does the same updates.
For ROLLBACK TO SAVEPOINT: when we execute a SAVEPOINT command we write it
to the binlog cache. At ROLLBACK TO SAVEPOINT, if some non-trans table was updated,
we write ROLLBACK TO SAVEPOINT to the binlog cache; when the transaction
terminates (COMMIT/ROLLBACK), the binlog cache will be flushed to the binlog
(because of the non-trans update) so we'll have SAVEPOINT and ROLLBACK TO
SAVEPOINT in the binlog.
Apart from this rare case of updates of mixed table types in transaction, the
usual way is still clear the binlog cache at ROLLBACK, or chop it at
ROLLBACK TO SAVEPOINT (meaning the SAVEPOINT command is also chopped, which
is fine).
Note that BUG#873 encompasses subbugs 1) and 2) of BUG#333 "3 binlogging bugs when doing INSERT with mixed InnoDB/MyISAM".
2003-08-22 15:39:24 +02:00
dlenev@mysql.com
bb96092202
Fix for BUG#1086. Now we don't preserve event's log_pos through
...
log-slave-updates since this causes unexpected values in
Exec_master_log_pos in A->B->C replication setup, synchronization
problems in master_pos_wait()...
Still this brokes some functionality in sql/repl_failsafe.cc
(but this file is not used now)
2003-08-20 03:38:31 +04:00
monty@narttu.mysql.fi
7b13560ce7
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
...
into narttu.mysql.fi:/my/mysql-4.0
2003-08-17 14:10:45 +03:00
monty@narttu.mysql.fi
d79cbc3b99
Fix mutex handling in SHOW_VARIABLES (key_buffer_size was not properly protected)
...
Changed some non fatal myisamchk error messages to warnings
2003-08-17 14:10:15 +03:00
monty@mashka.mysql.fi
2fb441fdf7
Remove wrong bug fix when calling create_sort_index.
...
Fix possible replication bug with LOAD DATA ... IGNORE LINES #
2003-08-10 05:14:16 +03:00
Sinisa@sinisa.nasamreza.org
e08a00bd02
Fuller implementation of lower case table names.
...
Bug record #828
2003-07-23 17:36:56 +03:00
monty@mashka.mysql.fi
e1aa90a9bf
Safety and speedup fixes:
...
Changed is_open() to work as before.
Added back inited argument to LOG
2003-07-14 10:12:05 +03:00
guilhem@mysql.com
fbebac9a48
Fix for BUG#791:
...
a safer way of initing the mutexes in MYSQL_LOG.
is_open() is now always thread-safe.
See each file for details.
2003-07-11 14:26:44 +02:00
monty@mashka.mysql.fi
d495656ac5
Cleanups
2003-07-09 00:55:07 +03:00
guilhem@mysql.com
46b0e778b8
Fix for
...
BUG#797 "If query ignored on slave (replicate-ignore-table) the slave still checks if
the returned error (0) is the same as the one on the master, whereas it shouldn't
test this.
Plus a new test for BUG#797.
2003-07-08 15:50:57 +02:00
guilhem@mysql.com
e386d0e126
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into mysql.com:/home/mysql_src/mysql-4.0
2003-07-06 18:01:39 +02:00
guilhem@mysql.com
9c73d91d54
WL#912 (more user control on relay logs):
...
FLUSH LOGS now rotates relay logs,
and a new variable max_relay_log_size.
Plus a very small bit of code cleaning.
2003-07-06 17:59:54 +02:00
Sinisa@sinisa.nasamreza.org
5fb59b2dd6
Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2003-07-04 23:06:22 +03:00
monty@narttu.mysql.fi
a3fe7c0959
Remove compiler warnings
...
Simple cleanup of previous pull
2003-07-04 23:06:19 +03:00
Sinisa@sinisa.nasamreza.org
e82d5eeb9b
Fix for bug #676
...
A security leak with SHOW TABLES/ TABLE STATUS FROM db ...
2003-07-03 23:41:07 +03:00
monty@narttu.mysql.fi
f259f379e4
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
...
into narttu.mysql.fi:/my/mysql-4.0
2003-07-03 11:56:30 +03:00
monty@narttu.mysql.fi
c21728f8c8
Cleaner implementation if INSERT ... SELECT with same tables
...
Tests cleanup (put drop database first in tests)
2003-07-03 11:55:36 +03:00
vva@eagle.mysql.r18.ru
6bbe7b8075
add comment for BUG 672
2003-07-02 19:08:31 -04:00
vva@eagle.mysql.r18.ru
da9d454cc3
Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.0
...
into eagle.mysql.r18.ru:/home/vva/work/BUG_672/mysql-4.0
2003-07-02 17:37:23 -04:00
vva@eagle.mysql.r18.ru
55e046a807
fixed bug #672
2003-07-02 16:56:27 -04:00
monty@narttu.mysql.fi
b41cc92373
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
...
into narttu.mysql.fi:/my/mysql-4.0
2003-07-02 10:57:03 +03:00
monty@narttu.mysql.fi
1b11e4afad
Fixed password check problem on windows (Bug #464 )
2003-07-02 10:56:39 +03: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
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
gluh@gluh.mysql.r18.ru
79780cbd9c
Fix for bug #616 mysqld crash / SSL with SQLyog
2003-06-19 15:38:52 +05:00
Sinisa@sinisa.nasamreza.org
833e3db2a7
Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2003-06-17 16:24:31 +03:00
Sinisa@sinisa.nasamreza.org
5a414bda8e
Two Sprint tasks and two behaviour changes.
2003-06-17 16:20:07 +03:00
heikki@hundin.mysql.fi
4da7f485b7
Many files:
...
Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
2003-06-15 01:04:28 +03:00
monty@narttu.mysql.fi
9e5ec9a5f3
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
...
into narttu.mysql.fi:/my/mysql-4.0
2003-06-12 22:40:08 +03:00
monty@narttu.mysql.fi
ecdb1c768c
Changed safemalloc structure to not have to be 8 byte aligned. (Portability problem)
2003-06-12 22:39:45 +03:00
serg@serg.mylan
36aae14f1a
HANDLER priv check fixed
2003-06-12 17:38:15 +02:00
heikki@hundin.mysql.fi
255a40c2f0
sql_yacc.yy, sql_parse.cc, sql_lex.h, mysqld.cc, lex.h:
...
Add syntax SAVEPOINT id and ROLLBACK TO SAVEPOINT id. This is compatible with DB2 and Oracle but not with SQL Server. Savepoints do not do anything yet, this is just parsing.
2003-06-06 04:18:58 +03:00
monty@narttu.mysql.fi
772adcbd99
Print error if we can't delete an alarm
...
More debugging variables
Increment aborted_threads in case of killed or too big packet
2003-06-05 12:29:13 +03:00
Sinisa@sinisa.nasamreza.org
d5bd302649
A fix for small stack overflow ...
2003-06-03 18:25:45 +03:00
Sinisa@sinisa.nasamreza.org
ec4a0ee477
several bug fixes
2003-05-31 21:35:20 +03:00
monty@narttu.mysql.fi
c01678bc3d
Added option --read-only (Thanks to Markus Benning)
2003-05-19 12:01:38 +03:00
monty@narttu.mysql.fi
dcb7b452bd
Fixed bug in CREATE ... DECIMAL(-1,1). Bug #432
2003-05-14 22:12:55 +03:00
monty@narttu.mysql.fi
d8a6c1ca22
Fix for checking global_access rights
2003-05-14 01:55:23 +03:00
monty@narttu.mysql.fi
717cbb6da1
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
...
into narttu.mysql.fi:/my/mysql-4.0
2003-05-14 01:28:59 +03:00
guilhem@mysql.com
05c8973671
Fix for bug 343 : we require only REPLICATION CLIENT for
...
SHOW SLAVE STATUS and SHOW MASTER STATUS, because this is what
the manual states. We still accept SUPER.
2003-05-13 23:03:00 +02:00
monty@narttu.mysql.fi
13530887cb
Fix for UNION and LEFT JOIN (Bug #386 )
...
Fixed wrong logging of Access denied error (Bug #398 )
2003-05-13 18:58:26 +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
monty@mashka.mysql.fi
38bb63e16b
Updated comment
2003-05-07 23:15:46 +03: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