diff options
author | Michael Widenius <monty@mysql.com> | 2009-01-16 00:25:53 +0200 |
---|---|---|
committer | Michael Widenius <monty@mysql.com> | 2009-01-16 00:25:53 +0200 |
commit | 3fca23902cdf36bdc52f2d5826bfd24c2024feb8 (patch) | |
tree | b22b92e6f525233e951763dd718aa9415c513219 /storage/maria/trnman.h | |
parent | a955efc40c965dd8b19a18b2eef439d9166bb132 (diff) | |
download | mariadb-git-3fca23902cdf36bdc52f2d5826bfd24c2024feb8.tar.gz |
Log queries to maria_log if compiled with EXTRA_DEBUG
Added DBUG_ASSERT() to unlikely error senario
Don't use errno == 0 in maria_create() / myisam_create()
sql/sql_insert.cc:
Added DBUG_ASSERT() for case that should never happen in real life
Added my_error() to avoid assert if mysql_lock() or postlock() doesn't call my_error()
storage/maria/ha_maria.cc:
Log queries to maria_log if compiled with EXTRA_DEBUG
storage/maria/ma_create.c:
Don't use errno == 0
storage/maria/ma_loghandler.c:
Added logging of debug info to maria_log
storage/maria/ma_loghandler.h:
Added logging of debug info to maria_log
storage/maria/ma_recovery.c:
Added printing of debug info from maria_log
storage/maria/trnman.c:
Added functions to read/store state in TRN
storage/maria/trnman.h:
Added functions to read/store state in TRN
storage/maria/trnman_public.h:
Added state in TRN to remmeber if we have already logged the query
storage/myisam/mi_create.c:
Don't use errno == 0
Diffstat (limited to 'storage/maria/trnman.h')
-rw-r--r-- | storage/maria/trnman.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/maria/trnman.h b/storage/maria/trnman.h index 97fef57e618..2ad4addeb84 100644 --- a/storage/maria/trnman.h +++ b/storage/maria/trnman.h @@ -53,6 +53,7 @@ struct st_ma_transaction LSN_WITH_FLAGS first_undo_lsn; uint locked_tables; uint16 short_id; + uint16 state; /* Internal flags */ }; #define TRANSACTION_LOGGED_LONG_ID ULL(0x8000000000000000) |