maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #00907
bzr commit into MariaDB 5.1, with Maria 1.5:maria branch (knielsen:2729)
#At lp:maria
2729 knielsen@xxxxxxxxxxxxxxx 2009-09-07
Fix compiler warnings.
modified:
sql/opt_table_elimination.cc
=== modified file 'sql/opt_table_elimination.cc'
--- a/sql/opt_table_elimination.cc 2009-09-01 21:41:16 +0000
+++ b/sql/opt_table_elimination.cc 2009-09-07 07:12:38 +0000
@@ -1802,16 +1802,16 @@ void Dep_analysis_context::dbug_print_de
eq_mod->expr->print(&str, QT_ORDINARY);
if (eq_mod->field)
{
- fprintf(DBUG_FILE, " equality%d: %s -> %s.%s\n",
- eq_mod - equality_mods,
+ fprintf(DBUG_FILE, " equality%ld: %s -> %s.%s\n",
+ (long)(eq_mod - equality_mods),
str.c_ptr(),
eq_mod->field->table->table->alias,
eq_mod->field->field->field_name);
}
else
{
- fprintf(DBUG_FILE, " equality%d: multi-equality",
- eq_mod - equality_mods);
+ fprintf(DBUG_FILE, " equality%ld: multi-equality",
+ (long)(eq_mod - equality_mods));
}
}
fprintf(DBUG_FILE,"\n");