summaryrefslogtreecommitdiff
path: root/sql/ha_innodb.h
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2004-10-13 20:04:52 +0300
committerunknown <heikki@hundin.mysql.fi>2004-10-13 20:04:52 +0300
commit7b1f818d913f4ff96c2e33a7ffc4f3ad688374a5 (patch)
tree085896d71c407139f1c00651549adbe7462bde15 /sql/ha_innodb.h
parent8983293d3b2449d0ecb2cd070e6dbd21610bbc1b (diff)
downloadmariadb-git-7b1f818d913f4ff96c2e33a7ffc4f3ad688374a5.tar.gz
srv0srv.c, log0log.c, srv0srv.h, ha_innodb.cc, ha_innodb.h:
Implement innobase_very_fast_shutdown and innobase_start_trx_and_assign_read_view(); these were requested by Guilhem sql/ha_innodb.h: Implement innobase_very_fast_shutdown and innobase_start_trx_and_assign_read_view(); these were requested by Guilhem sql/ha_innodb.cc: Implement innobase_very_fast_shutdown and innobase_start_trx_and_assign_read_view(); these were requested by Guilhem innobase/include/srv0srv.h: Implement innobase_very_fast_shutdown and innobase_start_trx_and_assign_read_view(); these were requested by Guilhem innobase/log/log0log.c: Implement innobase_very_fast_shutdown and innobase_start_trx_and_assign_read_view(); these were requested by Guilhem innobase/srv/srv0srv.c: Implement innobase_very_fast_shutdown and innobase_start_trx_and_assign_read_view(); these were requested by Guilhem
Diffstat (limited to 'sql/ha_innodb.h')
-rw-r--r--sql/ha_innodb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/ha_innodb.h b/sql/ha_innodb.h
index d72f5a58fe4..7f7b000a100 100644
--- a/sql/ha_innodb.h
+++ b/sql/ha_innodb.h
@@ -191,6 +191,11 @@ extern my_bool innobase_log_archive,
innobase_use_native_aio, innobase_fast_shutdown,
innobase_file_per_table, innobase_locks_unsafe_for_binlog,
innobase_create_status_file;
+extern my_bool innobase_very_fast_shutdown; /* set this to 1 just before
+ calling innobase_end() if you want
+ InnoDB to shut down without
+ flushing the buffer pool: this
+ is equivalent to a 'crash' */
extern "C" {
extern ulong srv_max_buf_pool_modified_pct;
extern ulong srv_auto_extend_increment;
@@ -231,3 +236,4 @@ void innobase_release_temporary_latches(void* innobase_tid);
void innobase_store_binlog_offset_and_flush_log(char *binlog_name,longlong offset);
+int innobase_start_trx_and_assign_read_view(THD* thd);