Commit graph

336 commits

Author SHA1 Message Date
heikki@donna.mysql.fi
1d7747aa25 ut0mem.c Merge changes in InnoDB-3.23.43b
ut0ut.c 	Merge changes in InnoDB-3.23.43b
trx0purge.c	Merge changes in InnoDB-3.23.43b
trx0rec.c	Merge changes in InnoDB-3.23.43b
trx0trx.c	Merge changes in InnoDB-3.23.43b
trx0undo.c	Merge changes in InnoDB-3.23.43b
thr0loc.c	Merge changes in InnoDB-3.23.43b
sync0arr.c	Merge changes in InnoDB-3.23.43b
sync0rw.c	Merge changes in InnoDB-3.23.43b
sync0sync.c	Merge changes in InnoDB-3.23.43b
srv0srv.c	Merge changes in InnoDB-3.23.43b
srv0start.c	Merge changes in InnoDB-3.23.43b
row0ins.c	Merge changes in InnoDB-3.23.43b
row0mysql.c	Merge changes in InnoDB-3.23.43b
row0purge.c	Merge changes in InnoDB-3.23.43b
row0sel.c	Merge changes in InnoDB-3.23.43b
row0umod.c	Merge changes in InnoDB-3.23.43b
row0upd.c	Merge changes in InnoDB-3.23.43b
row0vers.c	Merge changes in InnoDB-3.23.43b
rem0cmp.c	Merge changes in InnoDB-3.23.43b
que0que.c	Merge changes in InnoDB-3.23.43b
pars0opt.c	Merge changes in InnoDB-3.23.43b
pars0pars.c	Merge changes in InnoDB-3.23.43b
lexyy.c 	Merge changes in InnoDB-3.23.43b
pars0grm.c	Merge changes in InnoDB-3.23.43b
page0page.c	Merge changes in InnoDB-3.23.43b
os0file.c	Merge changes in InnoDB-3.23.43b
mtr0log.c	Merge changes in InnoDB-3.23.43b
mem0pool.c	Merge changes in InnoDB-3.23.43b
log0log.c	Merge changes in InnoDB-3.23.43b
log0recv.c	Merge changes in InnoDB-3.23.43b
lock0lock.c	Merge changes in InnoDB-3.23.43b
ibuf0ibuf.c	Merge changes in InnoDB-3.23.43b
fil0fil.c	Merge changes in InnoDB-3.23.43b
dict0crea.c	Merge changes in InnoDB-3.23.43b
dict0dict.c	Merge changes in InnoDB-3.23.43b
dict0load.c	Merge changes in InnoDB-3.23.43b
dict0mem.c	Merge changes in InnoDB-3.23.43b
data0data.c	Merge changes in InnoDB-3.23.43b
data0type.c	Merge changes in InnoDB-3.23.43b
buf0buf.c	Merge changes in InnoDB-3.23.43b
buf0lru.c	Merge changes in InnoDB-3.23.43b
btr0btr.c	Merge changes in InnoDB-3.23.43b
btr0cur.c	Merge changes in InnoDB-3.23.43b
btr0pcur.c	Merge changes in InnoDB-3.23.43b
btr0sea.c	Merge changes in InnoDB-3.23.43b
data0type.ic	Merge changes in InnoDB-3.23.43b
dict0dict.ic	Merge changes in InnoDB-3.23.43b
mtr0mtr.ic	Merge changes in InnoDB-3.23.43b
row0upd.ic	Merge changes in InnoDB-3.23.43b
sync0ipm.ic	Merge changes in InnoDB-3.23.43b
sync0rw.ic	Merge changes in InnoDB-3.23.43b
sync0sync.ic	Merge changes in InnoDB-3.23.43b
trx0rseg.ic	Merge changes in InnoDB-3.23.43b
btr0pcur.ic	Merge changes in InnoDB-3.23.43b
buf0buf.ic	Merge changes in InnoDB-3.23.43b
data0data.ic	Merge changes in InnoDB-3.23.43b
row0upd.h	Merge changes in InnoDB-3.23.43b
srv0srv.h	Merge changes in InnoDB-3.23.43b
sync0arr.h	Merge changes in InnoDB-3.23.43b
sync0rw.h	Merge changes in InnoDB-3.23.43b
sync0sync.h	Merge changes in InnoDB-3.23.43b
trx0trx.h	Merge changes in InnoDB-3.23.43b
ut0mem.h	Merge changes in InnoDB-3.23.43b
data0data.h	Merge changes in InnoDB-3.23.43b
data0type.h	Merge changes in InnoDB-3.23.43b
db0err.h	Merge changes in InnoDB-3.23.43b
dict0crea.h	Merge changes in InnoDB-3.23.43b
dict0dict.h	Merge changes in InnoDB-3.23.43b
dict0load.h	Merge changes in InnoDB-3.23.43b
dict0mem.h	Merge changes in InnoDB-3.23.43b
dict0types.h	Merge changes in InnoDB-3.23.43b
fil0fil.h	Merge changes in InnoDB-3.23.43b
ibuf0ibuf.h	Merge changes in InnoDB-3.23.43b
lock0lock.h	Merge changes in InnoDB-3.23.43b
log0log.h	Merge changes in InnoDB-3.23.43b
mtr0mtr.h	Merge changes in InnoDB-3.23.43b
rem0cmp.h	Merge changes in InnoDB-3.23.43b
row0ins.h	Merge changes in InnoDB-3.23.43b
row0mysql.h	Merge changes in InnoDB-3.23.43b
btr0cur.h	Merge changes in InnoDB-3.23.43b
btr0pcur.h	Merge changes in InnoDB-3.23.43b
btr0sea.h	Merge changes in InnoDB-3.23.43b
buf0buf.h	Merge changes in InnoDB-3.23.43b
sql_table.cc	Merge changes in InnoDB-3.23.43b
sql_db.cc	Merge changes in InnoDB-3.23.43b
ha_innobase.cc	Merge changes in InnoDB-3.23.43b
handler.cc	Merge changes in InnoDB-3.23.43b
ha_innobase.h	Merge changes in InnoDB-3.23.43b
handler.h	Merge changes in InnoDB-3.23.43b
2001-10-10 22:47:08 +03:00
monty@hundin.mysql.fi
88aff4bf85 Updated manual about embedded version.
Speed up column-completion in 'mysql'
Don't use ISAM if HAVE_ISAM is not defined
A lot of fixes for the embedded version.  All libraries are now included in libmysqld.a
Changed arguments to convert_dirname() to make it more general.
Renamed files in the 'merge' directory to all use a common prefix.
Don't compile both assembler and C functions on x86
2001-10-08 04:58:07 +03:00
monty@hundin.mysql.fi
12aa7e5e84 Fix for make dist 2001-09-29 15:37:53 +03:00
monty@work.mysql.com
fde15863ab Merge work.mysql.com:/home/bk/mysql
into work.mysql.com:/home/bk/mysql-4.0
2001-09-22 16:40:57 +02:00
heikki@donna.mysql.fi
df1045ee3c os0sync.c Define os_fast_mutex functions also in Windows 2001-09-20 21:43:58 +03:00
heikki@donna.mysql.fi
e2389946dd os0sync.h Define os_fast_mutex functions also in Windows
os0sync.ic	Define os_fast_mutex functions also in Windows
2001-09-20 21:38:46 +03:00
heikki@donna.mysql.fi
0b064c3b09 univ.i Changes to eliminate unnecessary Purify warnings (documentation of flag UNIV_SET_MEM_TO_ZERO) 2001-09-20 21:14:49 +03:00
heikki@donna.mysql.fi
59f9fc4fe2 mem0mem.ic Changes to eliminate unnecessary Purify warnings
ut0mem.h	Changes to eliminate unnecessary Purify warnings
ut0mem.ic	Changes to eliminate unnecessary Purify warnings
srv0start.c	Changes to eliminate unnecessary Purify warnings
mem0pool.c	Changes to eliminate unnecessary Purify warnings
ut0mem.c	Changes to eliminate unnecessary Purify warnings
2001-09-20 21:04:48 +03:00
monty@work.mysql.com
eb9cbe2cba merge 2001-09-17 23:26:00 +02:00
heikki@donna.mysql.fi
af171ae375 log0log.c Eliminate a Purify warning
buf0buf.c	Fix uninitilaized flush field noticed with Purify
2001-09-17 18:17:38 +03:00
monty@hundin.mysql.fi
7cadc6e711 Changed to use my_global.h
Fixed problem with LIKE with latin1_de
Added parsing support of UNSIGNED LONG LONG
2001-09-14 02:54:33 +03:00
heikki@donna.mysql.fi
6fac59e501 data0data.c Fix an assertion failure in rem0rec.c line 195 when a > 8000 byte row is updated and an internally stored field shortened 2001-09-05 20:29:34 +03:00
heikki@donna.mysql.fi
3aac9b209e lock0lock.c Fix slowness of deadlock detection algorithm
trx0trx.h	Fix slowness of deadlock detection algorithm
2001-09-05 18:21:21 +03:00
heikki@donna.mysql.fi
d2999b49f4 buf0flu.c Testing if the file is ok in Bitkeeper 2001-08-29 19:59:01 +03:00
heikki@donna.mysql.fi
1311f7ce16 trx0roll.c Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
trx0sys.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
trx0trx.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
row0mysql.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
row0purge.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
row0sel.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
row0uins.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
row0umod.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
row0upd.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
srv0srv.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
srv0start.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
sync0arr.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
fil0fil.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
ibuf0ibuf.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
lock0lock.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
os0file.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
btr0btr.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
btr0cur.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
btr0sea.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
buf0buf.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
data0data.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
srv0srv.h	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
trx0sys.h	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
trx0trx.h	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
btr0cur.h	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
buf0buf.h	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
data0data.h	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
ha_innobase.cc	Fix the auto-inc+REPLACE+replication bug, improve InnoDB Monitor prints
2001-08-29 19:42:23 +03:00
monty@hundin.mysql.fi
0b9c92103f merge 2001-08-18 12:17:56 +03:00
monty@hundin.mysql.fi
b1cb5b6ff0 Portability fixes.
Let myisamchk generate a new checksum for compressed data.
Don't unconditionally force filenames to lower case on windows.
Update mysqltest to match 4.0 source (to get some of the new bug fixes into 3.23)
2001-08-18 10:49:00 +03:00
heikki@donna.mysql.fi
df71c22417 sync0sync.c This inline assmebly does not compile on gcc-2.96 and Intel: remove it 2001-08-15 14:11:56 +03:00
heikki@donna.mysql.fi
335dda93b4 row0sel.c Fix a memory freeing bug when a row which contains an externally stored long field in the middle of the row is fetched in a SELECT
srv0start.c	Allow drive name followed by a ':' in a data file path
ha_innobase.cc	Allow drive name followed by a ':' in a data file path
2001-08-13 18:37:00 +03:00
monty@hundin.mysql.fi
8a9d6072fa merge 2001-08-10 17:47:05 +03:00
monty@hundin.mysql.fi
e7575da7bb Portability fixes
Added record_rnd_buffer
Added --safe-user-create
Fix for ALTER TABLE RENAME on windows
2001-08-10 17:37:37 +03:00
heikki@donna.mysql.fi
70455174f0 ibuf0ibuf.c Fix a potential hang in database shutdown (not known if there is such, but let us play safe) 2001-08-10 01:12:42 +03:00
heikki@donna.mysql.fi
6e553a2c65 btr0cur.c Improve range size estimate for big ranges
ha_innobase.cc	Fix Sort aborted bug
2001-08-09 20:41:20 +03:00
heikki@donna.mysql.fi
589bb2c0a6 row0upd.c Fix a memory overwrite which can happen if we update or delete a > 8000-byte row 2001-08-08 22:31:44 +03:00
heikki@donna.mysql.fi
c3cc2243a5 trx0purge.c Fix a bug which might stop purge from running
buf0flu.c	Add an include to fix compile problem in non-inlined version
2001-08-08 21:35:43 +03:00
heikki@donna.mysql.fi
94db78ce61 srv0srv.h Support raw disk partitions as data files
srv0start.c	Support raw disk partitions as data files
srv0srv.c	Support raw disk partitions as data files
row0purge.c	< 4 GB rows, doublewrite, hang fixes
row0row.c	< 4 GB rows, doublewrite, hang fixes
row0sel.c	< 4 GB rows, doublewrite, hang fixes
row0uins.c	< 4 GB rows, doublewrite, hang fixes
row0umod.c	< 4 GB rows, doublewrite, hang fixes
row0undo.c	< 4 GB rows, doublewrite, hang fixes
row0upd.c	< 4 GB rows, doublewrite, hang fixes
srv0srv.c	< 4 GB rows, doublewrite, hang fixes
srv0start.c	< 4 GB rows, doublewrite, hang fixes
sync0rw.c	< 4 GB rows, doublewrite, hang fixes
sync0sync.c	< 4 GB rows, doublewrite, hang fixes
trx0purge.c	< 4 GB rows, doublewrite, hang fixes
trx0rec.c	< 4 GB rows, doublewrite, hang fixes
trx0sys.c	< 4 GB rows, doublewrite, hang fixes
btr0btr.c	< 4 GB rows, doublewrite, hang fixes
btr0cur.c	< 4 GB rows, doublewrite, hang fixes
buf0buf.c	< 4 GB rows, doublewrite, hang fixes
buf0flu.c	< 4 GB rows, doublewrite, hang fixes
buf0rea.c	< 4 GB rows, doublewrite, hang fixes
data0data.c	< 4 GB rows, doublewrite, hang fixes
fil0fil.c	< 4 GB rows, doublewrite, hang fixes
fsp0fsp.c	< 4 GB rows, doublewrite, hang fixes
ibuf0ibuf.c	< 4 GB rows, doublewrite, hang fixes
lock0lock.c	< 4 GB rows, doublewrite, hang fixes
log0log.c	< 4 GB rows, doublewrite, hang fixes
log0recv.c	< 4 GB rows, doublewrite, hang fixes
os0file.c	< 4 GB rows, doublewrite, hang fixes
page0cur.c	< 4 GB rows, doublewrite, hang fixes
pars0pars.c	< 4 GB rows, doublewrite, hang fixes
rem0cmp.c	< 4 GB rows, doublewrite, hang fixes
rem0rec.c	< 4 GB rows, doublewrite, hang fixes
row0ins.c	< 4 GB rows, doublewrite, hang fixes
row0mysql.c	< 4 GB rows, doublewrite, hang fixes
univ.i  	< 4 GB rows, doublewrite, hang fixes
data0data.ic	< 4 GB rows, doublewrite, hang fixes
mach0data.ic	< 4 GB rows, doublewrite, hang fixes
rem0rec.ic	< 4 GB rows, doublewrite, hang fixes
row0upd.ic	< 4 GB rows, doublewrite, hang fixes
trx0rec.ic	< 4 GB rows, doublewrite, hang fixes
rem0cmp.h	< 4 GB rows, doublewrite, hang fixes
rem0rec.h	< 4 GB rows, doublewrite, hang fixes
row0ins.h	< 4 GB rows, doublewrite, hang fixes
row0mysql.h	< 4 GB rows, doublewrite, hang fixes
row0row.h	< 4 GB rows, doublewrite, hang fixes
row0upd.h	< 4 GB rows, doublewrite, hang fixes
srv0srv.h	< 4 GB rows, doublewrite, hang fixes
sync0sync.h	< 4 GB rows, doublewrite, hang fixes
trx0rec.h	< 4 GB rows, doublewrite, hang fixes
trx0sys.h	< 4 GB rows, doublewrite, hang fixes
trx0types.h	< 4 GB rows, doublewrite, hang fixes
trx0undo.h	< 4 GB rows, doublewrite, hang fixes
ut0dbg.h	< 4 GB rows, doublewrite, hang fixes
ut0ut.h 	< 4 GB rows, doublewrite, hang fixes
btr0btr.h	< 4 GB rows, doublewrite, hang fixes
btr0cur.h	< 4 GB rows, doublewrite, hang fixes
buf0buf.h	< 4 GB rows, doublewrite, hang fixes
buf0flu.h	< 4 GB rows, doublewrite, hang fixes
data0data.h	< 4 GB rows, doublewrite, hang fixes
dict0mem.h	< 4 GB rows, doublewrite, hang fixes
fil0fil.h	< 4 GB rows, doublewrite, hang fixes
fsp0fsp.h	< 4 GB rows, doublewrite, hang fixes
os0file.h	< 4 GB rows, doublewrite, hang fixes
2001-08-04 19:36:14 +03:00
heikki@donna.mysql.fi
cc35360696 row0sel.c Remove a possible cause of the Peter Zaitsev hang 2001-07-20 20:58:58 +03:00
heikki@donna.mysql.fi
20d0a09002 dict0dict.ic Remove acquisition of the dictionary mutex: this may fix the hang observed by Peter Zaitsev
os0file.c	Use O_SYNC instead of O_DSYNC because in Linux there may be a bug
2001-07-20 19:01:23 +03:00
heikki@donna.mysql.fi
147c51b59b row0sel.c Disable a special join speed optimization until Peter Zaitsev's hang is tracked down 2001-07-20 00:32:41 +03:00
heikki@donna.mysql.fi
b534cd6608 srv0start.c Remove old code 2001-07-19 23:00:42 +03:00
heikki@donna.mysql.fi
be05b70c0d srv0srv.h Support raw disk as a data file
srv0start.c	Support raw disk as a data file
srv0srv.c	Support raw disk as a data file
ha_innobase.cc	Some error messages and support raw disk as a data file
2001-07-19 22:46:41 +03:00
heikki@donna.mysql.fi
7f6e4a78ca univ.i Added a new debug define option
sync0sync.ic	Do not use GCC in-line assembly
srv0start.h	Eliminate a deadlock of threads at startup
buf0buf.h	Add some debug functions
srv0start.c	Remove a printf
2001-06-24 20:09:41 +03:00
heikki@donna.mysql.fi
9187316332 sync0sync.c Do not use in-line assembly in GCC
srv0start.c	Eliminate a deadlock of threads at startup
row0mysql.c	Several bug fixes
row0umod.c	Several bug fixes
row0upd.c	Several bug fixes
os0file.c	Revert back to fsync as default flush method
log0recv.c	Several bug fixes
ibuf0ibuf.c	Several bug fixes
fsp0fsp.c	Several bug fixes
trx0undo.c	Put some assertions to uncover possible bugs
dict0boot.c	Several bug fixes
2001-06-24 19:51:20 +03:00
heikki@donna.mysql.fi
fbd725063f buf0buf.c Several bug fixes
buf0flu.c	Several bug fixes
buf0rea.c	Several bug fixes
buf0lru.c	Clearer error message
2001-06-24 19:33:50 +03:00
heikki@donna.mysql.fi
dc1cc4f7ae btr0pcur.c Fix a bug in persistent cursor restoration: this could cause crashes especially if the buffer pool is small 2001-06-23 22:25:47 +03:00
heikki@donna.mysql.fi
2c693033d2 fsp0fsp.c Fix a bug in freeing of a segment in the tablespace 2001-06-19 22:44:43 +03:00
heikki@donna.mysql.fi
67c8e5784b row0mysql.c Include rem0cmp.h to compile on Windows, on Unix it is for some reason included 2001-06-13 14:53:45 +03:00
monty@hundin.mysql.fi
16d50ca46d merge 2001-06-12 22:05:51 +03:00
monty@hundin.mysql.fi
72537f3134 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-06-12 22:02:51 +03:00
monty@hundin.mysql.fi
36891dcb47 Fixed changelog 2001-06-12 22:02:32 +03:00
heikki@donna.mysql.fi
21b36f0593 univ.i Disable XCHG mutex implementation because of compile problem in GCC-2.96 2001-06-12 21:10:42 +03:00
heikki@donna.mysql.fi
ce765fb925 row0sel.c Fix a bug in consistent read through a secondary index 2001-06-08 18:03:24 +03:00
heikki@donna.mysql.fi
82e57a3edd trx0roll.c Changed Innobase to Innodb in some fprintfs
trx0sys.c	Changed Innobase to Innodb in some fprintfs
2001-06-07 20:24:53 +03:00
heikki@donna.mysql.fi
624c57e26e page0cur.ic Fix a bug in insert buffer and multiversioning
manual.texi	Changed innodb_unix_file_flush_method to innodb_flush_method in the manual
2001-06-07 17:32:02 +03:00
heikki@donna.mysql.fi
2f302c44d9 mem0pool.h Fix a bus error in aligment of longlong on Solaris 2001-06-05 21:49:03 +03:00
heikki@donna.mysql.fi
d9c18caa20 manual.texi website address change
row0sel.c	CHECK TABLE now also for InnoDB, a join speed optimization
trx0trx.c	CHECK TABLE now also for InnoDB, a join speed optimization
rem0cmp.c	CHECK TABLE now also for InnoDB, a join speed optimization
row0mysql.c	CHECK TABLE now also for InnoDB, a join speed optimization
page0page.c	CHECK TABLE now also for InnoDB, a join speed optimization
row0mysql.h	CHECK TABLE now also for InnoDB, a join speed optimization
trx0trx.h	CHECK TABLE now also for InnoDB, a join speed optimization
btr0btr.h	CHECK TABLE now also for InnoDB, a join speed optimization
btr0cur.h	CHECK TABLE now also for InnoDB, a join speed optimization
btr0pcur.h	CHECK TABLE now also for InnoDB, a join speed optimization
btr0pcur.ic	CHECK TABLE now also for InnoDB, a join speed optimization
btr0btr.c	CHECK TABLE now also for InnoDB, a join speed optimization
btr0cur.c	CHECK TABLE now also for InnoDB, a join speed optimization
btr0sea.c	CHECK TABLE now also for InnoDB, a join speed optimization
innodb.result	CHECK TABLE now also for InnoDB, a join speed optimization
ha_innobase.cc	CHECK TABLE now also for InnoDB, a join speed optimization
ha_innobase.h	CHECK TABLE now also for InnoDB, a join speed optimization
2001-06-03 22:58:03 +03:00
heikki@donna.mysql.fi
d3d9bc9488 sync0sync.ic Had deleted inadvertently lock word = 0 from the non-gcc+i86 case in mutex_reset_lock_word 2001-05-31 15:59:03 +03:00
heikki@donna.mysql.fi
c476d8d122 sync0sync.ic Use XCHG also to reset the mutex lock word: it makes a serialization point to code on Intel and gives more safety 2001-05-31 15:23:40 +03:00
monty@hundin.mysql.fi
be188b117b Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-05-31 12:19:16 +03:00
monty@hundin.mysql.fi
6a387c7cdf Added functions for symbolic link handling to make it possible to
backport things from 4.0. This is safe as the functions are not used!
Fixed bug in new mutex handling in InnoDB
Make allow_break() and dont_break() defines.
2001-05-31 12:18:53 +03:00
heikki@donna.mysql.fi
96176f16a3 ut0ut.c If localtime_r not available in Unix, use localtime
configure.in	If localtime_r not available in Unix, use localtime
2001-05-29 15:07:41 +03:00
heikki@donna.mysql.fi
b3675fc5f7 sync0sync.ic InnoDB now uses XCHG to implement mutex if GCC and x86
configure.in	InnoDB now uses XCHG to implement mutex if GCC and x86
2001-05-26 21:58:59 +03:00
heikki@donna.mysql.fi
0703dba10d ut0ut.c Rewrote ut_print_timestamp with localtime_r and in Win GetLocalTime 2001-05-24 22:59:32 +03:00
heikki@donna.mysql.fi
125b4bd6ba log0log.c InnoDB now prints timestamp at startup and shutdown
srv0start.c	InnoDB now prints timestamp at startup and shutdown
ut0ut.h 	InnoDB now prints timestamp at startup and shutdown
ut0ut.c 	InnoDB now prints timestamp at startup and shutdown
2001-05-24 22:35:14 +03:00
heikki@donna.mysql.fi
221b1ea5a4 log0log.c InnoDB now allows parameter innodb_unix_file_flush_method
os0file.c	InnoDB now allows parameter innodb_unix_file_flush_method
srv0start.c	InnoDB now allows parameter innodb_unix_file_flush_method
2001-05-23 20:19:56 +03:00
heikki@donna.mysql.fi
587df0036a srv0srv.h One can now specify innodb_unix_file_flush_method in my.cnf
srv0srv.c	One can now specify innodb_unix_file_flush_method in my.cnf
srv0start.c	One can now specify innodb_unix_file_flush_method in my.cnf
ha_innobase.cc	One can now specify innodb_unix_file_flush_method in my.cnf
ha_innobase.h	One can now specify innodb_unix_file_flush_method in my.cnf
mysqld.cc	One can now specify innodb_unix_file_flush_method in my.cnf
2001-05-23 18:04:49 +03:00
heikki@donna.mysql.fi
546c6eb3db dict0dict.h InnoDB now tries to provide autoinc column value from a counter table in data dict
dict0mem.h	InnoDB now tries to provide autoinc column value from a counter table in data dict
sync0sync.h	InnoDB now tries to provide autoinc column value from a counter table in data dict
univ.i  	InnoDB now tries to provide autoinc column value from a counter table in data dict
dict0dict.c	InnoDB now tries to provide autoinc column value from a counter table in data dict
dict0mem.c	InnoDB now tries to provide autoinc column value from a counter table in data dict
sync0sync.c	InnoDB now tries to provide autoinc column value from a counter table in data dict
ha_innobase.cc	InnoDB now tries to provide autoinc column value from a counter table in data dict
2001-05-21 19:04:46 +03:00
heikki@donna.mysql.fi
1970e436a2 manual.texi Added that InnoDB tablespace must be at least 10 MB, removed single quotes from phantom
srv0start.c	Tablespace size must be at least 10 MB
2001-05-21 16:28:27 +03:00
heikki@donna.mysql.fi
8ad8407238 os0file.h Define always WIN_ASYNC_IO, check at run-time if the OS actually supports it 2001-05-20 20:32:37 +03:00
heikki@donna.mysql.fi
f26d163f4d os0file.h InnoDB should now run with the same binary on Win95 and NT: checks OS version
srv0start.c	InnoDB should now run with the same binary on Win95 and NT: checks OS version
2001-05-20 20:24:02 +03:00
heikki@donna.mysql.fi
b13196387d os0file.c Removed extraneous fsync and corected a typo in Windows code
os0file.c	Changed file write buffer size in os_file_set_size from 16 MB to 8 MB
2001-05-20 20:22:23 +03:00
heikki@donna.mysql.fi
1805de7011 ibuf0ibuf.c Insert buffer calculated SQL NULL size wrong, causing overflow and assertion failure in some cases
log0log.c	Retrieve a dummy value from a function to prevent gcc crashing on HP-UX
2001-05-18 21:20:03 +03:00
heikki@donna.mysql.fi
228a4a8550 os0file.c Fixed an extraneous error message at the start of db, changed from O_SYNC back to fdatasync because extremely slow on Sun 2001-05-16 19:12:47 +03:00
heikki@donna.mysql.fi
b48ed7db1b os0file.c More precise error message number
ut0dbg.h	Changed Innobase->InnoDB
os0file.c	InnoDB prints now the number of OS error in a file operation
2001-05-15 19:53:35 +03:00
heikki@donna.mysql.fi
eac8cbf6dd row0undo.c Fix a bug if we run out of space in the tablespace assertion in trx0roll.c 2001-05-14 22:27:29 +03:00
heikki@donna.mysql.fi
0f24c9fcee os0file.c Use O_SYNC if possible, second choice fdatasync, and last choice fsync
configure.in	Check if fdatasync exists
manual.texi	Updated defragmenting doc
manual.texi	Corrected fillfactor contract threashold for a page to 1/2
2001-05-14 17:45:38 +03:00
monty@donna.mysql.fi
10920d0be1 Merge work:/home/bk/mysql into donna.mysql.fi:/home/my/bk/mysql 2001-05-12 01:01:27 +03:00
monty@donna.mysql.fi
369ea3bb8e cleanup 2001-05-12 01:00:46 +03:00
heikki@donna.mysql.fi
2c5bbb1c1a Merge heikki@work.mysql.com:/home/my/mysql
into donna.mysql.fi:/home/heikki/mysqle
2001-05-09 23:09:17 +03:00
heikki@donna.mysql.fi
5829aec02d row0sel.c Fix a bug in consistent read through secondary key 2001-05-09 23:06:52 +03:00
monty@donna.mysql.fi
965cd30f87 Applied patches for BDB tables
Fixes to InnoDB to compile on Windows
Fix for temporary InnoDB tables
Fixed bug in REPLACE()
Fixed sub char keys for InnoDB
2001-05-09 23:02:36 +03:00
heikki@donna.mysql.fi
6415f07c7b row0umod.c Partial fix to concurrent drop table and rollback by other user of rows in that table
row0uins.c	Partial fix to concurrent drop table and rollback by other user of rows in that table
2001-05-03 18:26:19 +03:00
heikki@donna.mysql.fi
2090d65134 univ.i Do not inline on Unix if non-gcc compiler 2001-05-03 15:22:43 +03:00
heikki@donna.mysql.fi
afbc2c8e7c os0file.c Removed extraneous undef and inclde of aio.h, fixed typecasts to off_t
os0file.c	Removed unnecessary code from os_file_read
2001-05-03 14:16:11 +03:00
heikki@donna.mysql.fi
7eb3c45757 row0sel.c Fixed a typo in the fix to consistent read through a secondary index 2001-05-02 18:05:15 +03:00
heikki@donna.mysql.fi
8dba7dc06a log0recv.c Add checksum to written pages to check that they are also read in unchanged
buf0buf.h	Add checksum to written pages to check that they are also read in unchanged
buf0flu.c	Add checksum to written pages to check that they are also read in unchanged
buf0buf.c	Add checksum to written pages to check that they are also read in unchanged
2001-05-01 20:57:49 +03:00
heikki@donna.mysql.fi
af27c38ff6 row0sel.c Fix a bug in multiversioned reads through a secondary index
row0uins.c	Partial fix to the DROP TABLE + another user rolls back in that table problem
row0umod.c	Partial fix to the DROP TABLE + another user rolls back in that table problem
os0file.c	Reduce probability of deadlock bugs in connection with ibuf: do not let the ibuf i/o handler sleep
2001-04-27 21:12:15 +03:00
heikki@donna.mysql.fi
0f9a30ab86 os0file.c Always do fsync after a file write to reduce possibility of a partially written page in an OS crash
buf0rea.c	Fixed a recovery hang associated with ibuf bitmap pages
2001-04-26 16:36:59 +03:00
heikki@donna.mysql.fi
ea4365622d os0sync.c Eliminate compiler warning in Win 2001-04-24 20:55:25 +03:00
heikki@donna.mysql.fi
f9afb65908 os0file.c Fix to the error message 2001-04-24 16:40:18 +03:00
heikki@donna.mysql.fi
96d6b55077 os0file.c Added better error message if disk is full; calls exit(1) 2001-04-24 16:38:08 +03:00
heikki@donna.mysql.fi
b2fa0010b6 univ.i If _NT_ defined, define also __NT__ 2001-04-24 16:24:10 +03:00
heikki@donna.mysql.fi
d78f77a324 os0file.c Remove a compilation error on Windows 2001-04-24 15:30:41 +03:00
monty@donna.mysql.fi
97c3927679 Portability fixes 2001-04-23 03:28:08 +03:00
monty@donna.mysql.fi
5e8c4b76d5 Portability fixes 2001-04-20 15:18:46 +03:00
monty@donna.mysql.fi
a94ba10f8d Fix for BDB and LOCK TABLES 2001-04-19 20:41:19 +03:00
monty@donna.mysql.fi
3876d83ec1 Moved things to configure.in 2001-04-19 15:25:03 +03:00
monty@donna.mysql.fi
566f82369c Portability fixes 2001-04-19 14:43:32 +03:00
monty@donna.mysql.fi
f113a7fd64 merge 2001-04-18 23:49:25 +03:00
monty@donna.mysql.fi
bc6fd0acaa Added test for PTHREAD_YIELD
Removed test of default master parameter
Don't lock locked tables in REPAIR
Changed optimzation for SELECT * from table,table ORDER BY keypart LIMIT
2001-04-18 23:47:11 +03:00
heikki@donna.mysql.fi
e593714e6b os0thread.c Change pthread_yield to sched_yield
univ.i  	Change pthread_yield to sched_yield
configure.in	Change pthread_yield to sched_yield
2001-04-18 17:23:06 +03:00
monty@donna.mysql.fi
bc7731c0c7 Changed -O6 to -O3
Portability fix for Innodb
2001-04-13 22:09:33 +03:00
heikki@donna.mysql.fi
fc6dcf4df7 log0recv.c Change Innobase text to InnoDB
log0log.c	Change Innobase text to InnoDB
srv0start.c	Change Innobase text to InnoDB
srv0srv.c	Change Innobase text to InnoDB
ha_innobase.cc	Change Innobase text to InnoDB
2001-04-13 16:36:54 +03:00
heikki@donna.mysql.fi
6fa6f331fe os0file.c Change pwrite to os_file_pwrite to allow compilation if no pwrite 2001-04-11 21:47:51 +03:00
heikki@donna.mysql.fi
4709a1721a srv0srv.h Merging work for 3.23.37
os0thread.c	Set created thread priority to QUERY_PRIOR if specified
row0mysql.c	Drop table removes locks on the table, error handling changed
row0ins.c	Insert now always sets a shared lock on a duplicate or suspected duplicate record
lock0lock.h	Can remove locks from a table to be dropped
lock0lock.c	Can remove locks from a table to be dropped
srv0srv.c	Try to do log flush every second
srv0start.c	No need for a slash at the end of dir
trx0trx.h	Added an IGNORE option field to trx handle
trx0trx.c	Added an IGNORE option field to trx handle
ha_innobase.h	Added last_query_id field to handle
ha_innobase.cc	Fix drop table hang, roll-forward etc.
2001-04-10 21:58:07 +03:00
monty@donna.mysql.fi
7f21a7a6da Fixed INSERT DELAYED with Innobase
Fix for shutdown on NT
Fixed bug when using wrong dates from blob field.
2001-04-09 21:08:56 +03:00
heikki@donna.mysql.fi
ae05b07fb7 univ.i Prevent inlining of functions on HP-UX because GCC is broken there
configure.in	Prevent inlining of functions on HP-UX because GCC is broken there
trx0trx.h	Fix trx->error_info in MySQL debug version: Innobase and ha_innobase.cc saw a different size for pthread_mutex_t
trx0trx.c	Fix trx->error_info in MySQL debug version: Innobase and ha_innobase.cc saw a different size for pthread_mutex_t
ha_innobase.cc	Fix trx->error_info in MySQL debug version: Innobase and ha_innobase.cc saw a different size for pthread_mutex_t
2001-04-06 20:37:31 +03:00
heikki@donna.mysql.fi
3dec2b5c98 ut0dbg.h Print a better error message when an assertion fails 2001-04-05 21:52:59 +03:00
heikki@donna.mysql.fi
ed2d947b7f os0thread.c Fix os_thread_sleep: did not work if over 1000000 microsecs; caused slowness at least on Solaris and FreeBSD 2001-04-04 20:34:54 +03:00
heikki@donna.mysql.fi
e6765fdcc8 sync0sync.c Fix the infinite spin on FreeBSD
os0thread.c	Use pthread_yield instead of os_thread_sleep(0)
2001-04-04 16:30:46 +03:00
heikki@donna.mysql.fi
719acf0acb log0log.c Failure to create or open the archive log file now results in exit(1)
ut0dbg.h	Innobase now prints the line and file of an assertion failure
2001-03-27 20:19:15 +03:00
heikki@donna.mysql.fi
d03b4308b4 os0thread.c Added &attr to os_thread_create to get in compile on HP-UX 2001-03-27 20:00:23 +03:00
heikki@donna.mysql.fi
7a13c25f80 data0data.c Small changes to eliminate some asserts in the debug version
data0type.c	Small changes to eliminate some asserts in the debug version
data0type.ic	Small changes to eliminate some asserts in the debug version
2001-03-27 15:54:05 +03:00
monty@donna.mysql.fi
44c0545ab9 Added test case that crashed Innobase 2001-03-26 13:27:36 +03:00
monty@donna.mysql.fi
2ff0334c23 Fixed problem with Innobase and signals on Solaris 2001-03-26 02:01:05 +03:00
heikki@donna.mysql.fi
a1e6710b96 buf0buf.c Fixed a race condition in buf0lru and btr0sea which could corrupt the LRU list
buf0lru.c	Fixed a race condition in buf0lru and btr0sea which could corrupt the LRU list
2001-03-16 00:22:21 +02:00
heikki@donna.mysql.fi
dc95f5652e os0thread.c Use pthread_attr_init instead of ..._create 2001-03-14 22:11:16 +02:00
heikki@donna.mysql.fi
732d702fd8 srv0srv.c Eliminate another warning on HP-UX 2001-03-14 21:55:18 +02:00
heikki@donna.mysql.fi
181a9ac9b9 srv0start.c Eliminate wrong type calls of os_thread_create
srv0srv.c	Eliminate wrong type calls of os_thread_create
2001-03-14 21:27:30 +02:00
heikki@donna.mysql.fi
8024423df7 page0types.h Eliminate a name collision on page_t on HP-UX 2001-03-14 21:13:15 +02:00
heikki@donna.mysql.fi
822f9aee4b fsp0fsp.c Circumvent a bug in Visual C inlining 2001-03-14 19:54:38 +02:00
monty@donna.mysql.fi
2505d667c7 Fixes for compiling innobase 2001-03-12 01:13:07 +02:00
monty@donna.mysql.fi
26a8c8b823 Optimization of delete with record cache (for MyISAM tables)
Added missing files for innobase to the distribution
2001-03-11 23:09:09 +02:00
heikki@donna.mysql.fi
bfe5ff3b2e row0mysql.c Innobase does not trap now if one creates a table already in Innobase 2001-03-08 16:55:14 +02:00
heikki@donna.mysql.fi
6d78974d4f mem0pool.c Removed excessive out of mem warnings 2001-03-07 20:10:50 +02:00
heikki@donna.mysql.fi
a5711053cc row0mysql.c Fix REPLACE problem, non-latin1 charset bug
row0upd.c	Fix REPLACE problem, non-latin1 charset bug
rem0cmp.c	Fix REPLACE problem, non-latin1 charset bug
2001-03-07 17:22:27 +02:00
monty@donna.mysql.fi
d2b0512942 Merge work:/my/mysql into donna.mysql.fi:/home/my/bk/mysql 2001-03-06 20:39:10 +02:00
monty@donna.mysql.fi
e829e96dbc Patch from sleepycat to fix problem with BDB and log files
Print full command name to log files
Convert table type to supported onces on ALTER TABLE
2001-03-06 20:38:53 +02:00
heikki@donna.mysql.fi
0ba8d3efd2 trx0trx.h Innobase now returns the key number in a duplicate key error, removed innobase/include from make dirs
row0ins.c	Innobase now returns the key number in a duplicate key error, removed innobase/include from make dirs
row0mysql.c	Innobase now returns the key number in a duplicate key error, removed innobase/include from make dirs
row0mysql.h	Innobase now returns the key number in a duplicate key error, removed innobase/include from make dirs
ha_innobase.cc	Innobase now returns the key number in a duplicate key error, removed innobase/include from make dirs
2001-03-06 19:45:10 +02:00
tim@threads.polyesthetic.msg
853a2f0160 Make sure ib_config.h is distributed.
Clean up Do-all-build-steps.
2001-03-05 21:08:24 -05:00
tim@threads.polyesthetic.msg
9bbe517965 configure.in Add include/Makefile to AC_OUTPUT 2001-03-05 18:55:02 -05:00
tim@threads.polyesthetic.msg
7a932b1351 Added include/Makefile.am so that the header files will
be distributed properly.
2001-03-05 18:33:13 -05:00
heikki@donna.mysql.fi
7b275cf2ec row0mysql.c Removed a bug in update of a table with no primary key 2001-03-03 19:15:53 +02:00
heikki@donna.mysql.fi
3abaff79ce row0sel.c Removes now trailing spaces from varchars
srv0start.c	Removes now trailing spaces from varchars
row0mysql.ic	Removes now trailing spaces from varchars
ha_innobase.cc	Removes now trailing spaces from varchars
2001-03-02 19:07:29 +02:00
heikki@donna.mysql.fi
831e23edd6 univ.i Changed univ.i to non-debug version 2001-03-02 18:05:19 +02:00
heikki@donna.mysql.fi
314cdf3424 ut0ut.c Fixes for 64-bit Linux, bug fixes, compiler warning fixes
mem0pool.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
os0file.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
os0shm.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
os0sync.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
os0thread.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
page0page.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
que0que.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
row0ins.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
row0mysql.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
row0sel.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
row0upd.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
row0vers.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
srv0srv.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
srv0start.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
sync0arr.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
sync0rw.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
sync0sync.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
trx0rec.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
trx0trx.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
srv0srv.h	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
sync0rw.h	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
sync0sync.h	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
ut0dbg.h	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
lock0lock.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
log0log.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
log0recv.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
ibuf0ibuf.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
buf0buf.h	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
buf0buf.ic	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
hash0hash.ic	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
mach0data.ic	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
mem0mem.h	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
mem0pool.h	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
mtr0mtr.h	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
os0file.h	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
os0sync.h	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
os0sync.ic	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
os0thread.h	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
univ.i  	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
row0mysql.ic	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
com0shm.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
data0data.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
data0type.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
dict0crea.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
dict0dict.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
fil0fil.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
fsp0fsp.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
fut0lst.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
btr0sea.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
buf0buf.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
buf0flu.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
btr0btr.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
btr0cur.c	Fixes for 64-bit Linux, bug fixes, compiler warning fixes
2001-03-02 17:33:11 +02:00
heikki@donna.mysql.fi
cb7f3f4fdc os0file.h Removed a typo in os0file.h 2001-02-28 21:03:37 +02:00
heikki@donna.mysql.fi
f78adcc202 os0file.c Removed execute rights from created files
os0file.h	Added defines for S_IRUSR etc.
2001-02-24 17:25:50 +02:00
heikki@donna.mysql.fi
2e182804dd btr0btr.c Testing bitkeeper 2001-02-22 20:36:56 +02:00
monty@donna.mysql.fi
1c298277f9 Fixes for innobase
Added test for ALTER TABLE ORDER BY
2001-02-21 14:16:00 +02:00
tim@donna.mysql.com
f45764791b Merge donna.mysql.com:/home/my/bk/mysql
into donna.mysql.com:/home/tim/my/work
2001-02-21 01:51:14 +02:00
monty@donna.mysql.com
70a627a1db Added max_user_connections 2001-02-21 01:11:32 +02:00
tim@donna.mysql.com
9427621409 Merge donna.mysql.com:/home/my/bk/mysql
into donna.mysql.com:/home/tim/my/work
2001-02-20 23:28:56 +02:00
monty@donna.mysql.com
8e4968d9c7 Added max_user_connections
Fixes for Innobase
Don't reset whole to-buffer in strxnmov
2001-02-20 22:34:47 +02:00
tim@threads.polyesthetic.msg
1717437382 Portability and bug fixes for Innobase.
Add --with-innobase-db to configure.
2001-02-19 20:13:17 -05:00
monty@donna.mysql.com
c533308a15 Added Innobase to source distribution 2001-02-17 14:19:19 +02:00