- 14 May, 2007 4 commits
-
-
vasil authored
choosing the lightest transaction to kill when a deadlock occurs. This fixes Bug#21293 partially. Approved by: Heikki
-
marko authored
thd_to_trx(ha_thd()), in order to avoid potential memory corruption.
-
marko authored
row_prebuilt_t; currently prebuilt->read_just_key and prebuilt->keep_other_fields_on_keyread.
-
marko authored
whose name starts with srv_. These variables are declared in the header files that are covered by #include directives in ha_innodb.cc.
-
- 11 May, 2007 3 commits
-
-
vasil authored
longlong to long long because MYSQL_SYSVAR_LONGLONG marco expects long long type. Also change ((ulint)innobase_buffer_pool_size) / 1024 to (ulint)(innobase_buffer_pool_size / 1024) and remove comment which is no longer true. Provided that innobase_buffer_pool_size is always 64bits these statements are equivalent if ulint is 64 bit (well it will screw up if innobase_buffer_pool_size is negative). And if ulint is 32 bit the later variant gives a little more chance that the value will fit. Approved by: Heikki
-
vasil authored
-
marko authored
the common headers. This may be related to WL#2936 (pluggable storage engines).
-
- 10 May, 2007 2 commits
-
-
marko authored
singleton object whose address is stored into innodb_hton_ptr.
-
marko authored
and adapt some things. Note that ha_innodb.cc depends on mysql_tmpfile() being declared in <mysql/plugin.h>. Until the function is declared there, you can uncomment the buggy definition of mysql_tmpfile in ha_innodb.cc. Remove storage/innobase/*/Makefile.am. The whole compilation is driven by storage/innobase/Makefile.am and storage/innobase/plug.in. plug.in: Declare InnoDB as a dynamic plugin. ha_innodb.h: Remove the declarations of many global variables. The variables are no longer directly referenced outside of storage/innobase. trx_t: Add the field trx->duplicates. trx_create(): Initialize the fields trx->active_trans and trx->duplicates. innobase_query_is_update(): Remove. Consult trx->duplicates instead.
-
- 09 May, 2007 1 commit
-
-
vasil authored
Spotted by: Marko
-
- 08 May, 2007 3 commits
-
-
vasil authored
Suggested by: Heikki
-
marko authored
row_ins_check_foreign_constraint(), row_ins_scan_sec_index_for_duplicate(): Make use of the predicates page_rec_is_infimum() and page_rec_is_supremum().
-
vasil authored
server to enter InnoDB. This can be made further customizable by the user if we introduce a new config parameter. This will wait until config parameters can be easily added. Approved by: Marko
-
- 03 May, 2007 1 commit
-
-
vasil authored
include/data0type.ic, not in data/data0type.ic
-
- 27 Apr, 2007 1 commit
-
-
vasil authored
-
- 25 Apr, 2007 1 commit
-
-
vasil authored
-
- 23 Apr, 2007 1 commit
-
-
- 20 Apr, 2007 3 commits
- 19 Apr, 2007 3 commits
-
-
marko authored
directives. This could and should have been done when sql/ha_innodb.cc was renamed to storage/innobase/handler/ha_innodb.cc.
-
marko authored
ChangeSet@2007-04-03 16:13:27+05:00, gluh@mysql.com Bug#21432 Database/Table name limited to 64 bytes, not chars, problems with multi-byte ==== storage/innobase/handler/ha_innodb.cc ==== 2007-04-03 16:13:25+05:00, gluh@mysql.com +2 -2 removed unnecessary multiplication
-
marko authored
in Makefile.am in r1353 by marko (shame on him): ChangeSet@2007-03-30 06:57:58+02:00, msvensson@pilot.blaudden Add missing \ causing CMakelists.txt etc not to be included in dist
-
- 18 Apr, 2007 1 commit
-
-
vasil authored
make install (in mysql dir) to fail.
-
- 16 Apr, 2007 1 commit
-
-
vasil authored
"Move innobase_release_stat_resources(trx) outside the 'if' in ha_innobase::external_lock(). That would add more safety that whatever MySQL does at a query end, there would be no risk of a hang on the btr search latch." Also call innobase_release_temporary_latches() in the beginning of ha_innobase::close(). Approved by: Heikki
-
- 12 Apr, 2007 1 commit
-
-
vasil authored
-
- 11 Apr, 2007 6 commits
-
-
vasil authored
ERROR_LOCK_VIOLATION is encountered during file operation. This is caused by backup software, so InnoDB should retry while the backup software is done with the file. Approved by: Heikki
-
sunny authored
-
sunny authored
-
sunny authored
this variable settable. Since the pluggable engine interface currently doesn't provide a usable mechanism, we will add the latter functionality once it's available.
-
sunny authored
of UNDO slots in the rollback segment. This is a partial fix since the MySQL error code requested to properly report the error condition back to the client has not yet materialized. Currently we have #ifdef'd the error code translation in ha_innodb.cc. This will have to be changed as and when MySQl add the new requested code or an equivalent code that we can then use. Given the above, currently we will get the old behaviour, not the "fixed" and intended behaviour.
-
sunny authored
defs exceed the max row size. The fix returns a more appropriate error message. Add a test case to innodb.test and expected output to innodb.result.
-
- 10 Apr, 2007 2 commits
-
-
vasil authored
Approved by: Marko
-
marko authored
UNIV_IBUF_DEBUG. innobase_start_or_create_for_mysql(): Note that crash recovery is broken when UNIV_IBUF_DEBUG is defined. ibuf_counts[]: Make this a two-dimensional array. No need to allocate anything from the heap. Eliminate ibuf_counts_inited, as the array will be zero-filled by the runtime environment. ibuf_count_check(): New function, to print out an explanation before assertion failure.
-
- 02 Apr, 2007 1 commit
-
-
marko authored
(Bug #23313, Bug #21404) ha_innobase::update_create_info(): New function, to report the auto_increment_value.
-
- 29 Mar, 2007 2 commits
-
-
vasil authored
to set this flag immediately after open(2)ing. This way an error caused by O_DIRECT not being supported can easily be ignored. * Add support for skipping the OS caching on Solaris by calling directio() instead of fcntl(). Approved by: Heikki
-
vasil authored
into a generic function which is called from both os_file_handle_error() and os_file_handle_error_no_exit() Approved by: Marko
-
- 27 Mar, 2007 3 commits
-
-
marko authored
innodb_commit_concurrency was implemented.
-
marko authored
MySQL calls external_lock at the beginning and end of a statement when it is not calling start_stmt or commit or rollback. Thus, statement boundaries can be (and are already) detected without monitoring thd->query_id. The function innobase_commit() seemingly lacks the call to innobase_release_stat_resources(), which should be called at the end of every SQL statement. The call was replaced by equivalent statements by Vadim Tkachenko when he implemented innodb_commit_concurrency in MySQL 5.0: http://mysql.bkbits.net:8080/mysql-5.0/?PAGE=patch&REV=1.1886.70.1
-
marko authored
referenced from other modules.
-