summaryrefslogtreecommitdiff
path: root/innobase/row
Commit message (Collapse)AuthorAgeFilesLines
* my_strtoll10-x86.s:kent@mysql.com/kent-amd64.(none)2006-12-311-2/+4
| | | | | | | | | | | | | | | | | | | | | Corrected spelling in copyright text Makefile.am: Don't update the files from BitKeeper Many files: Removed "MySQL Finland AB & TCX DataKonsult AB" from copyright header Adjusted year(s) in copyright header Many files: Added GPL copyright text Removed files: Docs/Support/colspec-fix.pl Docs/Support/docbook-fixup.pl Docs/Support/docbook-prefix.pl Docs/Support/docbook-split Docs/Support/make-docbook Docs/Support/make-makefile Docs/Support/test-make-manual Docs/Support/test-make-manual-de Docs/Support/xwf
* Many files:kent@mysql.com/kent-amd64.(none)2006-12-231-2/+1
| | | | Changed header to GPL version 2 only
* Added innodb_rollback_on_timeout option to restore the 4.1 tsmith/tim@siva.hindu.god2006-12-191-1/+10
| | | | InnoDB timeout behavior (Bug #24200)
* This ChangeSet must be null-merged to 5.1. Applied innodb-5.0-ss982, ↵tsmith@quadxeon.mysql.com2006-11-092-5/+9
| | | | | | | | | | -ss998, -ss1003 Fixes: - Bug #15815: Very poor performance with multiple queries running concurrently - Bug #22868: 'Thread thrashing' with > 50 concurrent conns under an upd-intensive workloadw - Bug #23769: Debug assertion failure with innodb_locks_unsafe_for_binlog - Bug #24089: Race condition in fil_flush_file_spaces()
* innodb r702tnurnberg@salvation.intern.azundris.com2006-08-182-15/+14
| | | | innodb r719
* Applied innodb-5.0-ss609 snapshot.aivanov@mysql.com2006-06-062-11/+12
| | | | | Fixed BUG#19727 "InnoDB crashed server and crashed tables are not recoverable".
* Applied innodb-5.0-ss476 snapshot.aivanov@mysql.com2006-04-211-0/+18
| | | | | | Fix BUG#18934: "InnoDB crashes when table uses column like DB_ROW_ID". Also, fix memory leaks in row_create_table_for_mysql() in rare corner cases.
* Applied innodb-5.0-ss368 snapshotaivanov@mysql.com2006-03-293-8/+35
| | | | | | | | | | | | | | | | | | | | | | | | | Fixed bugs: #16814: SHOW INNODB STATUS format error in LATEST FOREIGN KEY ERROR section dict_foreign_key_error_report(): Always print a newline after invoking dict_print_info_on_foreign_key_in_create_format(). #16827: Better InnoDB error message if ibdata files omitted from my.cnf. #17126: CHECK TABLE on InnoDB causes a short hang during check of adaptive hash. CHECK TABLE blocking other queries, by releasing the btr_search_latch periodically during the adaptive hash table validation. #17405: Valgrind: conditional jump or move depends on uninitialised valuesw. buf_block_init(): Reset magic_n, buf_fix_count, and io_fix to avoid testing uninitialised variables. #18077: InnoDB uses full explicit table locks in stored FUNCTION. #18238: When locks exhaust the buffer pool, InnoDB does not roll back the trx. Check in pessimistic insert and update if the buffer pool is exhausted by locks. #18252: Disk space leaks in updates of InnoDB BLOB rows. btr_cur_pessimistic_update(): Invoke rec_get_offset() after rec_set_field_extern_bits(). btr_store_big_rec_extern_fields(): Note that offsets will no longer be valid after calling this function. #18283: When InnoDB returns error 'lock table full', MySQL can write to binlog too much. #18384: InnoDB memory leak on duplicate key errors if row has many columns. row_ins_duplicate_error_in_clust(): Call mem_heap_free(heap) at func_exit if needed. #18350: Use consistent read in CREATE ... SELECT .. if innodb_locks_unsafe_for_binlog is used.
* Changes from the innodb-5.0-ss115 snapshot.aivanov@mysql.com2006-01-163-19/+28
| | | | | | | | Fixed bugs: BUG#15991: "innodb-file-per-table + symlink database + rename = crash" BUG#15650: "DELETE with LEFT JOIN crashes server" BUG#15308: "Problem of Order with Enum Column in Primary Key" BUG#14189: "VARBINARY and BINARY variables: trailing space ignored"
* Fix BUG#12071: "Windows hang:'Opening tables' or 'Waiting foraivanov@mysql.com2005-12-131-13/+14
| | | | | | | table' lockup". Changes from the innodb-5.0-ss92 snapshot. Do not call os_file_create_tmpfile() at runtime. Instead, create all tempfiles at startup and guard access to them with mutexes.
* Fix BUG#14747: "Race condition can cause btr_search_drop_page_hash_index()aivanov@mysql.com2005-12-061-38/+26
| | | | | | | | | | | | | to crash". Changes from snapshot innodb-5.0-ss52. Note that buf_block_t::index should be protected by btr_search_latch or an s-latch or x-latch on the index page. btr_search_drop_page_hash_index(): Read block->index while holding btr_search_latch and use the cached value in the loop. Remove some redundant assertions. Also fix 13778. When FOREIGN_KEY_CHECKS=0 we still need to check that datatypes between foreign key references are compatible. Also added test cases to 9802.
* Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1jani@ua141d10.elisa.omakaista.fi2005-10-271-34/+0
|\ | | | | | | into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0-tmp
| * Removed innobase/my_cnf, innobase/include/makefilewin.i,aivanov@mysql.com2005-10-261-34/+0
| | | | | | | | and innobase/*/makefilewin (which are unused now).
* | BUG#13900 DATETIME data changes after inserting a new row in a InnoDB tableelliot@mysql.com2005-10-171-0/+12
| | | | | | | | | | Applying patch from Marko. All tests pass in pentium-debug-max build on Linux.
* | InnoDB: Handle temporary file creation failure more gracefully.osku@127.(none)2005-09-261-7/+9
| |
* | row0ins.c:heikki@hundin.mysql.fi2005-09-231-1/+2
| | | | | | | | Fix a compilation error: Visual C++ does not seem to allow variable declaration in the middle of a program block
* | Merge 127.(none):/home/osku/mysql/5.0/cleanosku@127.(none)2005-09-231-4/+36
|\ \ | | | | | | | | | into 127.(none):/home/osku/mysql/5.0/3443
| * | Fix bug #3443, better foreign key error messsages.osku@127.(none)2005-09-231-4/+36
| | |
* | | InnoDB: Fix bug #13315, index columns having a maximum length of 767.osku@127.(none)2005-09-231-4/+17
|/ /
* | InnoDB: Reject foreign keys in temporary tables. Closes bug #12084. osku@127.(none)2005-09-061-2/+6
| |
* | row0mysql.c, ha_innodb.cc:heikki@hundin.mysql.fi2005-09-051-2/+3
| | | | | | | | Fix bug #12308 : do not roll back the whhole transaction in a lock wait timeout error, just roll back the latest SQL statement; note that the locks set in the latest SQL statements remain, as InnoDB does not know what locks were set in which SQL statement
* | row0sel.c:heikki@hundin.mysql.fi2005-09-031-4/+3
| | | | | | | | Fix a wrong debug assert in the previous patch
* | row0sel.c:heikki@hundin.mysql.fi2005-09-031-29/+49
| | | | | | | | Add more comments to row_search_for_mysql() and remove the ugly double use of the variable rec in that function
* | row0sel.c:heikki@hundin.mysql.fi2005-09-031-6/+12
| | | | | | | | Fix bug #12947 : a consistent read could return inconsistent results; this bug was introduced in 5.0.5
* | row0sel.c:heikki@hundin.mysql.fi2005-08-191-0/+5
| | | | | | | | Temporarily remove error print if MySQL tries to do a SELECT even though trx->n_mysql_tables_in_use is 0. We must return the error print when the lock count of cursors is properly implemented (Bug #12456)
* | InnoDB: Print more than 300 characters of queries in various error conditions,osku@127.(none)2005-08-124-8/+8
| | | | | | | | most notably deadlocked ones in SHOW INNODB STATUS. Fixes bug #7819.
* | A fix and a test case for Bug#12243 "MySQL Server crashes with 2 konstantin@mysql.com2005-08-101-12/+0
| | | | | | | | | | cursors (+ commit)" and Bug#11832 "Server crash with InnoDB + Cursors" See comments to the changed files.
* | Many files:heikki@hundin.mysql.fi2005-08-031-2/+10
| | | | | | | | | | | | Push the patch of Jan Lindstrom: better comments ha_innodb.cc: Partial fix for Bug #12263 : we let InnoDB always to perform a rollback on the trx object if MySQL closes a connection; but we do print a warning to the .err log if an InnoDB transaction was active; we may remove that print later, since the situation really is not a bug; MySQL just is not aware that some cursor operation started an InnoDB transaction
* | row0sel.c:marko@hundin.mysql.fi2005-07-281-2/+2
| | | | | | | | | | row_sel_store_mysql_rec(): Make comment about space padding more accurate.
* | row_sel_store_mysql_rec(): Convert NULL true VARCHAR columnsmarko@hundin.mysql.fi2005-07-281-2/+10
| | | | | | | | correctly.
* | Implement MySQL framework to support consistent read views injan@hundin.mysql.fi2005-07-221-1/+7
| | | | | | | | | | | | | | | | cursors for InnoDB. The idea of the patch is that if MySQL requests a consistent read view, we open one when open a cursor, set is as the active view to a transaction when fetch from the cursor, and close together with cursor close. This patch is associated to bugs #11813, #11832, and #11833. Contains after review fixes.
* | row0sel.c:heikki@hundin.mysql.fi2005-07-021-3/+11
| | | | | | | | Optimize speed: no need to keep track of set new rec locks in a consistent read
* | trx0trx.h, trx0trx.ic, row0mysql.c:heikki@hundin.mysql.fi2005-07-011-1/+1
| | | | | | | | Fix another bug in the fix of Bug #3300
* | Many files:heikki@hundin.mysql.fi2005-07-012-34/+150
| | | | | | | | Fix Bug #3300 : if innodb_locks_unsafe_for_binlog is set, release locks on rows that we do not UPDATE or DELETE
* | Many files:heikki@hundin.mysql.fi2005-06-271-1/+1
| | | | | | | | Remove compiler warnings on Windows - Bug #11580
* | InnoDB: Remove compilation warnings and errors on SGI IRIX.marko@hundin.mysql.fi2005-06-221-8/+4
| |
* | InnoDB: Remove some warnings reported by GCC 4.0.0.marko@hundin.mysql.fi2005-06-211-12/+3
| |
* | Merge hundin.mysql.fi:/home/marko/mysql-5.0marko@hundin.mysql.fi2005-06-218-294/+303
|\ \ | | | | | | | | | into hundin.mysql.fi:/home/marko/mysql-5.0-current
| * | InnoDB: Remove warnings detected by GCC 4.0.0marko@hundin.mysql.fi2005-06-201-4/+3
| | |
| * | InnoDB: Do not distinguish explicitly requested table locks.marko@hundin.mysql.fi2005-06-081-29/+5
| | | | | | | | | | | | | | | | | | Since UNLOCK TABLES will commit the transaction (and thus release all InnoDB locks held by it), it is unnecessary to release the user-requested table locks separately.
| * | InnoDB ON UPDATE CASCADE fixes:marko@hundin.mysql.fi2005-05-131-19/+39
| | | | | | | | | | | | | | | | | | Enforce maximum char_length of UTF-8 data (Bug #10409). Pad UTF-8 variable-length CHAR columns with 0x20. Pad UCS2 CHAR columns with 0x0020 (Bug #10511).
| * | Remove unused function rec_offs_nth_null().marko@hundin.mysql.fi2005-04-271-8/+5
| | | | | | | | | | | | rec_offs_nth_extern(): Return zero/nonzero instead of FALSE/TRUE.
| * | Fix bugs found in previous optimizations.marko@hundin.mysql.fi2005-04-272-3/+3
| | | | | | | | | | | | Make rec_get_deleted_flag() return zero/nonzero instead of FALSE/TRUE.
| * | InnoDB: Performance optimizations based on OProfile analysismarko@hundin.mysql.fi2005-04-255-208/+211
| | |
| * | row0upd.c:marko@hundin.mysql.fi2005-04-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add UNIV_UNLIKELY hint. lock0lock.c: Correct the prototypes of lock_deadlock_recursive() and lock_deadlock_occurs(). data0data.c: dtuple_convert_big_rec(): Add UNIV_UNLIKELY hint. ha_innodb.cc: ha_innobase::write_row(): Correct the type of 'mode'.
| * | InnoDB: Reduce memcpy() load in row_sel_pop_cached_row_for_mysql()marko@hundin.mysql.fi2005-04-211-2/+3
| | | | | | | | | | | | | | | by copying only a prefix of the row that covers the requested columns.
| * | InnoDB: Define some macros around GCC's __builtin_expect()marko@hundin.mysql.fi2005-04-217-19/+19
| | | | | | | | | | | | | | | and __builtin_prefetch(). Add UNIV_LIKELY_NULL to if (heap) mem_free_heap(heap) tests.
| * | InnoDB: Make CHECK TABLE killable. (Bug #9730)marko@hundin.mysql.fi2005-04-201-2/+15
| | |
* | | mergedserg@serg.mylan2005-05-281-0/+5
|\ \ \ | | |/ | |/|
| * | Merge hundin.mysql.fi:/home/marko/k/mysql-4.0marko@hundin.mysql.fi2005-05-261-0/+5
| |\ \ | | | | | | | | | | | | into hundin.mysql.fi:/home/marko/mysql-4.1