Commit graph

7196 commits

Author SHA1 Message Date
monty@mashka.mysql.fi
a651262a10 Merge service name code 2003-11-17 13:10:07 +02:00
monty@mashka.mysql.fi
0d348eeab2 Fix for service names on windows; Now we always put the service name last when we create a service 2003-11-17 13:06:32 +02:00
monty@mashka.mysql.fi
2e04da0873 Merge bk-internal.mysql.com:/home/bk/mysql-3.23
into mashka.mysql.fi:/home/my/mysql-3.23
2003-11-17 13:00:15 +02:00
monty@mashka.mysql.fi
ea337204cb Safety fix for alarms on windows. 2003-11-17 12:59:07 +02:00
serg@serg.mylan
60d60a299e Item_uint::save_in_field() added to take into account bigint->decimal case 2003-11-16 17:37:15 +01:00
vva@eagle.mysql.r18.ru
24413c7d8c fixed bug #1650 "mysql_config --libmysqd-libs misses libwrap" 2003-11-15 19:37:54 -04:00
serg@serg.mylan
9837748e5f obligatory update checksum on repair, if it is obligatory verified on check. 2003-11-14 22:08:45 +01:00
serg@serg.mylan
0b7ccfa882 make error message more detailed 2003-11-12 22:33:28 +01:00
serg@sergbook.mylan
05b3ff393f fulltext.test, fulltext.result:
one simple trunc* test
2003-11-08 15:39:10 +01:00
salle@vafla.online.bg
e51d0ced61 Fix for Bug #1752 Wrong letter cases.
Thanks to Daniel Convissor
2003-11-05 14:35:08 +02:00
walrus@mysql.com
ac8ac9ad04 Merge akishkin@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/walrus/bk/40
2003-11-05 02:36:33 +05:00
walrus@mysql.com
ae156a25e7 compile-pentium-gcov:
Stop line wraping for compiler warnings.
  It needs for warnings statistic in code coverage
2003-11-05 02:24:34 +05:00
walrus@mysql.com
9044922fae compile-pentium-gcov:
Stop the line wrapping for warnings.
  it needs for warnings statistic in code coverage
2003-11-05 02:23:13 +05:00
konstantin@mysql.com
8748cf96eb Merge kosipov@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/kostja/mysql/mysql-4.0-root
2003-11-04 12:55:39 +03:00
konstantin@mysql.com
4eb255e60e Word Police law is abided 2003-11-04 12:38:09 +03:00
serg@serg.mylan
e1e82a4e00 Merge bk-internal:/home/bk/mysql-4.0/
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
2003-11-03 23:19:20 +01:00
serg@serg.mylan
5505abe102 fixed a bug in boolean fts where a word queue was created based on min_word_len, while with trunc* operator one could get shorter words 2003-11-03 23:18:55 +01:00
konstantin@mysql.com
2aff1b520b Merge mysql.com:/home/kostja/mysql/mysql-4.0-root
into mysql.com:/home/kostja/mysql/mysql-4.0-1724
2003-11-03 22:53:42 +03:00
guilhem@mysql.com
19c2162bdc Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/mysql_src/mysql-4.0
2003-11-03 18:25:47 +01:00
guilhem@mysql.com
fbc54c139d When we delete the slave's temp tables from memory, we reset
rli->save_temporary_tables and slave_open_temp_tables
(in old 4.0 you could make "SHOW STATUS LIKE 'slave_open_temp_tables'" grow
indefinitely by doing RESET SLAVE and replicating always the same CREATE
TEMPORARY TABLE).
It's critical to reset save_temporary_tables to 0 (otherwise you may later
read memory which has been freed) so this changeset should go into 4.1.
2003-11-03 18:24:01 +01:00
konstantin@mysql.com
0143e48568 fix for bug #1724 'WHERE ... IN() optimizer behaviour
has changed since 4.0.14'
We need to calculate cost of RANGE
scan if it is present instead of cost of 
FULL scan.
2003-11-03 19:56:01 +03:00
monty@narttu.mysql.fi
3ebe794733 Portability fix 2003-11-02 16:38:27 +02:00
monty@mysql.com
306ffd74b4 Merge bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/my/mysql-4.0
2003-11-02 15:55:25 +02:00
monty@mysql.com
4668b54837 Call my_sync() after all data is written to .frm file
Added my_sync() to mysys which will do fsync/fdatasync/_commit() on a file.
2003-11-02 15:55:02 +02:00
guilhem@mysql.com
c1f7f33960 4 small items in this:
- when we don't have in_addr_t, use uint32.
- a forgotten initialization of slave_proxy_id in sql/log_event.cc (was not really "forgot", was
"we needn't init it there", but there was one case where we needed...).
- made slave_proxy_id always meaningful in THD and Log_event, so we can
rely more on it (no need to test if it's meaningful). THD::slave_proxy_id
is equal to THD::thread_id except for the slave SQL thread.
- clean up the slave's temporary table (i.e. free their memory) when slave
server shuts down.
2003-10-31 23:20:23 +01:00
konstantin@mysql.com
975177fdb2 minor fix in rm 2003-10-31 17:13:42 +03:00
konstantin@mysql.com
f9015d5ac8 thd->query assignment moved out
of lock scope
2003-10-31 17:03:08 +03:00
konstantin@mysql.com
2ec94ade8f Merge kosipov@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/kostja/mysql/mysql-4.0-root
2003-10-30 21:31:15 +03:00
konstantin@mysql.com
ca34cf30bd comments about designation of thd->where and
thd->proc_info added
2003-10-30 21:30:20 +03:00
guilhem@mysql.com
b99fd4beca Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/mysql_src/mysql-4.0
2003-10-30 16:13:38 +01:00
guilhem@mysql.com
80793657b4 Fix to be able to run
mysql-test-run --manager --valgrind
(without this fix, the manager fails to start mysqld and the tests hang).
2003-10-30 16:12:21 +01:00
konstantin@mysql.com
844cf44a4d Merge kosipov@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/kostja/mysql/mysql-4.0-root
2003-10-30 12:26:28 +03:00
konstantin@mysql.com
af02e27e3f fix for bug #1634 '"operator new" in my_new wastes memory' 2003-10-30 12:25:15 +03:00
monty@narttu.mysql.fi
a4fff85de5 Safety fix for adding service name to search config groups 2003-10-30 01:20:38 +02:00
monty@narttu.mysql.fi
bc00893d16 Change back service name to MySQL
Don't add service name to read config file segments if it's "MySQL"
Fixed possible memory leak when CHANGE USER failed.
2003-10-30 01:01:53 +02:00
guilhem@mysql.com
59d0872aa0 Fix for BUG#1686
"If 2 master threads with same-name temp table, slave makes bad binlog"
and (two birds with one stone) for
BUG#1240 "slave of slave breaks when STOP SLAVE was issud on parent slave
and temp tables".

Here is the design change:
in a slave running with --log-slave-updates, events are now logged with the
thread id they had on the master. So no more id conflicts between master threads,
but introduces id conflicts between one master thread and one normal 
client thread connected to the slave. This is solved by storing the server id
in the temp table's name.

New test which requires mysql-test-run to be run with --manager,
otherwise it will be skipped.

Undoing a Monty's change (hum, a chill runs down my spine ;) which was
"Cleanup temporary tables when slave ends" in ChangeSet 1.1572.1.1.
2003-10-29 14:23:35 +01:00
serg@serg.mylan
76ff047819 Merge bk-internal:/home/bk/mysql-4.0/
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
2003-10-29 14:01:14 +01:00
serg@serg.mylan
1d617f1888 followup to max_user_connections fix, keep the count more accurate 2003-10-29 08:33:31 +01:00
monty@narttu.mysql.fi
90b3677895 Merge bk-internal.mysql.com:/home/bk/mysql-4.0
into narttu.mysql.fi:/my/mysql-4.0
2003-10-28 19:55:08 +02:00
monty@narttu.mysql.fi
d1572484bb Fix for problem of installing MySQL as a service with
mysql --install mysql --defualts-file=path-to-file
(Bug #1643)
2003-10-28 18:36:41 +02:00
heikki@hundin.mysql.fi
de6cc5f018 row0sel.c:
If innodb_force_recovery >= 5, do not try to fetch an old version of a clustered index record: this reduces crashes when dumping tables from a corrupt database
2003-10-28 15:55:18 +02:00
serg@serg.mylan
75454930dc fixes for max_user_connections (connections are now counted even if
max_user_connections is not set - that is no limit - so that when
max_user_connections is set (with SET) old connections are also
taken into account
mutexes are added where appropriate
2003-10-27 15:14:03 +01:00
serg@serg.mylan
52c353de94 correct casting in ulonglong2double 2003-10-27 11:18:44 +01:00
serg@serg.mylan
72d00ef0c2 cleanup 2003-10-25 22:43:19 +02:00
vva@eagle.mysql.r18.ru
7023694649 Merge vvagin@bk-internal.mysql.com:/home/bk/mysql-4.0
into eagle.mysql.r18.ru:/home/vva/work/BUG_1228/mysql-4.0
2003-10-25 16:43:18 -04:00
vva@eagle.mysql.r18.ru
e93d5845d9 Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.0
into eagle.mysql.r18.ru:/home/vva/work/BUG_1348/mysql-4.0
2003-10-25 16:31:49 -04:00
vva@eagle.mysql.r18.ru
30cad8ec2f Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.0
into eagle.mysql.r18.ru:/home/vva/work/BUG_1228/mysql-4.0
2003-10-25 16:23:24 -04:00
vva@eagle.mysql.r18.ru
a6d788d115 added quotas for database names
(fixed bug #1348)
2003-10-24 17:26:26 -04:00
vva@eagle.mysql.r18.ru
dcc36e671c added to mysql_secure_installation
changing root password on all hosts (bug 1228)
2003-10-24 15:20:46 -04:00
monty@narttu.mysql.fi
37ee1b8e43 Move the pid file testing after arguments are parsed (previous patch was not correct) 2003-10-24 14:22:54 +03:00