osku
879aa87a32
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
300ad47fbe
Add support for DATA_CHAR type in bound literals in the SQL parser.
2006-05-10 06:37:13 +00:00
marko
847adf32cf
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
3801001142
Increment statistic counter in ha_innobase::index_prev(). Fixes bug #19542 .
2006-05-09 06:37:11 +00:00
marko
b17f2879fe
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
29221474d6
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
4690f2fc6f
Add support for bound ids in InnoDB's SQL parser.
2006-05-08 05:13:09 +00:00
marko
73330226ed
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
406c6036de
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
1fd289fd6d
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
090c3fac71
Improve the comments of the space low address map.
2006-05-05 11:28:25 +00:00
osku
4547823a17
row_fetch_print: Handle SQL NULL values without crashing.
2006-05-05 07:24:03 +00:00
marko
411b6ed004
Fix a typo in a comment.
2006-05-04 11:25:58 +00:00
osku
b94cf80734
srv_master_thread(): Remove unreachable code.
2006-04-29 04:43:37 +00:00
osku
048d32559b
Add parens to return statements where they are missing (except in
...
ha_innodb.cc).
2006-04-28 11:57:13 +00:00
osku
f8d46a00bf
Add 'level' parameter to rw_lock_create(), remove rw_lock_set_level().
2006-04-28 05:49:59 +00:00
osku
3762ef7d66
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
35049cac22
univ.i: Make debug checks easily togglable.
2006-04-28 05:35:56 +00:00
osku
3215330058
Add mem_heap_dup().
2006-04-26 12:17:36 +00:00
osku
1b71285f05
Add a work queue implementation.
2006-04-26 12:14:50 +00:00
osku
3a1b90f1cc
Add a normal linked-list implementation.
2006-04-26 11:58:07 +00:00
osku
a34246f01c
From MySQL:
...
Add innodb_mysql.[test|result].
2006-04-26 07:08:21 +00:00
osku
c79a7d27c2
From MySQL:
...
Updates to innodb.[test|result].
2006-04-24 11:58:30 +00:00
osku
3c438ad7d3
From MySQL:
...
Added new function to handlerton.
2006-04-24 11:34:49 +00:00
osku
af88735171
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
b0bbf41d4c
From MySQL:
...
After merge fixes.
2006-04-24 11:33:00 +00:00
osku
1542ec0aa7
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
d494736959
From MySQL:
...
Add cmakelists.txt to Makefile.Am.
2006-04-24 05:18:28 +00:00
osku
86afa36881
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
2ceffc0d08
Make 'thread_id' parameter in os_thread_create() optional.
2006-04-21 12:06:23 +00:00
marko
bb86948f0e
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
6c0714b80c
Remove srv_sys->operational since it is unused.
2006-04-21 07:04:02 +00:00
osku
92d7e9e5e2
Remove obsolete and unused global variables from srv0srv.c.
2006-04-20 11:06:41 +00:00
osku
76d8e7dcfa
dict_remove_db_name: Remove useless 'if'.
2006-04-18 07:16:14 +00:00
osku
b1449ab934
export.sh:
...
Automate snapshot creation process.
Update "files internal to innobase" list.
2006-04-18 06:48:47 +00:00
osku
181aa37d6c
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
bfadc7760c
Use bound literals in row_rename_table_for_mysql.
2006-04-17 08:14:04 +00:00
osku
e83b1a8b3e
Add mem_heap_strcat().
2006-04-17 08:13:07 +00:00
osku
f1529a9c72
pars_info_add_*(): In debug builds (UNIV_DEBUG), check that the given name
...
is not already used.
2006-04-15 14:58:17 +00:00
osku
26f5adf3f4
Use que_eval_sql() in dict_create_or_check_foreign_constraint_tables.
2006-04-13 11:02:52 +00:00
osku
93e919288d
Use bound literals in row_discard_tablespace_for_mysql.
2006-04-13 06:22:52 +00:00
osku
fd19fb9c8d
Use bound literals in row_drop_table_for_mysql.
2006-04-12 18:17:47 +00:00
osku
f1fefc5504
Use bound literals in row_truncate_table_for_mysql.
2006-04-12 18:14:06 +00:00
marko
7ed2ecebb0
dict_table_copy_types(): Remove a bogus debug assertion.
...
DICT_UNIVERSAL can be set for index->type, not for table->type.
2006-04-12 12:37:48 +00:00
marko
17f5482b24
dict_table_t: Remove the field "type".
...
dict_load_table(): Refuse to load tables with other TYPE than
DICT_TABLE_ORDINARY.
2006-04-12 12:18:54 +00:00
jan
5e1e279bb2
Add general function to evaluate a sql query. Add function to evaluate
...
dulints in host variables.
2006-04-12 10:40:22 +00:00
osku
6e6c0a4257
Fix bug #18934 , "InnoDB crashes when table uses column names like
...
DB_ROW_ID", by refusing tables that use reserved column names.
Add dict_mem_table_free(), use it instead of duplicating the code everywhere.
Use already existing dict_mem_index_free().
Fix memory leaks in row_create_table_for_mysql() in rare corner cases.
2006-04-11 14:01:17 +00:00
osku
59e3874b3c
Print dictionary memory size in SHOW INNODB STATUS.
2006-04-11 13:56:12 +00:00
marko
1991d2ce59
sync_array_detect_deadlock(): Remove bogus debug assertion.
2006-04-11 12:53:18 +00:00
marko
e437014d3e
Remove code related to clustered tables. They were never implemented, and
...
the implementation would be challenging with ROW_FORMAT=COMPACT.
Remove the table types DICT_TABLE_CLUSTER_MEMBER and DICT_TABLE_CLUSTER and
all related tests and functions.
dict_table_t: Remove mix_id, mix_len, mix_id_len, mix_id_buf, and
cluster_name.
plan_t: Remove mixed_index.
dict_create_sys_tables_tuple(): Set MIX_ID=0, MIX_LEN=0 and CLUSTER_NAME=NULL
when inserting into SYS_TABLES.
dict_tree_check_search_tuple(): Enclose in #ifdef UNIV_DEBUG.
2006-04-11 12:51:34 +00:00