Commit graph

2340 commits

Author SHA1 Message Date
unknown
cdddb960be row0vers.c:
Add diagnostic code to track a probable table corruption reported by a user


innobase/row/row0vers.c:
  Add diagnostic code to track a probable table corruption reported by a user
2002-07-25 22:51:43 +03:00
unknown
48e5aa8b2a Merge work:/home/bk/mysql
into sergbook.mysql.com:/usr/home/serg/Abk/mysql
2002-07-25 12:31:47 +02:00
unknown
a3800d6d9b bugfix: uniques did not contributed to MYI tot_length estimation, which resulted in "Index file full" error on huge SELECT DISTINCT's 2002-07-25 12:30:41 +02:00
unknown
4a6b039c15 os0thread.c, configure.in:
Make the typecast trick pthread_t -> os_thread_id_t safer, but a full fix needs usage of appropriate Posix functions


innobase/configure.in:
  Make the typecast trick pthread_t -> os_thread_id_t safer, but a full fix needs usage of appropriate Posix functions
innobase/os/os0thread.c:
  Make the typecast trick pthread_t -> os_thread_id_t safer, but a full fix needs usage of appropriate Posix functions
2002-07-23 04:24:09 +03:00
unknown
a09aefb681 Merge heikki@work.mysql.com:/home/bk/mysql
into hundin.mysql.fi:/home/heikki/mysql3
2002-07-23 02:16:30 +03:00
unknown
714e9c881e Merge work:/my/mysql-3.23 into mashka.mysql.fi:/home/my/mysql-3.23 2002-07-23 02:16:29 +03:00
unknown
15013f97ca Fixed problem with auto_increment key as not first key part
Docs/manual.texi:
  Changelog
2002-07-23 02:08:48 +03:00
unknown
9e95f76000 univ.i:
Fix a bug in the storage of the SQL NULL value in 64-bit computers: the value code must fit in 32 bits


innobase/include/univ.i:
  Fix a bug in the storage of the SQL NULL value in 64-bit computers: the value code must fit in 32 bits
2002-07-23 01:59:43 +03:00
unknown
8f09b7053b row0ins.c:
Move the assertion in foreign keys to the right place


innobase/row/row0ins.c:
  Move the assertion in foreign keys to the right place
2002-07-21 13:17:49 +03:00
unknown
81a75051de dict0dict.c:
Revert the test changes to wait for a full push of new auto-inc algorithm


innobase/dict/dict0dict.c:
  Revert the test changes to wait for a full push of new auto-inc algorithm
2002-07-21 13:09:57 +03:00
unknown
b6b2546c18 row0ins.c:
Do not perform ON DELETE action for a FOREIGN KEY constraint if we are doing an UPDATE, not a DELETE
dict0dict.c:
  test


innobase/dict/dict0dict.c:
  test
innobase/row/row0ins.c:
  Do not perform ON DELETE action for a FOREIGN KEY constraint if we are doing an UPDATE, not a DELETE
2002-07-21 12:58:14 +03:00
unknown
a9c52ff717 Fix wrong usage of constant which could cause mysqld to use index when doing an update/delete on small tables.
code cleanup


Docs/manual.texi:
  changelog
sql/ha_innobase.cc:
  Removed compiler warning
sql/slave.cc:
  Cleanup comments and indentation for suppressing connect warnings
sql/sql_db.cc:
  clean up comment
sql/sql_delete.cc:
  Fix wrong usage of constant which could cause mysqld to use index when doing an update/delete on small tables.
sql/sql_update.cc:
  Fix wrong usage of constant which could cause mysqld to use index when doing an update/delete on small tables.
2002-07-19 21:57:53 +03:00
unknown
887aaff939 fil0fil.c:
Align a buffer for i/o from a raw device


innobase/fil/fil0fil.c:
  Align a buffer for i/o from a raw device
2002-07-19 18:49:25 +03:00
unknown
dda85ba004 os0file.c:
Fix a bug in the previous commit change and align also the buffer in simulataled aio for possible use in i/o to raw devices


innobase/os/os0file.c:
  Fix a bug in the previous commit change and align also the buffer in simulataled aio for possible use in i/o to raw devices
2002-07-19 17:09:40 +03:00
unknown
d0b58e3129 os0file.c:
Align the buffer used in initing a data file to zero; this may be needed if the data file is actually a raw device


innobase/os/os0file.c:
  Align the buffer used in initing a data file to zero; this may be needed if the data file is actually a raw device
2002-07-19 08:33:52 +03:00
unknown
076bdd6cc3 Another try to fix slave timeouts 2002-07-17 14:46:09 +03:00
unknown
2547e933c8 Merge sinisa@work.mysql.com:/home/bk/mysql
into sinisa.nasamreza.org:/mnt/work/mysql


sql/slave.cc:
  Auto merged
2002-07-16 22:08:41 +03:00
unknown
39859d5d7c making necessary changes after Sasha's correct remarks 2002-07-16 22:07:12 +03:00
unknown
8d4d7d6f25 Fixing slave timeouting 2002-07-16 21:16:34 +03:00
unknown
43376d554f slave.cc:
Suppress prints by slave.cc when there is a normal reconnect after the master has been quiet for the time of the net read timeout; this removes the Error 1159 messages many users have complained about in the replication of 3.23.51


sql/slave.cc:
  Suppress prints by slave.cc when there is a normal reconnect after the master has been quiet for the time of the net read timeout; this removes the Error 1159 messages many users have complained about in the replication of 3.23.51
2002-07-16 20:06:39 +03:00
unknown
1ca6b811e5 In my previous commit I didn't notice that we already have brazilian portuguese :(
BitKeeper/deleted/.del-errmsg.txt~7b5c3eb97e12d271:
  Delete: sql/share/pt_br/errmsg.txt
configure.in:
  Remove pt_br
sql/share/portuguese/errmsg.txt:
  Update portuhuese
2002-07-16 17:18:54 +05:00
unknown
1b05330d58 Adding pt_br 2002-07-16 16:55:22 +05:00
unknown
e7454a0725 Brazilian Portuguesse messages
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-07-16 16:48:56 +05:00
unknown
daede62b02 os0thread.h, srv0srv.c:
Increase max number of waiting threads to 10000 and put diagnostic prints if this value is exceeded


innobase/srv/srv0srv.c:
  Increase max number of waiting threads to 10000 and put diagnostic prints if this value is exceeded
innobase/include/os0thread.h:
  Increase max number of waiting threads to 10000 and put diagnostic prints if this value is exceeded
2002-07-16 13:59:24 +03:00
unknown
335c58d1c2 sql_db.cc:
On Monty's suggestion move ha_drop_database back inside LOCK_mysql_create_db, but we release LOCK_open during it to let possible running queries complete. I tested this and it seemed to work also in complex concurrent DELETE, SELECT, DROP DATABASE, and CREATE DATABASE situations


sql/sql_db.cc:
  On Monty's suggestion move ha_drop_database back inside LOCK_mysql_create_db, but we release LOCK_open during it to let possible running queries complete. I tested this and it seemed to work also in complex concurrent DELETE, SELECT, DROP DATABASE, and CREATE DATABASE situations
2002-07-16 03:29:02 +03:00
unknown
9e5fd21c3b - Updated OS/2 port with files provided by Yuri Dario <mc6530@mclink.it>
from TeamOS/2 Italy
- removed some obsolete files on Yuri's request
- Added missing os2 related files outside the os2 subdirectory
  to the distribution


BitKeeper/deleted/.del-MySQL-All.icc~132f824bdf16897c:
  Delete: os2/MySQL-All.icc
BitKeeper/deleted/.del-MySQL-Client.irs~6dc13dcf3bbd5c0e:
  Delete: os2/MySQL-Client.irs
BitKeeper/deleted/.del-MySQL-Lib.icc~6775a33b1eeed98:
  Delete: os2/MySQL-Lib.icc
BitKeeper/deleted/.del-MySQL-ReadLine.icc~d7ab937c4ed8922f:
  Delete: os2/MySQL-ReadLine.icc
BitKeeper/deleted/.del-MySQL-binlog.icc~ec86ef1b392553e:
  Delete: os2/MySQL-binlog.icc
BitKeeper/deleted/.del-MySQL-binlog.irs~80d1800461e185d1:
  Delete: os2/MySQL-binlog.irs
BitKeeper/deleted/.del-MySQL-sql.irs~563a18a769b1785d:
  Delete: os2/MySQL-sql.irs
BitKeeper/deleted/.del-build-all.log~8dda947d95dfb926:
  Delete: os2/build-all.log
BitKeeper/deleted/.del-mysql.base~330f9ea62769c03a:
  Delete: os2/mysql.base
BitKeeper/deleted/.del-mysql.ih~767482ec101feda3:
  Delete: os2/mysql.ih
BitKeeper/deleted/.del-readme.os2~e8fe94e278248f7e:
  Delete: os2/readme.os2
configure.in:
  Added new os2 subdirectories
include/Makefile.am:
  Added include/config-os2.h to distribution
include/config-os2.h:
  Applied modifications provided by Yuri Dario <mc6530@mclink.it> from TeamOS/2 Italy
mysys/Makefile.am:
  Added missing OS/2 files  in mysys to distribution
mysys/my_os2file64.c:
  Applied modifications provided by Yuri Dario <mc6530@mclink.it> from TeamOS/2 Italy
mysys/my_os2thread.c:
  Applied modifications provided by Yuri Dario <mc6530@mclink.it> from TeamOS/2 Italy
os2/BldLevel.cmd:
  Applied modifications provided by Yuri Dario <mc6530@mclink.it> from TeamOS/2 Italy
os2/BldLevel.rc:
  Applied modifications provided by Yuri Dario <mc6530@mclink.it> from TeamOS/2 Italy
os2/ChangeLog.os2:
  Applied modifications provided by Yuri Dario <mc6530@mclink.it> from TeamOS/2 Italy
os2/Makefile.am:
  Fixed OS/2 file list (some new files, some have been removed)
os2/MySQL-Client.icc:
  Applied modifications provided by Yuri Dario <mc6530@mclink.it> from TeamOS/2 Italy
os2/MySQL-Opt.icc:
  Applied modifications provided by Yuri Dario <mc6530@mclink.it> from TeamOS/2 Italy
os2/MySQL-Source.icc:
  Applied modifications provided by Yuri Dario <mc6530@mclink.it> from TeamOS/2 Italy
os2/MySQL-Util.icc:
  Applied modifications provided by Yuri Dario <mc6530@mclink.it> from TeamOS/2 Italy
os2/MySQL-Util.irs:
  Applied modifications provided by Yuri Dario <mc6530@mclink.it> from TeamOS/2 Italy
os2/ReadMe.txt:
  Applied modifications provided by Yuri Dario <mc6530@mclink.it> from TeamOS/2 Italy
os2/build-all.cmd:
  Applied modifications provided by Yuri Dario <mc6530@mclink.it> from TeamOS/2 Italy
os2/rint.obj:
  Applied modifications provided by Yuri Dario <mc6530@mclink.it> from TeamOS/2 Italy
2002-07-15 18:26:11 +02:00
unknown
0dd47486d6 sql_db.cc:
Revert Monty's change to the positioning of ha_drop_database(): otherwise a running query on a table to be dropped in DROP DATABASE always causes the server to hang


sql/sql_db.cc:
  Revert Monty's change to the positioning of ha_drop_database(): otherwise a running query on a table to be dropped in DROP DATABASE always causes the server to hang
2002-07-15 15:47:53 +03:00
unknown
f9232ee503 Added some patches provided by SuSE to fix build problems on
ppc64 and x86-64, fixed a compile bug when building with TCP wrapper
support on Linux


bdb/dist/acconfig.h:
  Added patch for x86_64 (provided by SuSE)
bdb/dist/aclocal/mutex.m4:
  Added patch for x86_64 (provided by SuSE)
bdb/include/mutex.h:
  Added patch for x86_64 (provided by SuSE)
include/global.h:
  Added a SMP-related patch for PPC64 (provided by SuSE)
sql/mysqld.cc:
  Compile fix for Linux when compiling with --with-librwap
2002-07-15 13:33:56 +02:00
unknown
3814a0ff76 Typo fixes, added changelog entry
Docs/manual.ja.texi:
  Fixed typo
Docs/manual.texi:
  Fixed typo, added changelog entry
2002-07-15 13:17:42 +02:00
unknown
b6637e9fb4 Updated Packager Tag 2002-07-15 09:54:26 +02:00
unknown
765519dbcf Do handler specific drop-database at safe place.
Fix for access problem (merge from 4.0)


sql/sql_db.cc:
  Do handler specific drop-database at safe place.
sql/sql_parse.cc:
  Fix for access problem (merge from 4.0)
2002-07-14 10:37:34 +03:00
unknown
9ae7aad20f my-huge.cnf.sh, my-small.cnf.sh, my-medium.cnf.sh, my-large.cnf.sh:
Update my.cnf example files to reflect InnoDB autoextend and also simplify them for InnoDB


support-files/my-large.cnf.sh:
  Update my.cnf example files to reflect InnoDB autoextend and also simplify them for InnoDB
support-files/my-medium.cnf.sh:
  Update my.cnf example files to reflect InnoDB autoextend and also simplify them for InnoDB
support-files/my-small.cnf.sh:
  Update my.cnf example files to reflect InnoDB autoextend and also simplify them for InnoDB
support-files/my-huge.cnf.sh:
  Update my.cnf example files to reflect InnoDB autoextend and also simplify them for InnoDB
2002-07-12 20:00:15 +03:00
unknown
8b1e397765 row0mysql.c:
Forgot to release an x-latch in DROP DATABASE


innobase/row/row0mysql.c:
  Forgot to release an x-latch in DROP DATABASE
2002-07-10 19:55:27 +03:00
unknown
b0b67eff59 srv0srv.c:
Protect InnoDB monitor with a mutex


innobase/srv/srv0srv.c:
  Protect InnoDB monitor with a mutex
2002-07-09 18:13:59 +03:00
unknown
a0a0af76fa This is the only way to fix ALTER TABLE bug with BDB
I wish I had connection stop  / start so that I could have made a 
test case.


Docs/manual.texi:
  This is the only way to fix ALTER TABLE bug with BDB
sql/sql_table.cc:
  This is the only way to fix ALTER TABLE bug with BDB
2002-07-09 14:57:06 +03:00
unknown
68c79127dc srv0srv.c:
Remove debug code


innobase/srv/srv0srv.c:
  Remove debug code
2002-07-08 20:08:16 +03:00
unknown
5db805be78 srv0srv.c:
Eliminate potential division by zero


innobase/srv/srv0srv.c:
  Eliminate potential division by zero
2002-07-08 20:04:10 +03:00
unknown
c0e8c9a11f Many files:
Merge InnoDB-3.23.52b


innobase/btr/btr0btr.c:
  Merge InnoDB-3.23.52b
innobase/btr/btr0cur.c:
  Merge InnoDB-3.23.52b
innobase/btr/btr0sea.c:
  Merge InnoDB-3.23.52b
innobase/buf/buf0buf.c:
  Merge InnoDB-3.23.52b
innobase/ha/ha0ha.c:
  Merge InnoDB-3.23.52b
innobase/ibuf/ibuf0ibuf.c:
  Merge InnoDB-3.23.52b
innobase/include/btr0cur.h:
  Merge InnoDB-3.23.52b
innobase/include/buf0buf.h:
  Merge InnoDB-3.23.52b
innobase/include/ha0ha.h:
  Merge InnoDB-3.23.52b
innobase/include/ibuf0ibuf.h:
  Merge InnoDB-3.23.52b
innobase/include/lock0lock.h:
  Merge InnoDB-3.23.52b
innobase/include/log0log.h:
  Merge InnoDB-3.23.52b
innobase/include/os0file.h:
  Merge InnoDB-3.23.52b
innobase/include/rem0rec.ic:
  Merge InnoDB-3.23.52b
innobase/include/srv0srv.h:
  Merge InnoDB-3.23.52b
innobase/include/sync0arr.h:
  Merge InnoDB-3.23.52b
innobase/include/sync0sync.h:
  Merge InnoDB-3.23.52b
innobase/include/trx0trx.h:
  Merge InnoDB-3.23.52b
innobase/lock/lock0lock.c:
  Merge InnoDB-3.23.52b
innobase/log/log0log.c:
  Merge InnoDB-3.23.52b
innobase/os/os0file.c:
  Merge InnoDB-3.23.52b
innobase/row/row0mysql.c:
  Merge InnoDB-3.23.52b
innobase/row/row0umod.c:
  Merge InnoDB-3.23.52b
innobase/row/row0upd.c:
  Merge InnoDB-3.23.52b
innobase/srv/srv0srv.c:
  Merge InnoDB-3.23.52b
innobase/srv/srv0start.c:
  Merge InnoDB-3.23.52b
innobase/sync/sync0arr.c:
  Merge InnoDB-3.23.52b
innobase/sync/sync0sync.c:
  Merge InnoDB-3.23.52b
innobase/trx/trx0trx.c:
  Merge InnoDB-3.23.52b
sql/ha_innobase.h:
  Merge InnoDB-3.23.52b
sql/ha_innobase.cc:
  Merge InnoDB-3.23.52b
sql/sql_lex.h:
  Merge InnoDB-3.23.52b
sql/mysqld.cc:
  Merge InnoDB-3.23.52b
sql/sql_parse.cc:
  Merge InnoDB-3.23.52b
sql/sql_yacc.yy:
  Merge InnoDB-3.23.52b
2002-07-08 19:34:49 +03:00
unknown
9eef017c57 Merge work:/home/bk/mysql
into sergbook.mysql.com:/usr/home/serg/Abk/mysql
2002-07-04 12:56:15 +02:00
unknown
88012698db do not crash on myrg_rprev/myrg_rnext if no current table
(as when previous myrg_rkey failed, e.g. found nothing)
2002-07-04 12:25:13 +02:00
unknown
99bde364f6 ha_innobase.cc:
Remove a debug printf which unintentionally was committed to the source tree


sql/ha_innobase.cc:
  Remove a debug printf which unintentionally was committed to the source tree
2002-07-03 03:39:10 +03:00
unknown
6f1f9d5c74 ha_innobase.cc:
Clarify the setting of innodb_data_file_path in my.cnf: it is in the [mysqld] section


sql/ha_innobase.cc:
  Clarify the setting of innodb_data_file_path in my.cnf: it is in the [mysqld] section
2002-07-03 03:29:30 +03:00
unknown
12fae523c3 srv0start.c:
Remove freeing of all memory at shutdown: since we do not exit the i/o-handlers and other threads, we could potentially get a seg fault at shutdown


innobase/srv/srv0start.c:
  Remove freeing of all memory at shutdown: since we do not exit the i/o-handlers and other threads, we could potentially get a seg fault at shutdown
2002-07-01 12:06:37 +03:00
unknown
ea13cafbfe row0ins.c:
The UNIV_DEBUG version asserted if a foreign key check failed because of a lock wait timeout
btr0cur.c:
  Fix a bug: if the primary key was updated (or delete + insert) so that only the case of characters changed, we were left with a dangling adaptive hash index pointer, often causing an assertion failure in page0page.ic line 515


innobase/btr/btr0cur.c:
  Fix a bug: if the primary key was updated (or delete + insert) so that only the case of characters changed, we were left with a dangling adaptive hash index pointer, often causing an assertion failure in page0page.ic line 515
innobase/row/row0ins.c:
  The UNIV_DEBUG version asserted if a foreign key check failed because of a lock wait timeout
2002-07-01 02:19:58 +03:00
unknown
fbaede459b Fixed bug in binary log when using LOAD DATA INFILE without active database.
Docs/manual.texi:
  Changelog and fix of typo
2002-06-30 23:25:46 +03:00
unknown
088bc46c57 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql
configure.in:
  Auto merged
Docs/manual.texi:
  Auto merged
2002-06-29 01:07:11 +03:00
unknown
0ac018183d Fixed copyright in pack_isam.c
Docs/manual.texi:
  Changelog
configure.in:
  Version update
isam/pack_isam.c:
  Fixed copyright
myisam/mi_cache.c:
  Indentation fixup
2002-06-29 01:06:14 +03:00
unknown
b9d64a6f43 Small typo as reported by one registered customer 2002-06-26 22:29:54 +03:00
unknown
6a51cbb0f6 Merge heikki@work.mysql.com:/home/bk/mysql
into hundin.mysql.fi:/home/heikki/mysql3
2002-06-26 21:43:17 +03:00
unknown
36bcddf9a2 buf0buf.ic:
Fix a bug: if buffer pool size > 2 GB on a 32-bit computer, we got an assertion failure because >> acted as a division operator (not as a register shift) for a wrapped-over integer value


innobase/include/buf0buf.ic:
  Fix a bug: if buffer pool size > 2 GB on a 32-bit computer, we got an assertion failure because >> acted as a division operator (not as a register shift) for a wrapped-over integer value
2002-06-26 21:42:40 +03:00