aivanov@mysql.com
7ae2d46903
Fix BUG#12071: "Windows hang: 'Opening tables' or 'Waiting for
...
table' lockup".
Changes from the innodb-4.1-ss11 snapshot.
Do not call os_file-create_tmpfile() at runtime. Instead, create
a tempfile at startup and guard access to it with a mutex.
Also, fix bugs:
10511: "Wrong padding of UCS2 CHAR columns in ON UPDATE CASCADE";
13778: "If FOREIGN_KEY_CHECKS=0, one can create inconsistent FOREIGN
KEYs". When FOREIGN_KEY_CHECKS=0 we still need to check that
datatypes between foreign key references are compatible.
Also, added test cases (also for bug 9802).
2005-12-12 21:06:59 +03:00
marko@hundin.mysql.fi
f9d145ef04
InnoDB: Truncate SHOW INNODB STATUS output at the start of the list
...
of active transactions, if necessary and possible. (Bug #5436 )
2005-04-19 14:35:47 +03:00
marko@hundin.mysql.fi
4fe94704a7
Merge hundin.mysql.fi:/home/marko/k/mysql-4.0
...
into hundin.mysql.fi:/home/marko/mysql-4.1
2005-03-08 16:02:13 +02:00
marko@hundin.mysql.fi
beea918092
InnoDB: Win64 portability fix: add missing declaration and
...
correct the definition of srv_max_buf_pool_modified_pct.
2005-03-08 11:12:18 +02:00
marko@hundin.mysql.fi
2b10afd911
After merge fixes
2005-03-01 09:51:32 +02:00
marko@hundin.mysql.fi
ce553fc2fe
InnoDB: Fix compilation errors on IA-64 Windows
2005-03-01 09:27:09 +02:00
marko@hundin.mysql.fi
638e2bd733
InnoDB: Backport innodb_autoextend_increment from 4.1
2005-01-25 16:27:13 +02:00
monty@mysql.com
3493f54a5e
Merge with 4.0
2004-10-27 19:52:41 +03:00
marko@hundin.mysql.fi
b5f49a3abd
Backport innodb_max_purge_lag from 4.1
2004-10-27 13:33:11 +03:00
heikki@hundin.mysql.fi
5fa601111e
srv0srv.c, log0log.c, srv0srv.h, ha_innodb.cc, ha_innodb.h:
...
Implement innobase_very_fast_shutdown and innobase_start_trx_and_assign_read_view(); these were requested by Guilhem
2004-10-13 20:04:52 +03:00
marko@hundin.mysql.fi
1bd65d7715
InnoDB: implement innodb_max_purge_lag
2004-09-30 15:54:19 +03:00
marko@hundin.mysql.fi
934a5c0b99
InnoDB: Add configuration option innodb_autoextend_increment
2004-09-07 16:26:38 +03:00
serg@serg.mylan
e1237cbc53
manually merged
2004-08-18 19:57:55 +02:00
marko@hundin.mysql.fi
3cb09c9817
InnoDB: Add option for disabling innodb_status.<pid> files.
...
InnoDB: Implement tmpfile() differently on Windows (Bug #3998 )
2004-08-06 15:55:50 +03:00
jan@hundin.mysql.fi
3ca686c5fb
Merge jlindstrom@build.mysql.com:/home/bk/mysql-4.1
...
into hundin.mysql.fi:/home/jan/mysql-4.1
2004-07-21 08:52:12 +03:00
jan@hundin.mysql.fi
0449396a67
Added innodb_locks_unsafe_for_binlog option. This option turns off Innodb
...
next-key locking. Using this option the locks InnoDB sets on index
records do not affect the ``gap'' before that index record. Thus, this option
allows phantom problem.
2004-07-20 14:15:38 +03:00
serg@serg.mylan
1f0cd873c5
manual merged (blame me!)
2004-07-20 00:53:24 +02:00
marko@hundin.mysql.fi
bea2f4305e
InnoDB: Increment the lock wait watchdog timeout during CHECK TABLE
...
(Bug #2694 )
2004-07-12 15:13:18 +03:00
marko@hundin.mysql.fi
fc85c80b88
InnoDB cleanup:
...
Disable log archiving code unless #ifdef UNIV_LOG_ARCHIVE
Remove (char*) casts of string constants; add const qualifiers
Remove some Hot Backup code unless #ifdef UNIV_HOTBACKUP
2004-05-27 15:27:43 +03:00
monty@mishka.local
21fd1d270e
Merge with 4.0
2004-04-26 15:53:31 +03:00
marko@hundin.mysql.fi
6af38c65be
InnoDB: send diagnostic output to stderr or files
...
instead of stdout or fixed-size memory buffers
2004-04-06 16:14:43 +03:00
heikki@hundin.mysql.fi
a169bfa6ae
fil0fil.c, os0file.c, srv0srv.h, srv0srv.c:
...
Add an accessor function to set srv_io_thread_op_info, change the type to const char*, also change the type of srv_io_thread_function to const char*
2004-04-01 09:18:32 +03:00
monty@mysql.com
350b433569
merge with 4.0
2004-03-16 22:41:30 +02:00
marko@hundin.mysql.fi
a68a1ed0ca
Remove unneeded module "com"
2004-03-11 12:55:28 +02:00
monty@mashka.mysql.fi
3b83cce5eb
merge with 4.0
2004-02-22 09:50:59 +02:00
marko@hundin.mysql.fi
234e9abf6a
Many files:
...
Removed unused code
.del-os0trash.c~8cae5c1695501117:
Delete: innobase/os/os0trash.c
dict0crea.c:
Protect all sprintf(%s) with assertions
2004-02-20 16:34:09 +02:00
heikki@hundin.mysql.fi
4fa54c1dca
trx0sys.c, srv0start.c, ibuf0ibuf.c, trx0sys.h, srv0srv.h:
...
DO NOT MERGE TO 4.1: add code for automatic downgrade 4.1.1 -> 4.0 if the user has not created multiple tablespaces yet
2004-01-06 13:40:14 +02:00
heikki@hundin.mysql.fi
91f5c5e337
thr0loc.c, srv0start.c, srv0srv.c, srv0srv.h, os0thread.h, ha_innodb.cc:
...
Backport from 4.1: reduce InnoDB memory consumption if buf pool < 8 MB
2003-10-17 23:44:34 +03:00
heikki@hundin.mysql.fi
3fffea42b9
thr0loc.c, srv0start.c, srv0srv.c, srv0srv.h, os0thread.h:
...
Reduce InnoDB memory allocation if buffer pool < 8 MB
2003-10-17 20:31:17 +03:00
heikki@hundin.mysql.fi
6112853cda
Many files:
...
Multiple tablespaces for InnoDB
sql_table.cc:
Tell explicitly that InnoDB should retrieve all columns in CHECKSUM TABLE
sql_update.cc, sql_select.cc, my_base.h:
More descriptive flag name HA_EXTRA_RETRIEVE_ALL_COLS
2003-10-07 17:28:59 +03:00
monty@mashka.mysql.fi
2263e3e51f
Merge with 4.0.14
2003-08-11 22:44:43 +03:00
heikki@hundin.mysql.fi
2340cff77a
srv0start.c, srv0srv.h, os0file.h, os0file.c:
...
Allow also O_DIRECT as innodb_flush_method; it only affects writing to data files
2003-07-13 00:17:02 +03:00
heikki@hundin.mysql.fi
4da7f485b7
Many files:
...
Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
2003-06-15 01:04:28 +03:00
monty@narttu.mysql.fi
40109c574a
Merge with 4.0.13
2003-06-04 19:21:51 +03:00
heikki@hundin.mysql.fi
42671d18ae
Many files:
...
Free all OS sync primitives and allocated memory in InnoDB shutdown
2003-05-31 03:12:03 +03:00
monty@narttu.mysql.fi
dd2b7918cd
Merge with 4.0.13
2003-05-19 16:35:49 +03:00
heikki@hundin.mysql.fi
971f770946
buf0buf.c, srv0srv.h, buf0buf.h, srv0srv.c:
...
Clean up the working of the main thread; add a tunable parameter srv_max_buf_pool_modified_pct which can be used to make the flush phase in shutdown quicker
2003-05-03 19:44:46 +03:00
heikki@hundin.mysql.fi
b1b47e93b1
buf0buf.c, buf0buf.ic, buf0buf.h:
...
Reduce memory usage of the buffer headers
Many files:
Merge InnoDB-4.1 with AWE support
2003-01-06 22:07:25 +02:00
heikki@hundin.mysql.fi
db1693101b
Many files:
...
Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
2002-11-06 00:41:27 +02:00
heikki@hundin.mysql.fi
9153d88c6b
Many files:
...
Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
mysqld.cc:
Change MySQL default isolation level to REPEATABLE READ; note that InnoDB has always had that default, and BDB and MyISAM always run at SERIALIZABLE level anyway
2002-10-29 23:16:46 +02:00
heikki@hundin.mysql.fi
f8d44429c5
srv0srv.h, srv0srv.c, row0mysql.c:
...
Put back a change unintentionally removed in the last 2 pushes
2002-09-20 05:44:41 +03:00
heikki@hundin.mysql.fi
55807d9553
trx0trx.ic, trx0trx.h, srv0srv.h, row0sel.h, dict0mem.h:
...
Modifications for query cache + trxs, fix of q.c.+ foreign keys
2002-09-20 05:18:55 +03:00
monty@mashka.mysql.fi
3bb2660d10
Merge with 3.23.53
2002-09-17 05:17:32 +03:00
heikki@hundin.mysql.fi
db8f4fd3d2
srv0srv.c, srv0srv.h:
...
Change srv_flush_log_at_trx_commit to ulint, note that ibool is defined as ulint, so this is purely formal change
os0file.c:
Start using unbuffered i/o again in Windows because sequential read using normal i/o was 4 times slower in XP
2002-09-11 16:07:52 +03:00
monty@mashka.mysql.fi
bc035c71f1
Merge with 3.23.51
...
Fixed wrong usage of sprintf() in ha_innodb.cc
2002-07-25 22:46:28 +03:00
heikki@hundin.mysql.fi
7390d81f43
Many files:
...
Merge InnoDB-3.23.52b
2002-07-08 19:34:49 +03:00
monty@hundin.mysql.fi
727e507bca
merge with 3.23.50
2002-03-27 01:56:10 +02:00
heikki@hundin.mysql.fi
e90a57aa49
Many files:
...
Merge InnoDB-3.23.50
2002-03-21 18:03:09 +02:00
monty@hundin.mysql.fi
4abd402b87
merge with 3.23.48
2002-02-11 13:48:59 +02:00
heikki@donna.mysql.fi
aea3c07139
Many files:
...
Small improvements
row0mysql.c:
Small improvements + fix the ALTER TABLE problem by introducing a lazy drop table it can use
ha_innobase.cc:
Some fine-tuning of optimization
2002-02-04 23:55:41 +02:00