summaryrefslogtreecommitdiff
path: root/storage/xtradb/trx
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2010-08-04 21:36:11 +0300
committerMichael Widenius <monty@askmonty.org>2010-08-04 21:36:11 +0300
commit1f5b93e7720874c2b4a31e11af3fd8729d2beea7 (patch)
tree9932285301ba8c3bfd23ab2bb399ddd32ccfb8a4 /storage/xtradb/trx
parentcd9706b27ee113e0d448cb9c509fa9a4d553c5ee (diff)
downloadmariadb-git-1f5b93e7720874c2b4a31e11af3fd8729d2beea7.tar.gz
Fixed compiler warnings
Fixed some wrong test cases Fixed bug in null handling in XtraDB extra/comp_err.c: Fixed compiler warnings extra/my_print_defaults.c: Fixed compiler warnings mysql-test/suite/binlog/t/binlog_killed.test: Added support for timeouts mysql-test/suite/funcs_1/r/is_columns_is.result: Updated results (INNODB_SYS_TABLES had got new column) scripts/mysql_install_db.sh: Fixed typo sql/mysql_priv.h: Removed not needed argument for compare_record() sql/sql_insert.cc: Removed not needed argument for compare_record() sql/sql_update.cc: Removed not needed argument for compare_record() The argument is not needed becasue we copy the full record[0] to record[1] and the comparison should work even if all columns are not read sql/table.cc: The comparison of rows is independent of HA_PARTIAL_COLUMN_READ storage/maria/maria_chk.c: Fixed compiler warnings storage/maria/maria_read_log.c: Fixed compiler warnings storage/myisam/myisamchk.c: Fixed compiler warnings storage/myisam/myisampack.c: Fixed compiler warnings storage/xtradb/dict/dict0load.c: Fixed compiler warnings storage/xtradb/row/row0sel.c: Fixed null handling in XtraDB. (See comment) storage/xtradb/trx/trx0sys.c: Fixed compiler warnings support-files/compiler_warnings.supp: Fixed compiler warnings
Diffstat (limited to 'storage/xtradb/trx')
-rw-r--r--storage/xtradb/trx/trx0sys.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/storage/xtradb/trx/trx0sys.c b/storage/xtradb/trx/trx0sys.c
index 7f50973d65e..47a21c3a318 100644
--- a/storage/xtradb/trx/trx0sys.c
+++ b/storage/xtradb/trx/trx0sys.c
@@ -1143,12 +1143,14 @@ trx_sysf_dummy_create(
ulint space,
mtr_t* mtr)
{
+#ifdef UNDEFINED
trx_sysf_t* sys_header;
ulint slot_no;
- buf_block_t* block;
- page_t* page;
ulint page_no;
ulint i;
+#endif
+ page_t* page;
+ buf_block_t* block;
ut_ad(mtr);