summaryrefslogtreecommitdiff
path: root/sql/ha_innodb.h
diff options
context:
space:
mode:
authorunknown <aivanov@mysql.com>2006-01-18 15:02:03 +0300
committerunknown <aivanov@mysql.com>2006-01-18 15:02:03 +0300
commit74f499faded76c73f68167cae30e8e0a927d96c7 (patch)
treea6ad6903648d640413b3687a0463715e3997be7e /sql/ha_innodb.h
parent596666f74a83e989edb712eab9949d2a13c08fac (diff)
downloadmariadb-git-74f499faded76c73f68167cae30e8e0a927d96c7.tar.gz
Applied patch recieved from Marko:
Make innodb_flush_log_at_trx_commit a settable global variable. innobase/include/srv0srv.h: Change the type of srv_flush_log_at_trx_commit. innobase/srv/srv0srv.c: Change the type of srv_flush_log_at_trx_commit. sql/ha_innodb.cc: Remove innobase_flush_log_at_trx_commit. (Set srv_flush_log_at_trx_commit directly). sql/ha_innodb.h: Remove innobase_flush_log_at_trx_commit. (Set srv_flush_log_at_trx_commit directly). sql/mysqld.cc: Bypass the variable innobase innobase_flush_log_at_trx_commit. sql/set_var.cc: Make innodb_flush_log_at_trx_commit a settable global variable.
Diffstat (limited to 'sql/ha_innodb.h')
-rw-r--r--sql/ha_innodb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_innodb.h b/sql/ha_innodb.h
index 58051624f89..aa8506abe6d 100644
--- a/sql/ha_innodb.h
+++ b/sql/ha_innodb.h
@@ -200,7 +200,6 @@ class ha_innobase: public handler
extern struct show_var_st innodb_status_variables[];
extern uint innobase_init_flags, innobase_lock_type;
-extern uint innobase_flush_log_at_trx_commit;
extern ulong innobase_cache_size, innobase_fast_shutdown;
extern ulong innobase_large_page_size;
extern char *innobase_home, *innobase_tmpdir, *innobase_logdir;
@@ -238,6 +237,7 @@ extern ulong srv_n_free_tickets_to_enter;
extern ulong srv_thread_sleep_delay;
extern ulong srv_thread_concurrency;
extern ulong srv_commit_concurrency;
+extern ulong srv_flush_log_at_trx_commit;
}
extern TYPELIB innobase_lock_typelib;