marko@hundin.mysql.fi
3760b8acfe
InnoDB: Fix compile-pentium-debug-max compilation problem.
2005-07-05 12:10:20 +03:00
marko@hundin.mysql.fi
efba4c3e9e
InnoDB: Optimize page_cur_search_with_match().
2005-06-30 11:15:06 +03:00
heikki@hundin.mysql.fi
b3f1c60ed9
Many files:
...
Remove compiler warnings on Windows - Bug #11580
2005-06-27 18:58:32 +03:00
marko@hundin.mysql.fi
eb42421e4a
InnoDB: Replace for loops with memset() where possible.
2005-06-22 12:36:24 +03:00
marko@hundin.mysql.fi
9084d3dd68
InnoDB: Cleanup and after review fixes.
2005-06-14 12:21:40 +03:00
marko@hundin.mysql.fi
1f86577576
btr0cur.c:
...
Move the flag btr_cur_print_record_ops behind #ifdef UNIV_DEBUG.
Remove unused variable btr_cur_rnd.
2005-06-10 11:40:20 +03:00
marko@hundin.mysql.fi
194593b8a9
Fix bugs found in previous optimizations.
...
Make rec_get_deleted_flag() return zero/nonzero instead of FALSE/TRUE.
2005-04-27 12:28:44 +03:00
marko@hundin.mysql.fi
b3d6f51705
InnoDB: Performance optimizations based on OProfile analysis
2005-04-25 10:14:35 +03:00
marko@hundin.mysql.fi
c470116981
InnoDB: Define some macros around GCC's __builtin_expect()
...
and __builtin_prefetch().
Add UNIV_LIKELY_NULL to if (heap) mem_free_heap(heap) tests.
2005-04-21 14:23:26 +03:00
marko@hundin.mysql.fi
df780de614
InnoDB: Make CHECK TABLE killable. (Bug #9730 )
2005-04-20 17:39:05 +03:00
marko@hundin.mysql.fi
e360eaed5e
InnoDB: Replace the redo log entry type
...
MLOG_COMP_REC_SEC_DELETE_MARK with MLOG_REC_SEC_DELETE_MARK
in order to reduce the space occupied by the redo log.
2005-04-18 15:12:30 +03:00
serg@serg.mylan
e1e5b97dea
manually merged
...
Gluh's SESSION/GLOBAL for @variables fix in sql_yacc.yy and
Bar's well_formed_len() changes in ndb code
did not make it and should be re-applied manually
2005-04-06 21:19:20 +02:00
heikki@hundin.mysql.fi
0c2caeb4d8
row0sel.c, btr0pcur.c, btr0pcur.ic, btr0pcur.h:
...
Add diagnostic code to track assertion failure in ut_a(cursor->old_stored == BTR_PCUR_OLD_STORED); the failure happened in OPTIMIZE TABLE, and in 4.0.24 in some other context
2005-04-06 10:27:40 +03:00
marko@hundin.mysql.fi
c4ace2a471
InnoDB: Introduce the symbols REC_OFFS_NORMAL_SIZE and
...
REC_OFFS_SMALL_SIZE for the initial allocation sizes of
arrays passed to rec_get_offsets().
2005-03-10 15:16:16 +02:00
marko@hundin.mysql.fi
6920a6d546
InnoDB: Improve performance by about 10% by removing implicit
...
memcpy() calls, by not initializing the offsets_[] arrays.
InnoDB: Remove a Microsoft compiler warning in page0page.c.
2005-03-09 22:04:55 +02:00
marko@hundin.mysql.fi
5faaf74818
InnoDB: Zero fill newly created pages and deleted records to
...
remove old junk and to improve compression ratio.
InnoDB: Make implicit type conversions explicit. (Bug #8826 )
2005-03-01 13:54:48 +02:00
marko@hundin.mysql.fi
fbb7d9a9df
InnoDB: Write status bits to MLOG_COMP_REC_INSERT entries.
...
It is not safe to infer the status bits from the B-tree page
level, because after MLOG_COMP_LIST_END_COPY_CREATED, the
level will not be initialized before the records have been inserted.
(Bug #7973 )
2005-01-25 12:10:24 +02:00
marko@hundin.mysql.fi
32757a3466
InnoDB: Fix some bugs in the new record format. (Bug #7493 )
2004-12-28 01:34:52 +02:00
marko@hundin.mysql.fi
7506ca1be1
InnoDB: Changed interface to rec_get_offsets(), to reduce the use of
...
memory heaps. This changeset plugs also a few memory leaks that
were introduced with the compact InnoDB table format.
2004-12-09 15:29:55 +02:00
marko@hundin.mysql.fi
3f806c3b66
InnoDB: Make btr_search_drop_page_hash_index() work with the compact
...
record format without requiring the doubly linked list added by
Heikki in ChangeSet@1.1627.16.2
2004-12-08 15:20:58 +02:00
marko@hundin.mysql.fi
83ac19929d
Cset exclude: heikki@hundin.mysql.fi|ChangeSet|20041027124510|04970
2004-12-08 14:34:58 +02:00
marko@hundin.mysql.fi
5e5a3f3f4f
row0mysql.c:
...
Remove parameter from call to btr_search_validate().
buf0buf.c:
Initialize member "index" of buf_block_t.
buf0buf.h:
Add member "index" to buf_block_t.
btr0sea.h:
Remove parameter of btr_search_validate()
btr0sea.c:
Make use of the added member "index" of buf_block_t.
2004-12-08 14:33:09 +02:00
marko@hundin.mysql.fi
2db2cda3ed
InnoDB: Fix ctype_utf8 test failure caused by the new record format.
2004-12-03 17:57:44 +02:00
marko@hundin.mysql.fi
dd48953956
Many files:
...
Implement more compact InnoDB record format.
Old format is available as CREATE TABLE ... ROW_FORMAT=DYNAMIC.
2004-12-02 19:45:07 +02:00
monty@mysql.com
afbe601302
merge with 4.1
2004-10-29 19:26:52 +03:00
heikki@hundin.mysql.fi
67456bb970
btr0sea.c, buf0lru.c, buf0buf.c, ha0ha.c, hash0hash.h, ha0ha.h, buf0buf.h:
...
Link adaptive hash index entries to the buffer page, so that we can remove them quickly without knowing the record structure on that page; this was requested by Marko for the compact InnoDB table format; note that the adaptive hash index memory overhead grows by 67 %, maybe we have to tune this later somehow
2004-10-27 15:45:10 +03:00
monty@mysql.com
62f3cd6a31
Merge with 4.0 for 4.1 release
...
Noteworthy:
- New HANDLER code
- New multi-update-grant-check code
- Table lock code in ha_innodb.cc was not applied
2004-10-06 19:14:33 +03:00
marko@hundin.mysql.fi
76cda983a9
Merge marko@build.mysql.com:/home/bk/mysql-4.1
...
into hundin.mysql.fi:/home/marko/j/mysql-4.1
2004-10-01 14:17:05 +03:00
marko@hundin.mysql.fi
d7ea8e7c6c
InnoDB: quote identifiers according to MySQL settings (Bug #5292 )
2004-10-01 11:51:59 +03:00
marko@hundin.mysql.fi
7a845e43ad
InnoDB: Update links to the user manual
2004-09-08 14:24:13 +03:00
jan@hundin.mysql.fi
a48db602dd
Fixed unique prefix key bug for multibyte character sets (BUG #4521 ) for
...
InnoDB. This fixes also a second part of the same problem with prefix keys
on a multibyte string column for InnoDB.
2004-09-03 15:26:29 +03:00
serg@serg.mylan
1f0cd873c5
manual merged (blame me!)
2004-07-20 00:53:24 +02:00
heikki@hundin.mysql.fi
0614f8c718
btr0cur.c:
...
Do not add + 1 to the InnoDB index cardinality estimate if the B-tree just contains one page; the fix made in March 2004 caused InnoDB systematically to overestimate the cardinality of empty or small tables by 1
2004-07-15 09:08:51 +03:00
monty@mysql.com
b11d258835
Merge with 4.0.21
2004-06-18 04:38:58 +03:00
marko@hundin.mysql.fi
d2724e66db
InnoDB: Revert most of ChangeSet@1.1772, as the debug functions may
...
be needed when testing production releases
2004-06-16 13:41:14 +03:00
marko@hundin.mysql.fi
fc85c80b88
InnoDB cleanup:
...
Disable log archiving code unless #ifdef UNIV_LOG_ARCHIVE
Remove (char*) casts of string constants; add const qualifiers
Remove some Hot Backup code unless #ifdef UNIV_HOTBACKUP
2004-05-27 15:27:43 +03:00
monty@mysql.com
cd3dab49cc
Merge with 4.0.20
2004-05-17 01:52:13 +03:00
marko@hundin.mysql.fi
a5cca9df64
InnoDB cleanup: eliminate IB__FILE__
2004-05-14 16:06:21 +03:00
marko@hundin.mysql.fi
981f6ef979
InnoDB: Changed bug reporting address to http://bugs.mysql.com
2004-05-11 11:05:02 +03:00
monty@mishka.local
21fd1d270e
Merge with 4.0
2004-04-26 15:53:31 +03:00
marko@hundin.mysql.fi
253bf9861b
InnoDB: Remove debug functions unless #ifdef UNIV_DEBUG
2004-04-07 14:19:26 +03:00
marko@hundin.mysql.fi
6af38c65be
InnoDB: send diagnostic output to stderr or files
...
instead of stdout or fixed-size memory buffers
2004-04-06 16:14:43 +03:00
marko@hundin.mysql.fi
7f1f7b9391
InnoDB: cleanup of B-tree cursor operations
2004-03-31 11:40:07 +03:00
monty@mysql.com
59f9dcd51d
Merge mysql.com:/home/my/mysql-4.0 into mysql.com:/home/my/mysql-4.1
2004-03-20 12:49:17 +02:00
heikki@hundin.mysql.fi
a8da91f9fb
btr0btr.c:
...
Correct previous bk commit comment about page splits: actually, in versions < 4.0.19 space utilization is very poor if 1500 - 8000 byte rows are inserted in the order of the primary key
2004-03-20 06:09:18 +02:00
heikki@hundin.mysql.fi
c9bbc83d11
btr0btr.c:
...
Improve space utilization if we have 3 kB - 8 kB rows to insert in the order of the primary key
btr0cur.c:
Fix bug: The row count and key cardinality estimate was grossly too small if each clustered index page only contained one record
2004-03-19 22:51:25 +02:00
monty@mysql.com
f9ad650490
merge with 4.0
2004-03-17 10:36:12 +02:00
monty@mysql.com
350b433569
merge with 4.0
2004-03-16 22:41:30 +02:00
marko@hundin.mysql.fi
e39030c027
InnoDB: Remove some debug variables unless UNIV_SEARCH_PERF_STAT is defined
2004-03-16 18:55:44 +02:00
marko@hundin.mysql.fi
20b6863c9a
InnoDB: Make btr_cur_unmark_extern_fields() a static function
2004-03-16 15:26:33 +02:00