Commit graph

888 commits

Author SHA1 Message Date
monty@hundin.mysql.fi
a01775c5eb Added help for --local-infile
Fix for bug on intel where (int32) 1 << 32 == 1, which gave problems when using 32 keys.
Allow SET PASSWORD for anonymous user
2002-03-12 11:38:22 +02:00
monty@hundin.mysql.fi
668d09cc5c Fixed bug in DATE_FORMAT when used with GROUP BY 2002-03-06 18:36:31 +02:00
monty@tik.mysql.fi
c1ab560c3d Corrected fix for not freed memory when using corrupted tables 2002-03-05 17:38:16 +02:00
monty@tik.mysql.fi
cde0896521 Merge hundin:/my/mysql-3.23 into tik.mysql.fi:/home/my/mysql-3.23 2002-03-05 15:49:34 +02:00
monty@tik.mysql.fi
539718ba25 Update scripts for new POSIX spec
Fix for --enable-local-infile
Portability fix for bison
2002-03-05 15:46:30 +02:00
serg@serg.mysql.com
adf4f462ed apply freebsd/alpha portability patch 2002-03-04 17:04:21 +00:00
miguel@light.local
a4a150454e Changes for to control the tables and log clean up. 2002-02-20 23:20:15 -03:00
serg@serg.mysql.com
2cef9ef99d memory leak with broken tables fixed 2002-02-20 13:06:54 +00:00
monty@hundin.mysql.fi
e45cff23b9 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2002-02-14 15:25:26 +02:00
monty@hundin.mysql.fi
b21f2d084f Don't give warnings for empty statements with comments 2002-02-14 15:04:14 +02:00
heikki@hundin.mysql.fi
57ef5c71b9 dict0dict.h, dict0dict.c, row0mysql.c, ha_innobase.cc:
Add some more safety if MySQL tries to drop a table on which there are open handles
2002-02-14 10:24:27 +02:00
heikki@hundin.mysql.fi
c70be0113b row0mysql.c, sql_db.cc:
Try to make sure DROP DATABASE does not cause a deadlock because we now let InnoDB wait MySQL does not have open handles to tables we drop
2002-02-14 03:45:45 +02:00
monty@hundin.mysql.fi
d76fcdc5e9 changed bool -> my_bool 2002-02-14 02:41:29 +02:00
monty@hundin.mysql.fi
0ccb106afc Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2002-02-14 02:39:38 +02:00
heikki@hundin.mysql.fi
62c9f03f00 ha_innobase.cc:
DROP DATABASE required that the database name is in lower case to work; put it always to lower case in innobase_drop_database
2002-02-14 00:00:09 +02:00
monty@hundin.mysql.fi
d0fc67f4ac Use NAMES_SEP_CHAR also for enums (Fix for supportwizard) 2002-02-13 22:01:43 +02:00
monty@hundin.mysql.fi
fb44f7ce49 Fix for LOAD DATA LOCAL INFILE patch 2002-02-13 22:01:41 +02:00
monty@tik.mysql.fi
f13a451816 Merge hundin:/my/mysql-3.23 into tik.mysql.fi:/home/my/mysql-3.23 2002-02-13 22:01:40 +02:00
monty@tik.mysql.fi
1f9b1e1915 Made LOAD DATA LOCAL INFILE more secure 2002-02-13 21:53:26 +02:00
monty@hundin.mysql.fi
3286cb0294 Don't print out 'got signal' if not using --warnings 2002-02-13 17:49:21 +02:00
monty@hundin.mysql.fi
1efcc3e35e Updated changelog of 3.23.48 with InnoDB changes. 2002-02-11 12:56:48 +02:00
monty@hundin.mysql.fi
cf39ab2ff2 Remove uage of static variable from file locks. 2002-02-10 20:28:58 +02:00
monty@hundin.mysql.fi
368731a915 Fixed bug in full join with many NULL fields. 2002-02-10 12:47:37 +02:00
monty@hundin.mysql.fi
2abdcf81af Fix for customer build 2002-02-10 02:28:24 +02:00
monty@hundin.mysql.fi
40c77c767b Removed compiler warnings 2002-02-09 04:00:24 +02:00
monty@hundin.mysql.fi
1e5a38344c Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2002-02-07 21:53:09 +02:00
monty@hundin.mysql.fi
d713fee16b Update to autoconf 2.52
Fix of InnoDB variables in SHOW VARIABLES
Fix for ALTER TABLE and InnoDB
2002-02-07 21:34:35 +02:00
heikki@donna.mysql.fi
44a2ef6cdc ha_innobase.cc:
Remove use of prebuilt->trx, better play safe since we do not know MySQL call order of external_lock
2002-02-05 00:16:38 +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
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
monty@bitch.mysql.fi
9cb670df71 Generate core file on Solaris. 2001-11-21 15:08:01 +02:00
monty@hundin.mysql.fi
fb1f8c4f0a Fixed bug in OPTIMIZE TABLE that reset index cardinality if it
was up to date.
2001-11-18 14:08:17 +02:00
miguel@light.local
7c77952106 Removing registry service parameter code 2001-11-17 15:48:22 -02:00
monty@hundin.mysql.fi
0798c70cd1 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-11-07 23:18:34 +02:00
monty@hundin.mysql.fi
1bc03e8b17 Fix bug in ALTER TABLE on a TEMPORARY InnoDB table. 2001-11-07 23:18:12 +02:00
heikki@donna.mysql.fi
2869684364 ha_innobase.cc:
Fix a typo
2001-11-07 01:14:13 +02:00
heikki@donna.mysql.fi
d094dc355d ha_innobase.cc:
Make database and table names always lower case on Windows
2001-11-07 00:52:31 +02:00
monty@hundin.mysql.fi
af2e13481e Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-11-07 00:09:18 +02:00
monty@hundin.mysql.fi
4157d12df5 Added missing mysqlbinlog to binary distributions.
Applied patch to mysqlhotcopy
2001-11-07 00:08:57 +02:00
heikki@donna.mysql.fi
e84ef2b747 updated 2001-11-05 18:50:12 +02:00
monty@hundin.mysql.fi
65d4c846d8 Fixed problem with t1 LEFT_JOIN t2 ... WHERE t2.date_column IS NULL when date_column is declared as NOT NULL. 2001-11-03 21:22:06 +02:00
monty@hundin.mysql.fi
8cd4c2358d Fix that mysqladmin shutdown can be interrupted with ^C
Fixed bug with BLOB keys in BDB tables
Fixed problem with MERGE tables on OS with 32 bit files
Fixed that TIME_TO_SEC() works with negative times
2001-11-03 15:18:09 +02:00
monty@hundin.mysql.fi
daa4229a3d Portability fixes. 2001-11-02 07:42:28 +02:00
monty@hundin.mysql.fi
44a2a213b8 Changed time -> query_time in slow query log.
Fixed Rows_examined in slow query log.
2001-10-31 22:24:33 +02:00
monty@hundin.mysql.fi
0716bf4d0e Portability fixes 2001-10-31 20:28:43 +02:00
monty@hundin.mysql.fi
d89690e606 Portability fixes
Fix for consistent 0000-00-00 date handling
Close + open binary logs on flush tables
Fix for AVG() in HAVING.
2001-10-31 18:27:49 +02:00
monty@hundin.mysql.fi
5a9ce774dc Update for OS2 (patch from Yuri Dario).
Use LONG_TIMEOUT (one year) instead of ~0 for long timeouts
Fixed error messages.
Fixed problem with const propagation when comparing columns of different types
2001-10-31 03:22:31 +02:00
monty@donna.mysql.fi
7fcbd7e3da Merge 2001-10-30 17:38:44 +02:00
monty@hundin.mysql.fi
d4dd3b09b8 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-10-30 16:32:00 +02:00
monty@hundin.mysql.fi
7367545cad Fix for gcc 3.0
Fix for using quoted table names with the SJIS character set.
2001-10-30 16:31:35 +02:00
sasha@mysql.sashanet.com
8235311d1a Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-10-29 18:22:04 -07:00
sasha@mysql.sashanet.com
7fda1ab9f2 fixed bug with temporary tables replication if one does FLUSH LOGS 2001-10-29 18:21:33 -07:00