Commit graph

234 commits

Author SHA1 Message Date
monty@mashka.mysql.fi
dddc20d9d1 New SET syntax & system variables.
Made a some new buffers thread specific and changeable.
Resize of key_buffer.
AUTO_COMMIT -> AUTOCOMMIT
Fixed mutex bug in DROP DATABASE
Fixed bug when using auto_increment as second part of a key where first part could include NULL.
Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers.
Don't write message to error log when slave reconnects becasue of timeout.
Fixed possible update problem when using DELETE/UPDATE on small tables
(In some cases we used index even if table scanning would be better)
A lot of minior code cleanups
2002-07-23 18:31:22 +03:00
monty@hundin.mysql.fi
6cb77c6b3e Portability fixes.
Don't free memory from InnoDB at exit (as this may be done before other threads are finnished)
2002-07-01 11:19:17 +03:00
monty@hundin.mysql.fi
f87efa928b Update for running gcc 3.x (mainly on HPUX)
Portability fixes for HPUX
Rename of CHECK_LOCK to IS_FREE_LOCK
Apply lower_case_table_names also to databases
Cleanup of describe code
Don't allow \ in database names
2002-06-30 18:57:21 +03:00
monty@bitch.mysql.fi
268e82a078 Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0 2002-06-05 23:14:22 +03:00
monty@hundin.mysql.fi
e4130b11c9 removed init_count from IO_CACHE.
Added missing mutex_unlock to slave replication code.
2002-06-05 23:04:38 +03:00
monty@bitch.mysql.fi
0653326ed3 Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0 2002-06-03 14:43:44 +03:00
monty@hundin.mysql.fi
f5ed8784a2 merge with 3.23.51 2002-05-16 18:20:49 +03:00
heikki@hundin.mysql.fi
59a00868c9 row0mysql.c:
Play safe and set a MySQL 1 - 12 byte BLOB reference to zero except for the length and pointer areas in it
2002-05-09 20:22:26 +03:00
heikki@hundin.mysql.fi
41a1af3b5f row0sel.c:
Monty said an SQL NULL BLOB field must have NULL as the data pointer value
2002-05-09 16:33:12 +03:00
heikki@hundin.mysql.fi
5aa9a391f5 row0mysql.c:
Add some diagnostic code to track BLOB bugs if they were not already fixed with the change in row0sel.c
row0sel.c:
  Fix a seg fault which was caused inside MySQL because InnoDB when returning a BLOB value did not initialize the length and the data pointer of a BLOB whose value is the SQL NULL; also fix a very improbable race condition which could occur if a row with an externally stored BLOB was fetched using the adaptive hash index
2002-05-09 16:13:09 +03:00
heikki@hundin.mysql.fi
9e51d1a5ee row0ins.c:
Fix an assertion failure in row0ins.c line 511 in case of a cascading delete caused by circularly referencing rows, when foreign keys are used
2002-05-02 11:12:49 +03:00
monty@hundin.mysql.fi
727122aadd merge 2002-04-25 01:16:42 +03:00
heikki@hundin.mysql.fi
626f5bff47 univ.i:
Prevent use of X86 assembler when WIN64 defined
2002-04-18 12:03:40 +03:00
heikki@hundin.mysql.fi
c8b5e41791 univ.i:
Make possible switch off X86 assembler usage in Windows: needed for the Itanium port
2002-04-18 10:50:42 +03:00
heikki@hundin.mysql.fi
8da85956dd Many files:
Implement ON DELETE CASCADE and facilitate switching off of UNIQUE constraints and foreign keys
2002-04-18 10:40:32 +03:00
heikki@hundin.mysql.fi
8a8f6be17a os0file.h:
Make sure Posix aio is never even tried to use
2002-04-11 15:51:01 +03:00
monty@hundin.mysql.fi
727e507bca merge with 3.23.50 2002-03-27 01:56:10 +02:00
heikki@hundin.mysql.fi
42c6e65c58 sync0rw.ic, ut0byte.ic:
Forgot to merge these to 3.23.50
2002-03-21 18:24:26 +02:00
heikki@hundin.mysql.fi
e90a57aa49 Many files:
Merge InnoDB-3.23.50
2002-03-21 18:03:09 +02:00
monty@bitch.mysql.fi
26875c9cc4 Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0 2002-03-16 11:31:13 +02:00
sasha@mysql.sashanet.com
aa67831207 merged from 3.23 to pull the LOAD DATA INFILE fix as rpl000001 was failing.
Let's hope this did not break anything. Will not push this one until Monty
gets back
2002-03-01 19:36:46 -07:00
heikki@hundin.mysql.fi
4ebd3f9aaf dict0dict.c:
If the string foreign was succeeded by a non-space character, that confused the foreign key syntax parser
2002-02-15 10:39:12 +02:00
monty@hundin.mysql.fi
e070e9a01f merge with 3.23.49 2002-02-14 18:58:24 +02:00
heikki@hundin.mysql.fi
4eb0f28eb7 row0mysql.c:
Add a warning to drop database wait if there are still open handles on a table
2002-02-14 11:30: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
4abd402b87 merge with 3.23.48 2002-02-11 13:48:59 +02:00
heikki@donna.mysql.fi
522ee5a0cf srv0srv.c:
If the default character set was set to non-latin1 then the collation order of DATA_CHAR and DATA_VARCHAR was not defined, and foreign key system tables did not work, because they contain DATA_VARCHAR columns
2002-02-10 04:50:46 +02:00
heikki@donna.mysql.fi
be90ca5cad dict0crea.c:
Still a little better error message for Harald Fuchs
2002-02-08 23:35:50 +02:00
heikki@donna.mysql.fi
1aa56d1c63 dict0crea.c:
Add some error messages to help in tracking Harald Fuchs' foreign key failure
2002-02-08 23:24:36 +02:00
heikki@donna.mysql.fi
89c2b7fc8e rem0cmp.c:
Prevent a foreign key constraint references between INT columns where the signedness is different
2002-02-07 12:05:02 +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
monty@hundin.mysql.fi
79796e989f Merge from 3.23.48 tree 2002-01-30 16:37:47 +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
heikki@donna.mysql.fi
6202aa7c8e mem0mem.c:
Add more diagnostic code to cath possible memory corruption
2002-01-29 22:29:58 +02:00
heikki@donna.mysql.fi
8a7ecfb9e0 page0page.ic:
Add an assert
dyn0dyn.h:
  Reduce stack consumption
2002-01-29 14:16:31 +02:00
heikki@donna.mysql.fi
0c87ad9f8a Many files:
Merge InnoDB-.48
2002-01-28 22:18:49 +02:00
monty@bitch.mysql.fi
31433c98bf Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0 2002-01-05 12:51:21 +02:00
heikki@donna.mysql.fi
05a18c4c67 ut0mem.c:
Better error message if we hit the max process size in FreeBSD
2002-01-04 04:12:37 +02:00
heikki@donna.mysql.fi
9f5e564fc3 os0file.c:
Add better error message if access rights are wrong
2002-01-04 04:07:31 +02:00
heikki@donna.mysql.fi
1a36012493 srv0start.c:
Fix typo
2002-01-04 03:56:15 +02:00
heikki@donna.mysql.fi
bb49af5e4c os0file.c:
Improve error messages which may occur in installation
2002-01-04 01:35:49 +02:00
monty@hundin.mysql.fi
fd0459a521 merge with 3.23 2002-01-02 21:34:12 +02:00
monty@hundin.mysql.fi
4b877e0088 Added macros for nice TIMESPEC usage.
Fixes for building MySQL with gcc 3.0
Added SIGNED / UNSIGNED casts
Fixed core dump bug in net_clear() with libmysqld.
Back to using semaphores in query cache.
Added 'Null' and 'Index_type' to SHOW INDEX.
2002-01-02 21:29:41 +02:00
heikki@donna.mysql.fi
410847fac6 row0mysql.c:
Remove erroneous warning of a duplicate key when the key in a UNIQUE secondary index contains a NULL
2001-12-31 14:41:58 +02:00
heikki@donna.mysql.fi
8c8d5c06aa btr0sea.c:
Eliminate a gcc compiler bug in inlining
2001-12-27 18:43:49 +02:00
heikki@donna.mysql.fi
116ced2f29 os0file.c:
Make os_file_flush to ignore the error we get from a raw device in fsync
2001-12-27 00:56:40 +02:00
heikki@donna.mysql.fi
7f44419d42 log0recv.c:
Print progress info of the applying log records to the database phase in recovery
srv0srv.c:
  Do buffer pool flush and checkpoints more often to make recovery faster
2001-12-24 22:27:11 +02:00
heikki@donna.mysql.fi
e8a3a141c5 data0type.ic, rem0cmp.c:
Allow foreign keys refer between fixed and var length strings
2001-12-22 21:08:25 +02:00
monty@bitch.mysql.fi
ebed55a646 Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0 2001-12-21 07:44:06 +02:00