serg@serg.mylan
323e683cbf
merged
2004-09-07 21:30:28 +02:00
guilhem@mysql.com
168e4c9c6b
when we update thd->db in replication, it's safer to update thd->db_length too.
...
This does not fix any known bug, but is still a good idea.
2004-09-07 14:57:54 +02:00
monty@mysql.com
31122efde7
Merge with 4.1
...
(Includes merge of arena code in 4.1 and 5.0)
2004-09-06 15:14:10 +03:00
bell@sanja.is.com.ua
99f92a5cab
removing archive of .frm-s added (BUG#4821)
2004-08-25 14:57:57 +03:00
serg@serg.mylan
949348f576
after merge fix
2004-08-20 22:54:42 +02:00
serg@serg.mylan
050bf6a89f
merged
2004-08-20 21:56:29 +02:00
guilhem@mysql.com
5db56a106b
Making FLUSH TABLES WITH READ LOCK block COMMITs of existing transactions,
...
in a deadlock-free manner. This splits locking the global read lock in two steps.
This fixes a consequence of this bug, known as:
BUG#4953 'mysqldump --master-data may report incorrect binlog position if using InnoDB'
And a test.
2004-08-20 16:35:23 +02:00
miguel@hegel.txg.br
da9fe0e6e2
Removed non-used variable
2004-08-17 12:20:01 -03:00
bar@mysql.com
7f58bb793e
A small fix to understand 4.1.0 format.
2004-07-27 18:43:40 +05:00
pem@mysql.com
d1c454a6f4
Post-merge fix.
2004-07-23 18:54:01 +02:00
bar@mysql.com
0f298f02db
sql_db.cc:
...
mysqld crashes on CREATE TABLE in a database with corrupted db.opt file.
Bug#4646
2004-07-23 17:11:45 +05:00
serg@serg.mylan
8d080cbcfa
manual merge
2004-07-20 15:34:57 +02:00
konstantin@mysql.com
c9656ba551
Compilation failure on Windows fixed.
2004-07-19 15:12:23 -07:00
miguel@hegel.txg
b3b598d19c
Fixes for bug #4571 (Windows compabilities)
2004-07-16 03:47:17 -03:00
bell@sanja.is.com.ua
9336d36cf8
VIEW
...
two TABLE_LIST copy eliminated
2004-07-16 01:15:55 +03:00
monty@mysql.com
31fe2837f9
Merge with 4.1
2004-07-12 08:20:24 +03:00
monty@mysql.com
fa7f63d46d
After merge fixes
2004-07-12 07:43:38 +03:00
vva@eagle.mysql.r18.ru
34857ee664
manual merge
...
charged sql/sql_db.cc only
(
changed length in mysql_create_db to path_len
so as it was calculated in the first unpack_dirname
in my previous fix for Bug #4378
'"create database IF NOT EXISTS thing" returns an error'
)
2004-07-09 21:06:32 +05:00
vva@eagle.mysql.r18.ru
6782982254
added an optimization in mysql_create_db (sql_db.cc)
...
as after effect of fix for Bug #4378
'"create database IF NOT EXISTS thing" returns an error'
(avoided an unpack_dirname and
changed strcat into strmake)
2004-07-09 20:39:50 +05:00
monty@mysql.com
c1032fe9eb
Cleanup of db option cacheing
...
Some bug fixes to last pushed code
2004-07-09 10:55:16 +03:00
vva@eagle.mysql.r18.ru
051a5461cc
fixed Bug #4378 "create database IF NOT EXISTS thing" returns an error
2004-07-08 21:25:17 +05:00
monty@mysql.com
949de54454
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/my/mysql-4.1
2004-07-08 15:45:56 +03:00
monty@mysql.com
db7efa2780
New handler::index_flags() definition to make it easy to check the full used key and a specific key part.
...
Added key part to optimize_range() to fix problems when using fields in key parts.
2004-07-08 15:45:25 +03:00
bar@mysql.com
a5025f4ca6
WL#807 Optimize loading database options in load_db_opt
...
also known as
BUG#2326 Charset of table is determined by charset of db only if "USE db;"
2004-07-08 15:03:01 +05:00
monty@mysql.com
1e31199995
Merge with 4.1.3-beta
2004-07-07 11:29:39 +03:00
guilhem@mysql.com
2b20e84ff8
Making DROP TABLE IF EXISTS, DROP DATABASE IF EXISTS, DELETE FROM, UPDATE be logged to
...
binlog even if they changed nothing, and a test for this.
This is useful when users use these commands to clean up their master and slave by issuing
one command on master (assume master and slave have slightly different data for some
reason and you want to clean up both).
Note that I have not changed multi-table DELETE and multi-table UPDATE because their
error-reporting mechanism is more complicated.
2004-06-09 16:07:01 +02:00
serg@serg.mylan
2e1ded2fe1
backport wild_compare fix from 4.1 - bug#3924
2004-05-29 17:52:20 +02:00
pem@mysql.com
71eddc362e
Merging 4.1 to 5.0.
2004-05-26 17:04:45 +02:00
hf@deer.(none)
7afbe31db4
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into deer.(none):/home/hf/work/mysql-4.1.3691
2004-05-24 14:49:47 +05:00
hf@deer.(none)
098d8dd01f
Fix for bug #3691 (libmysqld reports error 2 on CREATE DATABASE
...
but database is created)
handling of CREATE DATABASE errors changed
2004-05-24 12:23:52 +05:00
dlenev@brandersnatch.localdomain
c095ce828e
Fix for bug which caused grant.test fail on darwin7.3. We were converting db and table
...
names to lower case using latin1 instead of utf-8 in sql_acl.cc if lower_case_table_names
was on. Also replaced in other such places system_charset_info with files_charset_info
for consistency.
2004-05-22 23:41:58 +04:00
heikki@hundin.mysql.fi
02f51ccf2d
Many files:
...
Fix remaining cases of Bug #3596 : fix possible races caused by an obsolete value of thd->query_length in SHOW PROCESSLIST and SHOW INNODB STATUS; this fix depends on the fact that thd->query is always set to NULL before setting it to point to a new query
2004-05-14 16:48:56 +03:00
pem@mysql.com
bf45960eef
Merge 4.1 -> 5.0
2004-05-07 18:52:06 +02:00
monty@mysql.com
d21d49a32a
Merge with 4.0.19
2004-05-05 17:05:24 +03:00
serg@serg.mylan
4fcff3d2f1
don't rely on readdir() returning . and .. first
2004-05-04 14:36:23 +02:00
monty@mishka.local
21fd1d270e
Merge with 4.0
2004-04-26 15:53:31 +03:00
pem@mysql.com
dfd59e296e
Merge 4.1 -> 5.0.
2004-04-07 19:07:44 +02:00
Sinisa@sinisa.nasamreza.org
2ff3f487aa
A fix for the error message when database can not be dropped due to
...
the extra files being present.
2004-03-30 13:50:00 +03:00
bar@bar.intranet.mysql.r18.ru
699dafefa2
sql_db.cc:
...
More clear error message.
2004-03-29 11:05:27 +05:00
monty@mysql.com
447baa9011
After merge fixes + simple optimizations
2004-03-26 11:06:53 +02:00
pem@mysql.comhem.se
5476eb0709
WL#1366: Use the schema (db) associated with an SP.
...
Phase 4 (final): Remove associated stored procedures when a database is dropped.
2004-03-22 14:44:41 +01:00
bell@sanja.is.com.ua
bbb6642a66
aliases should be compared with my_strcasecmp (BUG#3251)
...
some db comparison code cleupup
removed compiler warnings
2004-03-22 15:43:13 +02:00
pem@mysql.comhem.se
13987057f6
WL#1366: Use the schema (db) associated with an SP.
...
Phase 3: Made qualified names work for functions as well.
2004-03-19 19:01:54 +01:00
serg@serg.mylan
13946359c6
DROP DATABASE now returns (affected_rows) number of tables dropped
2004-03-19 16:43:03 +01:00
serg@serg.mylan
47747685a3
Merge bk-internal:/home/bk/mysql-4.1/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2004-03-18 11:04:36 +01:00
serg@serg.mylan
1c658417b1
make DROP DATABASE to behave as documented in the manual - to report number of files deleted
2004-03-18 11:03:24 +01:00
monty@mysql.com
44667503b7
After merge fixes
2004-03-17 10:30:40 +02:00
monty@mysql.com
350b433569
merge with 4.0
2004-03-16 22:41:30 +02:00
monty@mysql.com
e9e9ce659e
Fixes to newly pushed code
2004-03-12 15:56:28 +02:00
vva@eagle.mysql.r18.ru
158770e356
Merge vvagin@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into eagle.mysql.r18.ru:/home/vva/work/BUG_2985/mysql-4.0
2004-03-12 17:56:27 +04:00