Commit graph

810 commits

Author SHA1 Message Date
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
heikki@donna.mysql.fi
9c86441ef6 ha_innobase.cc:
Fix the crashes reported by Peter; SHOW CREATE does not call external_lock before calling ::info, and consequently the trx struct in prebuilt is obsolete; setting trx->op_info caused erratic memory corruption in mysqldump
2002-02-03 15:21:15 +02:00
heikki@donna.mysql.fi
4f3e7f68f5 Merge heikki@work.mysql.com:/home/my/mysql
into donna.mysql.fi:/home/heikki/mysqln
2002-02-03 15:15:13 +02:00
heikki@donna.mysql.fi
43439d0c13 btr0cur.c, ha_innobase.cc:
Fine-tune optimization parameters; in small tables the estimates are accurate; in big tables let us not be too optimistic about index selectivity
2002-01-30 16:29:15 +02:00
monty@hundin.mysql.fi
3457b6fde0 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2002-01-30 16:09:35 +02:00
monty@hundin.mysql.fi
fef87f20af Fix in SHOW GRANTS: REFERENCE -> REFERENCES 2002-01-30 16:09:19 +02:00
heikki@donna.mysql.fi
b908f410fb ha_innobase.cc:
Assume selectivity of any key prefix is better than 1 / 100, regardless of what the estimator returns; this balances the pessimistic assumption of the optimizer thatany secondary key access to the full row incurs a page read from disk
2002-01-30 14:10:26 +02:00
heikki@donna.mysql.fi
0c87ad9f8a Many files:
Merge InnoDB-.48
2002-01-28 22:18:49 +02:00
heikki@donna.mysql.fi
d927ff75dc ha_innobase.cc, ha_innobase.h, handler.h, handler.cc, sql_class.h, log.cc:
Tell table handlers where a binlog segment for a trx ends
2002-01-22 22:57:56 +02:00
monty@hundin.mysql.fi
89fa5f13d9 Fixed bug when making a range join based on information from a const table. 2002-01-18 00:43:50 +02:00
miguel@light.local
d4a8e8d61e Minors changes for the Windows 3.23.47 release 2001-12-30 00:22:01 -02:00
monty@hundin.mysql.fi
ac8155cce1 Portability fixes 2001-12-27 13:31:10 +02:00
monty@hundin.mysql.fi
14e07aabda Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-12-27 02:05:12 +02:00
monty@hundin.mysql.fi
2bd8bf31bd Bugfix for WHERE key=@a OR key=@b 2001-12-27 02:04:27 +02:00
heikki@donna.mysql.fi
3fef3c7e5b mysqld.cc:
Changed default of file_io_threads to 4 and lock_wait_timeout to 50 seconds
  Added a missing break: if not specified, innodb_fast_shutdown got the same value as ..flush_log_at_trx commit
2001-12-25 23:44:41 +02:00
heikki@donna.mysql.fi
954920c874 ha_innobase.cc:
Increase table comment print size to 500 bytes to be able to print more foreign key constraint infos
ha_innobase.h:
  Change max key len back to 500 bytes because MySQL interpreter cannot handle more
2001-12-23 13:06:48 +02:00
heikki@donna.mysql.fi
0b39319672 ha_innobase.h:
Lower max key len to 3500 bytes because a secondary index record must also contain the primary key value
2001-12-22 11:18:22 +02:00
heikki@donna.mysql.fi
636d7b9967 ha_innobase.cc:
Make sure no memory overrun of key buffer in range estimation
2001-12-22 02:29:23 +02:00
monty@hundin.mysql.fi
05a3c0e8f6 Fixed shutdown problem on HPUX 2001-12-21 06:54:58 +02:00
sasha@mysql.sashanet.com
7b672bc92c make replication work correctly if the master logs SELECT RELEASE_LOCK()
instead of DO RELEASE_LOCK()
2001-12-18 21:56:36 -07:00
heikki@donna.mysql.fi
818bdb62f5 ha_innobase.cc:
Add better instructions on how to specify innodb_data_file_path etc.
2001-12-18 19:35:28 +02:00
monty@hundin.mysql.fi
54d10622c5 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-12-17 19:59:59 +02:00
monty@hundin.mysql.fi
f049543416 Added DO command 2001-12-17 19:59:20 +02:00
heikki@donna.mysql.fi
a6fedfc3d4 ha_innobase.cc, dict0dict.c:
Cleanup
2001-12-17 13:32:22 +02:00
heikki@donna.mysql.fi
6a01d8bc26 ha_innobase.cc:
Do not automatically calculate new statistics when a temporary table is used by MySQL in a query. The fact that some ORDER BY queries were slow may have been explained by this unnecessary statistics calculation.
2001-12-17 12:17:07 +02:00
monty@hundin.mysql.fi
ee9a6f5460 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-12-15 04:40:08 +02:00
monty@hundin.mysql.fi
7464639226 Fixed wrong case in variablename 2001-12-15 04:39:29 +02:00
sasha@mysql.sashanet.com
0d67738e20 misc cleanup 2001-12-13 17:21:04 -07:00
sasha@mysql.sashanet.com
9db9b463d6 merged 2001-12-13 13:17:19 -07:00
monty@hundin.mysql.fi
bdc5a62104 Added status variables for all MySQL commands. 2001-12-13 20:06:44 +02:00
monty@hundin.mysql.fi
70e053fba0 Fixed problem with default & InnoDB tables. 2001-12-13 19:06:14 +02:00
sasha@mysql.sashanet.com
f7acf09d9c slave-skip-errors
added extra/mysql_install.c - will work on it in 4.0, but it does not hurt
to have it sit in 3.23 tree for now since it will eventually be backported 
to 3.23 anyway
2001-12-12 18:55:33 -07:00
monty@hundin.mysql.fi
12058c2996 Fixed bug in GROUP BY ... DESC 2001-12-10 17:51:07 +02:00
monty@hundin.mysql.fi
90004e340b Fixed bug in LEFT JOIN 2001-12-05 23:15:05 +02:00
monty@hundin.mysql.fi
4b513347c4 Better optimization for InnoDB and BDB tables for ORDER BY 2001-11-29 15:34:37 +02:00
sasha@mysql.sashanet.com
5d2f2c8369 fixed alias drop bug in binlog
fixed skip counter to do the RightThing (TM) when the user messes up.
Still do RightThing when he gets it right.
2001-11-27 18:20:24 -07:00
monty@hundin.mysql.fi
66a31433a4 Fixed bug when joining with caching.
Fixed race condition when using the binary log and INSERT DELAYED which could cause the binary log to have rows that was not yet written to MyISAM tables.
2001-11-27 02:50:20 +02:00
monty@hundin.mysql.fi
50b43f85ef Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-11-26 03:24:33 +02:00
monty@hundin.mysql.fi
d0b84c9b6e A fix for ANALYZE TABLE 2001-11-26 03:24:13 +02:00
monty@hundin.mysql.fi
5738117970 Fix race condition in ANALYZE TABLE.
Fixed bug where one got an empty set instead of a DEADLOCK error when using BDB tables.
2001-11-26 02:16:38 +02:00
sasha@mysql.sashanet.com
22fa171c7e Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-11-23 09:58:17 -07:00
sasha@mysql.sashanet.com
82a7b0f750 properly kill slave in all cases on systems that do not interrupt syscalls
on a signal
2001-11-23 09:57:36 -07:00
monty@hundin.mysql.fi
a2a838f887 Portability fix 2001-11-22 13:15:17 +02:00
monty@hundin.mysql.fi
964f7c63b9 Portability fix 2001-11-22 13:07:55 +02:00
monty@hundin.mysql.fi
911ba4be24 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-11-22 03:35:04 +02:00
sasha@mysql.sashanet.com
00774d74fc backport of shutdown fix for platforms that cannot break a syscall with a
signal. Tested to the extent that it does not break Linux. Could not test on
Darwin because the machine was not reachable. Will push anyway - at least it
does not make things worse. Testing on Darwin is needed, however.
2001-11-21 18:25:08 -07:00
monty@hundin.mysql.fi
c8ddbaed9e Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-11-22 03:12:40 +02:00
serg@serg.mysql.com
e8b45861e9 (UPDATE|DELETE) ...WHERE MATCH bugfix 2001-11-21 18:25:44 +01:00
serg@serg.mysql.com
f6cf7618be removed ftfuncs argument for mysql_select
it uses now thd->lex.ftfunc_list
moved ft-initialization to a separate function
re-disabled implicit ft initialization
2001-11-21 18:05:11 +01:00
monty@bitch.mysql.fi
d33c13e4fe Merge 2001-11-21 15:24:02 +02:00