diff options
author | unknown <monty@narttu.mysql.fi> | 2002-10-08 22:28:24 +0300 |
---|---|---|
committer | unknown <monty@narttu.mysql.fi> | 2002-10-08 22:28:24 +0300 |
commit | 40c2e7499b40a10ee2b8042e5d672b7c4d4c66fe (patch) | |
tree | 362ce44d140ce7362c738d3068b9786f24043b0d /heap | |
parent | 58dc03066c8b8c38cdfa47e1f3c99ee002551b4f (diff) | |
download | mariadb-git-40c2e7499b40a10ee2b8042e5d672b7c4d4c66fe.tar.gz |
Portability fixes to be able to compile MySQL with VC++
VC++Files/client/mysqlclient.dsp:
Updated VC++ files for 4.1
VC++Files/libmysql/libmysql.dsp:
Updated VC++ files for 4.1
VC++Files/libmysqld/libmysqld.dsp:
Updated VC++ files for 4.1
VC++Files/myisam/myisam.dsp:
Updated VC++ files for 4.1
VC++Files/mysys/mysys.dsp:
Updated VC++ files for 4.1
VC++Files/sql/mysqld.dsp:
Updated VC++ files for 4.1
VC++Files/strings/strings.dsp:
Updated VC++ files for 4.1
client/mysql.cc:
Update for windows
heap/_check.c:
Fixed wrong DBUG_PRINT() usage
include/mysql.h:
Portability fix (uint -> unsigned int)
libmysql/libmysql.def:
Removed old my_casecmp function
sql/ha_innodb.cc:
Update for windows
sql/init.cc:
Removed not used variable
sql/log.cc:
Removed not used variable
sql/net_pkg.cc:
Portability fix
sql/sql_db.cc:
Portability fixes. Removed not used variables
sql/sql_lex.h:
Portability fix
sql/sql_parse.cc:
Portability fix
sql/sql_prepare.cc:
Removed not used variables
sql/sql_select.cc:
Portability fix
sql/sql_show.cc:
Portability fix
sql/sql_union.cc:
Portability fix
Diffstat (limited to 'heap')
-rw-r--r-- | heap/_check.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/heap/_check.c b/heap/_check.c index 3b2fc9afad9..4a6482901d9 100644 --- a/heap/_check.c +++ b/heap/_check.c @@ -116,13 +116,11 @@ static int check_one_rb_key(HP_INFO *info, uint keynr, ulong records, SEARCH_FIND | SEARCH_SAME, ¬_used)) { error= 1; - DBUG_PRINT("error",("Record in wrong link: Link %d Record: %lx\n", - link, recpos)); + DBUG_PRINT("error",("Record in wrong link: key: %d Record: %lx\n", + keynr, recpos)); } else - { found++; - } key= tree_search_next(&keydef->rb_tree, &info->last_pos, offsetof(TREE_ELEMENT, left), offsetof(TREE_ELEMENT, right)); @@ -130,7 +128,7 @@ static int check_one_rb_key(HP_INFO *info, uint keynr, ulong records, } if (found != records) { - DBUG_PRINT("error",("Found %ld of %ld records")); + DBUG_PRINT("error",("Found %lu of %lu records", found, records)); error= 1; } if (print_status) |