- 19 Dec, 2003 1 commit
-
-
guilhem@gbichot2 authored
* A more dynamic binlog format which allows small changes (1064) * Log session variables in Query_log_event (1063) It contains a few bugfixes (which I made when running the testsuite). I carefully updated the results of the testsuite (i.e. I checked for every one, if the difference between .reject and .result could be explained). Apparently mysql-test-run --manager is broken in 4.1 and 5.0 currently, so I could neither run the few tests which require --manager, nor check that they pass nor modify their .result. But for builds, we don't run with --manager. Apart from --manager, the full testsuite passes, with Valgrind too (no errors). I'm going to push in the next minutes. Remains: update the manual. Note: by chance I saw that (in 4.1, in 5.0) rpl_get_lock fails when run alone; this is normal at it makes assumptions on thread ids. I will fix this one day in 4.1.
-
- 18 Dec, 2003 2 commits
-
-
guilhem@mysql.com authored
into mysql.com:/home/mysql_src/mysql-5.0-new-binlog-format
-
guilhem@gbichot2 authored
This is the main commit for Worklog tasks: * A more dynamic binlog format which allows small changes (1064) * Log session variables in Query_log_event (1063) Below 5.0 means 5.0.0. MySQL 5.0 is able to replicate FOREIGN_KEY_CHECKS, UNIQUE_KEY_CHECKS (for speed), SQL_AUTO_IS_NULL, SQL_MODE. Not charsets (WL#1062), not some vars (I can only think of SQL_SELECT_LIMIT, which deserves a special treatment). Note that this works for queries, except LOAD DATA INFILE (for this it would have to wait for Dmitri's push of WL#874, which in turns waits for the present push, so... the deadlock must be broken!). Note that when Dmitri pushes WL#874 in 5.0.1, 5.0.0 won't be able to replicate a LOAD DATA INFILE from 5.0.1. Apart from that, the new binlog format is designed so that it can tolerate a little variation in the events (so that a 5.0.0 slave could replicate a 5.0.1 master, except for LOAD DATA INFILE unfortunately); that is, when I later add replication of charsets it should break nothing. And when I later add a UID to every event, it should break nothing. The main change brought by this patch is a new type of event, Format_description_log_event, which describes some lengthes in other event types. This event is needed for the master/slave/mysqlbinlog to understand a 5.0 log. Thanks to this event, we can later add more bytes to the header of every event without breaking compatibility. Inside Query_log_event, we have some additional dynamic format, as every Query_log_event can have a different number of status variables, stored as pairs (code, value); that's how SQL_MODE and session variables and catalog are stored. Like this, we can later add count of affected rows, charsets... and we can have options --don't-log-count-affected-rows if we want. MySQL 5.0 is able to run on 4.x relay logs, 4.x binlogs. Upgrading a 4.x master to 5.0 is ok (no need to delete binlogs), upgrading a 4.x slave to 5.0 is ok (no need to delete relay logs); so both can be "hot" upgrades. Upgrading a 3.23 master to 5.0 requires as much as upgrading it to 4.0. 3.23 and 4.x can't be slaves of 5.0. So downgrading from 5.0 to 4.x may be complicated. Log_event::log_pos is now the position of the end of the event, which is more useful than the position of the beginning. We take care about compatibility with <5.0 (in which log_pos is the beginning). I added a short test for replication of SQL_MODE and some other variables. TODO: - after committing this, merge the latest 5.0 into it - fix all tests - update the manual with upgrade notes.
-
- 17 Dec, 2003 1 commit
-
-
jani@linux.local authored
BUILD/compile-pentium-debug-max
-
- 16 Dec, 2003 11 commits
-
-
pem@mysql.comhem.se authored
all the other mysql.* tables.
-
pem@mysql.comhem.se authored
Multiple result sets from stored procedures now works with the mysql and mysqltest clients.
-
pem@mysql.com authored
-
jani@rhols221.adsl.netsonic.fi authored
into rhols221.adsl.netsonic.fi:/home/my/bk/mysql-4.1
-
jani@rhols221.adsl.netsonic.fi authored
-
ram@gw.mysql.r18.ru authored
note: bar asked me to use res.charset in ::sql_type() functions to be more consistent.
-
pem@mysql.comhem.se authored
Added missing cleanup in sp-security.test.
-
hf@deer.(none) authored
-
jani@rhols221.adsl.netsonic.fi authored
-
jani@rhols221.adsl.netsonic.fi authored
command delimiter to change the default delimiter (;) to something else, a string upto 16 characters is allowed. Separate the sub queries with ';' and end the whole statement with your own delimiter.
-
monty@mysql.com authored
-
- 15 Dec, 2003 6 commits
-
-
monty@mysql.com authored
into mysql.com:/my/mysql-4.1
-
monty@mysql.com authored
-
ram@gw.mysql.r18.ru authored
part one of the fix for the bug #2077: accented characters in enum/defaul values are reported incorrectly
-
monty@mysql.com authored
into mysql.com:/my/mysql-4.1
-
monty@mysql.com authored
Signed auto_increment keys for HASH tables (like for MyISAM tables in 4.0) nitialize system_charset_info() early. Fixes core dump when starting windows service
-
pem@mysql.comhem.se authored
-
- 13 Dec, 2003 5 commits
-
-
miguel@hegel.local authored
-
serg@serg.mylan authored
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
-
serg@serg.mylan authored
-
pem@mysql.comhem.se authored
(Also put the hostpart back in the definer column.)
-
Sinisa@sinisa.nasamreza.org authored
Bug happens in INTERVAL function when number of compared arguments is 8 or more.
-
- 12 Dec, 2003 3 commits
-
-
serg@serg.mylan authored
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
-
pem@mysql.comhem.se authored
-
pem@mysql.comhem.se authored
make characteristics (and SHOW) work right, we had to separate the old definition blob in the mysql.proc table into separate fields for parameters, return type, and body, and handle the characteristics (like SQL SECURITY) separately... and then reassemble the CREATE string for parsing, of course. This is rather ugly, mostly the parser bit. (Hopefully that will be better with the new parser.)
-
- 11 Dec, 2003 4 commits
-
-
-
pem@mysql.comhem.se authored
sql_mode is stored and used with SPs. sql_select_limit is always unlimited in SPs.
-
serg@serg.mylan authored
-
Allow numeric literals have a sign
-
- 10 Dec, 2003 3 commits
-
-
pem@mysql.comhem.se authored
Also made the parsing and handling of SP characteristics more general and extendable, and added a few ch:istics.
-
ram@gw.mysql.r18.ru authored
-
Deprecate the use of TYPE=... Preferred syntax is ENGINE=
-
- 09 Dec, 2003 4 commits
-
-
igor@rurik.mysql.com authored
Fixed a wrong return code by the function init_key_cache.
-
pem@mysql.comhem.se authored
-
pem@mysql.com authored
-
ram@gw.mysql.r18.ru authored
into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b1994
-