summaryrefslogtreecommitdiff
path: root/storage/myisammrg
diff options
context:
space:
mode:
authorDavi Arnaut <davi.arnaut@oracle.com>2010-07-24 10:31:48 -0300
committerDavi Arnaut <davi.arnaut@oracle.com>2010-07-24 10:31:48 -0300
commit2aa7463b703ae45c552fe61a12afef3173d09ce7 (patch)
treebf450c07ef85807d910a2dcc3cd5ce5cfa4b1d6a /storage/myisammrg
parentfd2fc60112415edd1f97e57029aed2225331b18e (diff)
downloadmariadb-git-2aa7463b703ae45c552fe61a12afef3173d09ce7.tar.gz
Add a maintainer target to the warning-mode of the build scripts.
Fix assorted warnings in order for the warning-mode to be effective.
Diffstat (limited to 'storage/myisammrg')
-rw-r--r--storage/myisammrg/ha_myisammrg.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/myisammrg/ha_myisammrg.cc b/storage/myisammrg/ha_myisammrg.cc
index bac8cb7a0b7..eb43e141f27 100644
--- a/storage/myisammrg/ha_myisammrg.cc
+++ b/storage/myisammrg/ha_myisammrg.cc
@@ -643,7 +643,7 @@ extern "C" MI_INFO *myisammrg_attach_children_callback(void *callback_param)
my_errno= HA_ERR_WRONG_MRG_TABLE_DEF;
}
DBUG_PRINT("myrg", ("MyISAM handle: 0x%lx my_errno: %d",
- my_errno ? NULL : (long) myisam, my_errno));
+ my_errno ? 0L : (long) myisam, my_errno));
end:
DBUG_RETURN(myisam);