summaryrefslogtreecommitdiff
path: root/innobase/row
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-03-09 14:09:06 +0100
committerunknown <serg@serg.mylan>2005-03-09 14:09:06 +0100
commit48577bb59f5ab34bd01fba50cddc6c00ceb65d41 (patch)
tree4625d7f51e27bb495a5f571cfcad95a20d34e4a9 /innobase/row
parent3b214ab3e82a0de322ebdcbb4175613a3916b5b3 (diff)
parentad019543e601a4d60453efce29603a12ead35fe9 (diff)
downloadmariadb-git-48577bb59f5ab34bd01fba50cddc6c00ceb65d41.tar.gz
merged
BitKeeper/etc/ignore: auto-union BitKeeper/etc/logging_ok: auto-union Build-tools/Do-compile: Auto merged client/mysql.cc: Auto merged client/mysqldump.c: Auto merged include/my_sys.h: Auto merged innobase/buf/buf0lru.c: Auto merged innobase/dict/dict0dict.c: Auto merged innobase/include/page0page.ic: Auto merged innobase/include/srv0srv.h: Auto merged innobase/os/os0thread.c: Auto merged innobase/rem/rem0cmp.c: Auto merged innobase/row/row0mysql.c: Auto merged innobase/row/row0sel.c: Auto merged innobase/srv/srv0srv.c: Auto merged innobase/trx/trx0sys.c: Auto merged innobase/trx/trx0trx.c: Auto merged innobase/ut/ut0ut.c: Auto merged myisam/ft_parser.c: Auto merged myisam/mi_create.c: Auto merged mysql-test/Makefile.am: Auto merged mysql-test/mysql-test-run.pl: Auto merged mysql-test/mysql-test-run.sh: Auto merged mysql-test/r/mysqldump.result: Auto merged mysql-test/r/ndb_alter_table.result: Auto merged mysql-test/t/mysqldump.test: Auto merged mysql-test/t/ndb_alter_table.test: Auto merged mysys/hash.c: Auto merged mysys/my_bitmap.c: Auto merged ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp: Auto merged scripts/make_binary_distribution.sh: Auto merged scripts/make_win_src_distribution.sh: Auto merged sql/net_serv.cc: Auto merged sql/sql_select.cc: Auto merged
Diffstat (limited to 'innobase/row')
-rw-r--r--innobase/row/row0mysql.c12
-rw-r--r--innobase/row/row0sel.c8
2 files changed, 10 insertions, 10 deletions
diff --git a/innobase/row/row0mysql.c b/innobase/row/row0mysql.c
index 4c014d39f7a..1ee3f7d380e 100644
--- a/innobase/row/row0mysql.c
+++ b/innobase/row/row0mysql.c
@@ -756,7 +756,7 @@ run_again:
trx->op_info = "";
- return(err);
+ return((int) err);
}
que_thr_stop_for_mysql_no_error(thr, trx);
@@ -856,7 +856,7 @@ run_again:
trx->op_info = "";
- return(err);
+ return((int) err);
}
que_thr_stop_for_mysql_no_error(thr, trx);
@@ -972,7 +972,7 @@ run_again:
trx->op_info = "";
- return(err);
+ return((int) err);
}
que_thr_stop_for_mysql_no_error(thr, trx);
@@ -1222,7 +1222,7 @@ run_again:
trx->op_info = "";
- return(err);
+ return((int) err);
}
que_thr_stop_for_mysql_no_error(thr, trx);
@@ -1438,7 +1438,7 @@ row_mysql_recover_tmp_table(
}
else {
int status;
- int namelen = strlen(table->name);
+ int namelen = (int) strlen(table->name);
char* old_name = mem_strdupl(table->name, namelen);
/* replace "rsql" with "#sql" */
old_name[ptr - table->name + 1] = '#';
@@ -1928,7 +1928,7 @@ row_drop_table_for_mysql_in_background(
trx_free_for_background(trx);
- return(error);
+ return((int) error);
}
/*************************************************************************
diff --git a/innobase/row/row0sel.c b/innobase/row/row0sel.c
index 736ca15262c..7a5e4cb9264 100644
--- a/innobase/row/row0sel.c
+++ b/innobase/row/row0sel.c
@@ -3484,10 +3484,10 @@ rec_loop:
ut_print_timestamp(stderr);
buf_page_print(buf_frame_align(rec));
fprintf(stderr,
-"\nInnoDB: rec address %lx, first buffer frame %lx\n"
-"InnoDB: buffer pool high end %lx, buf block fix count %lu\n",
- (ulong)rec, (ulong)buf_pool->frame_zero,
- (ulong)buf_pool->high_end,
+"\nInnoDB: rec address %p, first buffer frame %p\n"
+"InnoDB: buffer pool high end %p, buf block fix count %lu\n",
+ rec, buf_pool->frame_zero,
+ buf_pool->high_end,
(ulong)buf_block_align(rec)->buf_fix_count);
fprintf(stderr,
"InnoDB: Index corruption: rec offs %lu next offs %lu, page no %lu,\n"