summaryrefslogtreecommitdiff
path: root/innobase
Commit message (Collapse)AuthorAgeFilesLines
* rem0cmp.c, data0type.c, data0type.ic, data0type.h, ha_innodb.cc:heikki@hundin.mysql.fi2004-02-204-31/+45
| | | | Remove the now redundant flag DATA_NONLATIN1; better comments
* data0type.ic, data0type.h:heikki@hundin.mysql.fi2004-02-202-2/+2
| | | | Fix a typo in a comment
* Many files:heikki@hundin.mysql.fi2004-02-196-44/+272
| | | | Multiple charset support for InnoDB; note that if you create tables and the default charset-collation is not latin1_swedish_ci, then you cannot use those tables if you downgrade to 4.0 again
* trx0sys.c:heikki@hundin.mysql.fi2004-02-191-62/+0
| | | | Remove the downgrade 4.1.2 -> 4.0.18 patch accidentally merged from 4.0 to 4.1; the patch must NOT be merged to 4.1; this fixes Bug #2883
* Merge with public treemonty@mysql.com2004-02-1616-238/+797
|\
| * After merge fixesmonty@mysql.com2004-02-162-33/+0
| | | | | | | | | | | | | | Added more DBUG statements Ensure that we are comparing end space with BINARY strings Use 'any_db' instead of '' to mean any database. (For HANDLER command) Only strip ' ' when comparing CHAR, not other space-like characters (like \t)
| * Merge with 4.0.18monty@mysql.com2004-02-1118-238/+830
| |\
| | * row0mysql.c:heikki@hundin.mysql.fi2004-02-093-0/+34
| | | | | | | | | | | | | | | | | | Allow always DROPping of a table which is only referenced by FOREIGN KEY constraints from the same table Many files: Do not let REPLACE to perform internally an UPDATE if the table is referenced by a FOREIGN KEY: the manual says that REPLACE must resolve a duplicate key error semantically with DELETE(s) + INSERT, and not by an UPDATE; the internal update caused foreign key checks and cascaded operations to behave in a semantically wrong way
| | * row0mysql.c:heikki@hundin.mysql.fi2004-02-091-1/+1
| | | | | | | | | | | | Fix crash in InnoDB RENAME TABLE if 'databasename/tablename' is shorter than 5 characters (Bug #2689); reported by Sergey Petrunia
| | * Many files:heikki@hundin.mysql.fi2004-02-098-67/+440
| | | | | | | | | | | | | | | | | | Fix bug #2167: generate foreign key id's locally for each table, in the form databasename/tablename_ibfk_number; if the user gives the constraint name explicitly remember it; these changes should ensure that foreign key id's in a slave are the same as in the master, and DROP FOREIGN KEY does not break replication sync0sync.c: UNIV_SYNC_DEBUG caused assertion in the creation of the doublewrite buffer, if we do not allow thousands of latches per thread
| | * Added testing of pthread_key_delete (to fix compile problem on SCO) (Bug #2461)monty@mysql.com2004-02-051-1/+1
| | | | | | | | | | | | | | | | | | DROP DATABASE now assumes RAID directories are in hex. (Bug #2627) Don't increment 'select_full_range' and similar statistics for EXPLAIN queries. (Bug #2506) Test in configure if pthread_key_delete() exists (to fix compile problem on SCO) (Bug #2461)
| | * dict0dict.c:heikki@hundin.mysql.fi2004-02-021-1/+1
| | | | | | | | | | | | Change print format of FOREIGN KEY constraints spanning multiple databases to <backquote>databasename<backquote>.<backquote>tablename<backquote>; but when parsing them we must also accept <backquote>databasename.tablename<backquote>, because that was the output format in < 4.0.18
| | * dict0dict.c:heikki@hundin.mysql.fi2004-02-021-11/+37
| | | | | | | | | | | | Change print format of FOREIGN KEY constraints spanning multiple databases to: .; but we when parsing them we must also accept , because that was the output format in < 4.0.18
| | * dict0dict.c:heikki@hundin.mysql.fi2004-02-022-165/+151
| | | | | | | | | | | | | | | | | | Remove redundant code; parse both the database name and the table name in a FOREIGN KEY constraint with quotes in mind row0mysql.c, ha_innodb.cc, sql_table.cc: Return error message Cannot delete or update a parent row... if we try to drop a table which is referenced by a FOREIGN KEY constraint, and the user has not set foreign_key_checks=0
| | * dict0dict.c:heikki@hundin.mysql.fi2004-02-011-46/+65
| | | | | | | | | | | | Cleanup
| | * Fixed parsing of column names and foreign key constraints in Innobase to ↵monty@mysql.com2004-01-301-29/+46
| | | | | | | | | | | | | | | | | | handle quoted identifiers and identifiers with space. (Bug #1725) Fix optimizer tuning bug when first used key part was a constant. (Bug #1679)
| | * btr0cur.c:heikki@hundin.mysql.fi2004-01-291-2/+3
| | | | | | | | | | | | Fix bug: InnoDB row count and index cardinality estimates wrapped over at 512 million in 32-bit computers
| | * data0data.ic, data0data.h, row0sel.c:heikki@hundin.mysql.fi2004-01-273-1/+43
| | | | | | | | | | | | Fix bug #2483 with InnoDB, UNIQUE secondary index, and NULL values in that unique index; with the IS NULL predicate, InnoDB returned only the first matching row, though there can be many
| | * row0ins.c:heikki@hundin.mysql.fi2004-01-141-16/+0
| | | | | | | | | | | | Fix bug: FOREIGN KEY ... ON UPDATE/DELETE NO ACTION must check the foreign key constraint, not ignore it. Peter Gulutzan said that NO ACTION should check the constraint as deferred, at the end of the SQL statement, while RESTRICT should check it immediately. Since we do not have defered constraints in InnoDB, this bug fix makes InnoDB to check NO ACTION constraints immediately, like it checks RESTRICT constraints.
| | * buf0lru.c:heikki@hundin.mysql.fi2004-01-071-8/+12
| | | | | | | | | | | | Start InnoDB Monitor if 80 % of the buffer pool occupied by adaptive has or lock heaps; do not print the same warning more than 1 time
| | * trx0sys.c:heikki@hundin.mysql.fi2004-01-061-1/+1
| | | | | | | | | | | | DO NOT MERGE TO 4.1: forgot to change this in the previous push
| | * trx0sys.c:heikki@hundin.mysql.fi2004-01-061-1/+1
| | | | | | | | | | | | DO NOT MERGE TO 4.1: charset changes can cause problems in a downgrade 4.1.1 -> 4.0.18
| | * trx0sys.c, srv0start.c, ibuf0ibuf.c, trx0sys.h, srv0srv.h:heikki@hundin.mysql.fi2004-01-065-1/+140
| | | | | | | | | | | | 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
| | * log0log.c:heikki@hundin.mysql.fi2003-12-231-1/+12
| | | | | | | | | | | | Do not assert in log0log.c, line 856 if ib_logfiles are too small for innodb_thread_concurrency. Instead, print instructions how to adjust my.cnf and call exit(1).
* | | srv0srv.c:heikki@hundin.mysql.fi2004-02-161-1/+1
|/ / | | | | | | Add a missing space to the output format of SHOW INNODB STATUS; reported by Jocelyn Fournier
* | ibuf0ibuf.c:heikki@hundin.mysql.fi2004-01-291-3/+6
| | | | | | | | Correct the comment about the ibuf record format in >= 4.1.1
* | row0sel.c:heikki@hundin.mysql.fi2004-01-201-2/+0
| | | | | | | | Remove extra mtr_start()
* | srv0start.c, srv0srv.c:heikki@hundin.mysql.fi2004-01-132-7/+8
| | | | | | | | If UNIV_SYNC_DEBUG was switched on, the error monitor thread could reserve a mutex BEFORE the sync debug system was initialized, and that caused a sync debug assertion in startup: move the 2 sec. sleep to a safer place; note that this is only heuristics, and in theory it can assert still
* | row0sel.c:heikki@hundin.mysql.fi2004-01-131-2/+4
| | | | | | | | Improve previous push: save 1000 bytes of thread stack in non-error cases
* | row0sel.c:heikki@hundin.mysql.fi2004-01-131-0/+22
| | | | | | | | If MySQL tries to do SELECT from an InnoDB table, but has set no table locks at all in ::external_lock(), print a descriptive error message and assert; some subquery bugs were of this type
* | row0mysql.c:heikki@hundin.mysql.fi2004-01-081-1/+1
| | | | | | | | Fix typo
* | srv0start.c:heikki@hundin.mysql.fi2004-01-061-2/+3
| | | | | | | | More instructions about a downgrade 4.1.1 -> 4.0.18
* | srv0start.c:heikki@hundin.mysql.fi2004-01-061-0/+13
| | | | | | | | Add comment that the insert buffer format changed between 4.0 and 4.1.1, but the undo log format did not
* | log0recv.h, log0recv.c:heikki@hundin.mysql.fi2004-01-022-8/+18
| | | | | | | | Merge a log replay change required by ibbackup
* | row0purge.c:heikki@hundin.mysql.fi2004-01-011-0/+2
| | | | | | | | Fix bug: if purge of a table was not possible because its .ibd file was missing, trx->dict_operation_lock_mode was left to a wrong value, causing an assertion failure
* | univ.i, srv0srv.c:heikki@hundin.mysql.fi2003-12-202-31/+28
| | | | | | | | Define macro ULINTPF which can be used in printf statements as the print format of ulint both on Win64 and other platforms
* | srv0start.c, univ.i, configure.in:heikki@hundin.mysql.fi2003-12-203-1/+15
| | | | | | | | Check at compilation time on Unix that InnoDB ulint is the same size as void*, and also check it at runtime
* | Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safemonty@mysql.com2003-12-2048-686/+815
| | | | | | | | A after merge fix for last merge
* | univ.i, ut0ut.h, ut0ut.c:heikki@hundin.mysql.fi2003-12-193-20/+254
| | | | | | | | On 64-bit Windows use InnoDB's own printf function where %lu is converted to %I64u; this eliminates Intel compiler warnings on IA64
* | Merge with 4.0.17monty@mysql.com2003-12-179-80/+289
|\ \ | |/
| * btr0cur.c, row0umod.c:heikki@hundin.mysql.fi2003-12-134-22/+109
| | | | | | | | | | | | | | | | Fix bug: if one updated a secondary index column so that its alphabetical value did not change (e.g., abc -> aBc) and rolled back the update, InnoDB failed to return the value in the secondary index to its original value row0upd.h: Correct typing error sync0sync.ic: Remove inadvertently pushed sync debug code
| * row0upd.h, row0upd.c:heikki@hundin.mysql.fi2003-12-122-6/+4
| | | | | | | | Remove wrong debug assertion and comment
| * Many files:heikki@hundin.mysql.fi2003-12-129-118/+181
| | | | | | | | Fix assertion failure on line 713 of row0upd.c if there is a column prefix index and the last characters in the prefix are spaces: do not assume that the length of alphabetically equal strings is the same; fix a buglet which could cause InnoDB to think that a secondary index record was not locked though it had been updated in a way which did not alpahabetically change its value, e.g., abc -> aBc
* | Added missing SSL library (Should be in source distribution)monty@mysql.com2003-11-284-5/+5
| | | | | | | | | | | | | | Fixed compiler warnings (a lot of hidden variables detected by the Forte compiler) Added a lot of 'version_xxx' strings to 'show variables' Prevent copying of TMP_TABLE_PARAM (This caused core dump bug on Solaris) Fixed problem with printing sub selects to debug log
* | fil0fil.h, fil0fil.c:heikki@hundin.mysql.fi2003-11-252-15/+30
| | | | | | | | ibbackup --apply-log must be able to rename a table based only on the space id
* | os0file.h, os0file.c:heikki@hundin.mysql.fi2003-11-252-5/+241
| | | | | | | | Changes needed for ibbackup directory scanning fault tolerance
* | dict0boot.c:heikki@hundin.mysql.fi2003-11-251-2/+6
| | | | | | | | Marko's patch: check the position of some system table columns already at C compile time
* | Fixed compiler warnings from Intel compiler in Win64monty@mysql.com2003-11-239-44/+55
| | | | | | | | | | | | Added option --max-record-length=# to myisamchk Don't try repair twice if doing myisamchk --repair --force Shared memory handler didn't clean up things on errors or shutdown
* | os0file.c:heikki@hundin.mysql.fi2003-11-211-1/+1
| | | | | | | | | | | | Fix the OS error 2 reported by Miguel and Mark in Windows crash recovery: a * had been forgotten from the path in directory scanning ha_innodb.cc: Set default directory in fil0fil.c right if we are running the Embedded Server Library, where the default dir of the process is not necessarily the MySQL datadir
* | Portability fixes for AIX43monty@mashka.mysql.fi2003-11-201-4/+4
| |