summaryrefslogtreecommitdiff
path: root/innobase
Commit message (Collapse)AuthorAgeFilesLines
* os0thread.c:heikki@hundin.mysql.fi2002-08-031-13/+9
| | | | Remove the complex typecast used to convert a HP-UX pthread struct to os_thread_id_t; the typecast seemed to work wrong in gcc-3.1 on HP-UX-10.20
* Many files:heikki@hundin.mysql.fi2002-08-0213-87/+258
| | | | | | Merge InnoDB-3.23.52c ha_innobase.cc: Test the ref length sanity also in the production version
* Innodb fixes:monty@hundin.mysql.fi2002-08-015-5/+5
| | | | | Added back 'static inline', as not having this caused more problems than having it Fixed wrong arguments to printf()
* Fixed wrong printf() string in InnoDBmonty@hundin.mysql.fi2002-07-312-2/+2
| | | | Removed some compiler warnings regarding 'static' from InnoDB
* Many files:heikki@hundin.mysql.fi2002-07-3123-184/+434
| | | | Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
* dyn0dyn.ic, dyn0dyn.h:heikki@hundin.mysql.fi2002-07-262-2/+4
| | | | Backport the AIX crash fix changes from 4.0
* row0vers.c:heikki@hundin.mysql.fi2002-07-251-1/+21
| | | | Add diagnostic code to track a probable table corruption reported by a user
* os0thread.c, configure.in:heikki@hundin.mysql.fi2002-07-232-1/+16
| | | | Make the typecast trick pthread_t -> os_thread_id_t safer, but a full fix needs usage of appropriate Posix functions
* univ.i:heikki@hundin.mysql.fi2002-07-231-2/+6
| | | | Fix a bug in the storage of the SQL NULL value in 64-bit computers: the value code must fit in 32 bits
* row0ins.c:heikki@hundin.mysql.fi2002-07-211-1/+2
| | | | Move the assertion in foreign keys to the right place
* dict0dict.c:heikki@hundin.mysql.fi2002-07-211-31/+8
| | | | Revert the test changes to wait for a full push of new auto-inc algorithm
* row0ins.c:heikki@hundin.mysql.fi2002-07-212-7/+42
| | | | | | Do not perform ON DELETE action for a FOREIGN KEY constraint if we are doing an UPDATE, not a DELETE dict0dict.c: test
* fil0fil.c:heikki@hundin.mysql.fi2002-07-191-3/+6
| | | | Align a buffer for i/o from a raw device
* os0file.c:heikki@hundin.mysql.fi2002-07-191-4/+7
| | | | Fix a bug in the previous commit change and align also the buffer in simulataled aio for possible use in i/o to raw devices
* os0file.c:heikki@hundin.mysql.fi2002-07-191-2/+6
| | | | Align the buffer used in initing a data file to zero; this may be needed if the data file is actually a raw device
* os0thread.h, srv0srv.c:heikki@hundin.mysql.fi2002-07-162-3/+29
| | | | Increase max number of waiting threads to 10000 and put diagnostic prints if this value is exceeded
* row0mysql.c:heikki@hundin.mysql.fi2002-07-101-0/+1
| | | | Forgot to release an x-latch in DROP DATABASE
* srv0srv.c:heikki@hundin.mysql.fi2002-07-091-0/+8
| | | | Protect InnoDB monitor with a mutex
* srv0srv.c:heikki@hundin.mysql.fi2002-07-081-6/+0
| | | | Remove debug code
* srv0srv.c:heikki@hundin.mysql.fi2002-07-081-3/+8
| | | | Eliminate potential division by zero
* Many files:heikki@hundin.mysql.fi2002-07-0829-248/+579
| | | | Merge InnoDB-3.23.52b
* srv0start.c:heikki@hundin.mysql.fi2002-07-011-3/+10
| | | | Remove freeing of all memory at shutdown: since we do not exit the i/o-handlers and other threads, we could potentially get a seg fault at shutdown
* row0ins.c:heikki@hundin.mysql.fi2002-07-012-2/+14
| | | | | | The UNIV_DEBUG version asserted if a foreign key check failed because of a lock wait timeout btr0cur.c: Fix a bug: if the primary key was updated (or delete + insert) so that only the case of characters changed, we were left with a dangling adaptive hash index pointer, often causing an assertion failure in page0page.ic line 515
* buf0buf.ic:heikki@hundin.mysql.fi2002-06-261-2/+2
| | | | Fix a bug: if buffer pool size > 2 GB on a 32-bit computer, we got an assertion failure because >> acted as a division operator (not as a register shift) for a wrapped-over integer value
* os0file.c:heikki@hundin.mysql.fi2002-06-261-3/+13
| | | | Crash the server if file flush does not succeed: the database can get corrupt, better to crash it than let it run
* os0sync.c:heikki@hundin.mysql.fi2002-06-221-1/+1
| | | | Initing a mutex with MY_MUTEX_INIT_FAST may relieve thread thrashing on Linux
* Many files:heikki@hundin.mysql.fi2002-06-2252-761/+1879
| | | | Merge 3.23.52
* row0mysql.c:heikki@hundin.mysql.fi2002-05-091-3/+13
| | | | Play safe and set a MySQL 1 - 12 byte BLOB reference to zero except for the length and pointer areas in it
* row0sel.c:heikki@hundin.mysql.fi2002-05-091-5/+2
| | | | Monty said an SQL NULL BLOB field must have NULL as the data pointer value
* row0mysql.c:heikki@hundin.mysql.fi2002-05-092-7/+63
| | | | | | 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
* row0ins.c:heikki@hundin.mysql.fi2002-05-021-4/+8
| | | | 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
* univ.i:heikki@hundin.mysql.fi2002-04-181-0/+3
| | | | Prevent use of X86 assembler when WIN64 defined
* univ.i:heikki@hundin.mysql.fi2002-04-181-2/+7
| | | | Make possible switch off X86 assembler usage in Windows: needed for the Itanium port
* Many files:heikki@hundin.mysql.fi2002-04-1830-178/+768
| | | | Implement ON DELETE CASCADE and facilitate switching off of UNIQUE constraints and foreign keys
* os0file.h:heikki@hundin.mysql.fi2002-04-111-6/+0
| | | | Make sure Posix aio is never even tried to use
* sync0rw.ic, ut0byte.ic:heikki@hundin.mysql.fi2002-03-212-1/+15
| | | | Forgot to merge these to 3.23.50
* Many files:heikki@hundin.mysql.fi2002-03-2138-343/+2359
| | | | Merge InnoDB-3.23.50
* dict0dict.c:heikki@hundin.mysql.fi2002-02-151-1/+1
| | | | If the string foreign was succeeded by a non-space character, that confused the foreign key syntax parser
* row0mysql.c:heikki@hundin.mysql.fi2002-02-141-1/+9
| | | | Add a warning to drop database wait if there are still open handles on a table
* dict0dict.h, dict0dict.c, row0mysql.c, ha_innobase.cc:heikki@hundin.mysql.fi2002-02-143-24/+65
| | | | Add some more safety if MySQL tries to drop a table on which there are open handles
* row0mysql.c, sql_db.cc:heikki@hundin.mysql.fi2002-02-141-1/+17
| | | | 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
* srv0srv.c:heikki@donna.mysql.fi2002-02-101-2/+37
| | | | 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
* dict0crea.c:heikki@donna.mysql.fi2002-02-081-0/+2
| | | | Still a little better error message for Harald Fuchs
* dict0crea.c:heikki@donna.mysql.fi2002-02-081-8/+13
| | | | Add some error messages to help in tracking Harald Fuchs' foreign key failure
* rem0cmp.c:heikki@donna.mysql.fi2002-02-071-0/+10
| | | | Prevent a foreign key constraint references between INT columns where the signedness is different
* Many files:heikki@donna.mysql.fi2002-02-0416-73/+516
| | | | | | | | 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
* btr0cur.c, ha_innobase.cc:heikki@donna.mysql.fi2002-01-301-1/+19
| | | | Fine-tune optimization parameters; in small tables the estimates are accurate; in big tables let us not be too optimistic about index selectivity
* mem0mem.c:heikki@donna.mysql.fi2002-01-291-1/+9
| | | | Add more diagnostic code to cath possible memory corruption
* page0page.ic:heikki@donna.mysql.fi2002-01-292-1/+3
| | | | | | Add an assert dyn0dyn.h: Reduce stack consumption
* Many files:heikki@donna.mysql.fi2002-01-2825-183/+846
| | | | Merge InnoDB-.48