guilhem@mysql.com
4a0e006230
Scrum task 845. Thi is a behaviour change :
...
now by default, FLUSH, OPTIMIZE, ANALYZE, REPAIR commands are written to the
binlog, unless the new NO_WRITE_TO_BINLOG keyword was used :
OPTIMIZE NO_WRITE_TO_BINLOG table t;
Previously these commands were never written to the binlog, but there are
2 reasons to change this :
- the RENAME TABLE in MERGE table bug (#175 ) on slave
- the possible "differently optimised queries may lead to different
updates on the master and slave" bug, until we have automatic ORDER BY.
FLUSH LOGS/SLAVE/MASTER/TABLES WITH READ LOCK are never written to the binlog.
New test for the new logging behaviour.
Other small change : reload_acl_and_cache() and reset_slave() don't send their errors themselves,
this is more usual.
2003-05-15 18:35:39 +02: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
guilhem@mysql.com
b03ec0d7db
Replication: new code to not modify in-memory log positions until the COMMIT
...
is executed, even if the transaction spans on >=2 relay logs (bug #53 ).
New variable relay_log_purge =0|1
New test to verify bug #53
2003-04-24 15:29:25 +02:00
bell@sanja.is.com.ua
c4637293fd
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-order-4.1
2003-04-23 11:20:19 +03:00
monty@narttu.mysql.fi
a7708c7904
Merge with 4.0
2003-04-03 21:19:12 +03:00
monty@mashka.mysql.fi
ef4db1377f
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mashka.mysql.fi:/home/my/mysql-4.1
2003-03-27 14:17:51 +02:00
monty@mashka.mysql.fi
7d09120105
After merge fixes
2003-03-27 14:15:42 +02:00
bar@bar.mysql.r18.ru
0989db3e90
More OpenGIS compatibility:
...
Point, MultiLine, Poligom, etc, are now not aliases
for Geometry, but separate field types.
2003-03-27 13:09:09 +04:00
monty@mashka.mysql.fi
3bed7a6131
Merge with 4.0.13
2003-03-26 18:37:38 +02:00
guilhem@mysql.com
cc899529dc
Fix for small bug #186 (If a connection has temporary tables and does
...
RESET MASTER, this breaks replication).
In the slave SQL thread, any DROP TEMPORARY TABLE is silently
converted to DROP TEMPORARY TABLE IF EXISTS, not to have irrelevant
"table does not exist". See comments in code or bug #186 for an example
of how irrelevant errors like this can arise.
2003-03-25 16:52:48 +01:00
bar@bar.mysql.r18.ru
3a453df6c2
Two separate commands: SHOW COLLATION and SHOW CHARACTER SET
2003-03-25 13:38:05 +04:00
jani@rhols221.adsl.netsonic.fi
c7f224ca51
Reverted fix away from 4.0, because it may in rare circumstanses
...
cause compatibility problems. Fix will be enabled in 4.1.
2003-03-23 11:30:45 +02:00
jani@hynda.(none)
6112e67d64
Added error in case auto_increment and default where defined
...
at the same time.
2003-03-22 19:55:09 +02:00
monty@narttu.mysql.fi
b883a9c01c
Merge with 4.0.12
2003-03-19 22:25:44 +02:00
monty@narttu.mysql.fi
68ca84dbd1
Print right hostname or IP in SHOW PROCESSLIST
...
Use SESSION TABLE_HANDLER as default table handler if given table handler doesn't exists
2003-03-19 21:43:41 +02:00
monty@narttu.mysql.fi
48a9c1239c
Added support for ULONG division with DIV
...
Fixed non fatal memory leak in slave code.
2003-03-19 21:23:13 +02:00
monty@narttu.mysql.fi
a434bca704
Merge with 4.0
2003-03-16 19:17:54 +02:00
bar@bar.mysql.r18.ru
59f6e35cf6
sql_parse.cc, sql_db.cc:
...
less system_charset_info
2003-03-15 17:24:21 +04:00
monty@mashka.mysql.fi
968e9a73d4
merge with 3.23 to get:
...
- Fix for empty table/column names
2003-03-15 04:41:57 +02:00
monty@mashka.mysql.fi
a6482b1304
Code cleanup
2003-03-15 04:34:06 +02:00
monty@mashka.mysql.fi
5ee1dbbe58
Check for empty table/column names
2003-03-14 17:08:42 +02:00
gluh@gluh.mysql.r18.ru
7fa51a2320
Fix for embeded library compile
2003-03-13 14:12:28 +04:00
Sinisa@sinisa.nasamreza.org
51e5344dfe
Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2003-03-12 14:48:00 +02:00
monty@mashka.mysql.fi
47ec22d83f
Fix for replication of INSERT | REPLACE | CREATE ... SELECT
2003-03-12 07:51:08 +02:00
gluh@gluh.mysql.r18.ru
3d61d2d973
Conflicts relsolving
2003-03-11 16:32:17 +04:00
gluh@gluh.mysql.r18.ru
e7f4bf5b27
Added 'PURGE LOGS BEFORE' command
...
Added expire-logs-days option
2003-03-11 13:49:06 +04:00
bell@sanja.is.com.ua
c96e588490
processing of subselect in global ORDER BY (fifed crash of server)
...
this implementation have limitation: prohibited subselect in ORDER BY dependence of most outer query (will be solved after removing passing first select_lex as fake select for global mysql_select())
2003-03-11 01:06:28 +02:00
Sinisa@sinisa.nasamreza.org
717455ba26
A fix for privilege checking bug.
2003-03-10 16:58:07 +02:00
Sinisa@sinisa.nasamreza.org
4d4ac0ede3
An interim code cleanup.
...
Major re-write of code yet has to be done, to circumvent
assigning of UNIT to current select and to deal better with
offset, limit.
2003-03-07 21:47:04 +02:00
serg@serg.mysql.com
b755a87fb1
missing grant check added
2003-03-07 11:55:07 +01:00
Sinisa@sinisa.nasamreza.org
57ed8b11fd
merge fixes
2003-03-06 17:31:22 +02:00
Sinisa@sinisa.nasamreza.org
ffa8a47b6d
three bug fixes and major code cleanup
2003-03-06 17:02:10 +02:00
monty@narttu.mysql.fi
d0d071dca9
Fix for using unitialized mutex when running version compiled with --debug
2003-03-04 15:02:49 +02:00
bell@sanja.is.com.ua
80236063a1
merging
2003-02-27 19:38:39 +02:00
bell@sanja.is.com.ua
7db4ec2965
fixed bug on case insensetive file systems
2003-02-27 12:45:00 +02:00
monty@narttu.mysql.fi
9a46698e1e
Merge with 4.0.11
2003-02-26 01:03:47 +02:00
venu@myvenu.com
ee2b888696
Windows portabilty fixups (last commit caused some errors, so recomitting) - SCRUM
2003-02-20 14:14:37 -08:00
lenz@mysql.com
8a272349b9
Applied Sinisa's patch:
...
"A fix for non-releasing locks for multi table updates and multi
table deletes with InnoDB tables."
2003-02-19 15:08:29 +01:00
lenz@mysql.com
7a6d8edfd7
Applying Sinisa's patch:
...
"Cleaning the code of the remaining OLAP code.
This code is unnecessary in 4.1/5.0"
2003-02-19 14:58:44 +01:00
bell@sanja.is.com.ua
352a338147
client port number added to SHOW PROCESSLIST (SCRUM?)
2003-02-17 22:07:26 +02:00
gluh@gluh.mysql.r18.ru
2022b7b68f
SCRUM: 'Replication: PURGE LOGS with date' task
...
Added:
PURGE [MASTER] LOGS BEFORE date/date_expression
expire-logs-days option
With this option old files are deleted when
- mysqld is started
- log is rotated
- someone does FLUSH LOGS
2003-02-16 20:39:12 +04:00
monty@mashka.mysql.fi
acf8993439
Fixed problem when connecting to user without a password.
...
Fixed problem with LIKE and BINARY
2003-02-14 11:47:41 +02:00
monty@mashka.mysql.fi
9d000c323a
Updated configure script to handle 1 digit numbers in MySQL version
...
Fixed a few typos from last patch
2003-02-12 23:17:22 +02:00
monty@mashka.mysql.fi
e327393e9d
Fixed a lot of wrong memory references as reported by valgrind
...
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.
2003-02-12 21:55:37 +02:00
monty@mashka.mysql.fi
48558055ed
Move tmp_table_used to THD
...
Optimize depending sub querys
Remove valgrind warnings
2003-02-10 17:59:16 +02:00
monty@mashka.mysql.fi
25de9c19b2
After merge fixes & remove compiler warnings
...
Added lengths for all MYSQL_FIELD string parameters
Changed field length to 2 byte in .frm files
2003-02-07 15:47:24 +02:00
monty@mashka.mysql.fi
cf9668fd37
Added START TRANSACTION syntax
...
Added ALL as parameter option for all group functions.
Make join handling uniform. This allows us to use ',', JOIN and INNER JOIN the same way.
Sort NULL last if DESC is used (ANSI SQL 99 requirement)
2003-02-06 16:55:59 +02:00
monty@mashka.mysql.fi
023d6dd39b
Merge with 4.0.11
2003-02-04 21:52:14 +02:00
monty@mashka.mysql.fi
6a32ae7355
After merge fix
2003-02-04 06:44:29 +02:00
monty@mashka.mysql.fi
aee15a4407
merge
2003-02-04 03:27:47 +02:00