osku
5fbd019220
Optimize BLOB selects by using prebuilt->blob_heap directly instead of first
...
reading BLOB data to a temporary heap and then copying it to
prebuilt->blob_heap.
2006-05-23 11:35:58 +00:00
osku
135e5219e0
Fetch externally stored fields when using InnoDB's internal SQL parser.
2006-05-23 05:49:17 +00:00
marko
749f72dad6
Implement InnoDB assertions (ut_a and ut_error) with abort() when
...
the code is compiled with GCC 3 or later on other platforms than
Windows or Netware. Also disable the variable ut_dbg_stop_threads
and the function ut_dbg_stop_thread() in this case, unless
UNIV_SYNC_DEBUG is defined. This should allow the compiler to
generate more compact code for assertions.
2006-05-22 08:11:38 +00:00
osku
83ed919c45
btr_copy_externally_stored_field(): Only set the 'offset' variable when
...
needed.
2006-05-22 07:50:05 +00:00
osku
f2651a69ba
row_sel_store_mysql_rec(): Remove useless call to rec_get_nth_field
...
when handling an externally stored column.
2006-05-22 07:29:00 +00:00
osku
4b9c631072
Add ib_list_create_heap().
2006-05-18 10:02:01 +00:00
marko
448636a7cb
recv_parse_or_apply_log_rec_body(): Remove bogus debug assertion.
2006-05-16 06:47:06 +00:00
marko
fc77030d39
srv_parse_data_file_paths_and_sizes(): Accept lower-case 'm' and 'g'
...
as abbreviations of megabyte and gigabyte. (Bug #19609 )
srv_parse_megabytes(): New function.
2006-05-12 19:25:18 +00:00
osku
a6ce71b013
Move trx_commit_for_mysql(trx) calls in row0mysql.c before calls to
...
row_mysql_unlock_data_dictionary(trx), fixing bug #19727 .
2006-05-12 11:13:18 +00:00
marko
5ba4fc828a
Define UNIV_BTR_DEBUG for enabling consistency checks of
...
FIL_PAGE_NEXT and FIL_PAGE_PREV when accessing sibling pages
of B-tree indexes.
btr_validate_level(): Check the validity of the doubly linked list
formed by FIL_PAGE_NEXT and FIL_PAGE_PREV.
2006-05-11 16:59:18 +00:00
marko
0c532d7567
Improve the documentation of FIL_PAGE_PREV, FIL_PAGE_NEXT,
...
and REC_INFO_MIN_REC_FLAG.
2006-05-11 12:44:01 +00:00
osku
c3908a7fc6
Add mem_heap_printf() and mem_heap_cat().
2006-05-11 04:55:18 +00:00
osku
896e890f39
Add innobase_convert_string wrapper function to ha_innodb.cc, and a new file
...
ha_prototypes.h.
2006-05-11 04:51:52 +00:00
osku
03e2996446
Add support for DATA_CHAR type in bound literals in the SQL parser.
2006-05-10 06:37:13 +00:00
marko
b74d61df4a
Port r543 from innodb/branches/5.0: Port r29 from innodb-4.1/trunk:
...
export.sh: Generate the files to-mysql/patches/r$REV.patch
containing the output of "svn log" and "svn diff" for each change.
2006-05-09 08:37:14 +00:00
osku
082d3b0c12
Increment statistic counter in ha_innobase::index_prev(). Fixes bug #19542 .
2006-05-09 06:37:11 +00:00
marko
df7176156f
Merge a change from MySQL AB to Makefile.am:
...
ChangeSet@2006/04/29 09:33:34-07:00 serg@sergbook.mysql.com
make distcheck and cosmetic fixes
2006-05-08 09:33:28 +00:00
marko
22f908db65
Merge changes by MySQL AB to ha_innodb.cc:
...
WL#2257 REFERENTIAL_CONSTRAINTS view
WL#3201 pluggable storage engines
2006-05-08 08:08:27 +00:00
osku
e8b80a5afe
Add support for bound ids in InnoDB's SQL parser.
2006-05-08 05:13:09 +00:00
marko
d35c4375c3
buf_page_io_complete(): Write to the error log if the page number or the
...
space id on the disk do not match those in the memory. Also write to
the error log if a page was read from the doublewrite buffer. The
doublewrite buffer should be only read by the lower-level function fil_io()
at database startup.
2006-05-05 15:19:32 +00:00
marko
0677a1ec8e
Port r529 of branches/5.0: Port r27 of innodb-4.1/trunk: Check the page
...
trailers also after writing to disk.
This improves the chances of diagnosing Bug #18886 .
os_file_check_page_trailers(): New function for checking that the two
copies of the LSN stamped on the pages match.
os_aio_simulated_handle(): Call os_file_check_page_trailers() before
and after os_file_write().
2006-05-05 12:52:08 +00:00
marko
4299f60dc8
ibuf_count_get(), ibuf_counts[], ibuf_counts_inited: Define these only
...
#ifdef UNIV_IBUF_DEBUG. Previously, when compiled without UNIV_IBUF_DEBUG,
invoking ibuf_count_get() would crash InnoDB. The function is only being
called #ifdef UNIV_IBUF_DEBUG.
2006-05-05 11:39:44 +00:00
marko
399cba57bc
Improve the comments of the space low address map.
2006-05-05 11:28:25 +00:00
osku
32fa3568a3
row_fetch_print: Handle SQL NULL values without crashing.
2006-05-05 07:24:03 +00:00
marko
f1329684db
Fix a typo in a comment.
2006-05-04 11:25:58 +00:00
osku
47f0a5aa7a
srv_master_thread(): Remove unreachable code.
2006-04-29 04:43:37 +00:00
osku
5d3bf05722
Add parens to return statements where they are missing (except in
...
ha_innodb.cc).
2006-04-28 11:57:13 +00:00
osku
5737acba07
Add 'level' parameter to rw_lock_create(), remove rw_lock_set_level().
2006-04-28 05:49:59 +00:00
osku
f970488ae0
Add 'level' parameter to mutex_create(), remove mutex_set_level().
...
Rename SYNC_LEVEL_NONE to SYNC_LEVEL_VARYING, add comment clarifying what it
is used for.
2006-04-28 05:43:08 +00:00
osku
37d636f20a
univ.i: Make debug checks easily togglable.
2006-04-28 05:35:56 +00:00
osku
0fb81c1dc9
Add mem_heap_dup().
2006-04-26 12:17:36 +00:00
osku
66946183b2
Add a work queue implementation.
2006-04-26 12:14:50 +00:00
osku
c89455c16c
Add a normal linked-list implementation.
2006-04-26 11:58:07 +00:00
osku
33c7b6a27e
From MySQL:
...
Add innodb_mysql.[test|result].
2006-04-26 07:08:21 +00:00
osku
1b2d46c83c
From MySQL:
...
Updates to innodb.[test|result].
2006-04-24 11:58:30 +00:00
osku
af84ccc340
From MySQL:
...
Added new function to handlerton.
2006-04-24 11:34:49 +00:00
osku
55c1115212
From MySQL:
...
Refactored some code to remove ifdef and removed dead code related to
un-useable sync code.
2006-04-24 11:33:51 +00:00
osku
19ea5ccd7f
From MySQL:
...
After merge fixes.
2006-04-24 11:33:00 +00:00
osku
032df406cb
Remove remnants of the obsolete concept of memoryfixing tables and indexes.
...
Remove unused dict_table_LRU_trim().
Remove unused 'trx' parameter from the functions dict_table_get_on_id_low,
dict_table_get and dict_table_get_and_increment_handle_count.
2006-04-24 09:39:13 +00:00
osku
afcb5d7c8f
From MySQL:
...
Add cmakelists.txt to Makefile.Am.
2006-04-24 05:18:28 +00:00
osku
ca150507fc
Add platform-specific os_thread_ret_t and OS_THREAD_DUMMY_RETURN, and
...
convert thread start functions to use them.
2006-04-21 12:09:12 +00:00
osku
160cd2b29e
Make 'thread_id' parameter in os_thread_create() optional.
2006-04-21 12:06:23 +00:00
marko
589f96fb42
Merge r487 from branches/5.0:
...
dict_load_indexes(): pass comp=0 to rec_get_deleted_flag(),
because SYS_INDEXES always is in ROW_FORMAT=REDUNDANT. (Bug #19217 )
2006-04-21 08:00:26 +00:00
osku
99585c9bae
Remove srv_sys->operational since it is unused.
2006-04-21 07:04:02 +00:00
osku
5f00145409
Remove obsolete and unused global variables from srv0srv.c.
2006-04-20 11:06:41 +00:00
osku
573617ce05
dict_remove_db_name: Remove useless 'if'.
2006-04-18 07:16:14 +00:00
osku
36a5c882d5
export.sh:
...
Automate snapshot creation process.
Update "files internal to innobase" list.
2006-04-18 06:48:47 +00:00
osku
9845358e36
Remove temporary work-arounds from innodb.result now that ALTER TABLE DROP
...
FOREIGN KEY works once again.
2006-04-18 06:33:03 +00:00
osku
20694fdb8f
Use bound literals in row_rename_table_for_mysql.
2006-04-17 08:14:04 +00:00
osku
05963b4917
Add mem_heap_strcat().
2006-04-17 08:13:07 +00:00