Commit 57451feb authored by pekka@mysql.com's avatar pekka@mysql.com

Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.0

into mysql.com:/space/pekka/ndb/version/my50
parents 5b9bd8c0 6f9b1186
......@@ -353,7 +353,8 @@ then
then
if $CXX -v 2>&1 | grep 'version 3' > /dev/null 2>&1
then
CXXFLAGS="$CXXFLAGS -DUSE_MYSYS_NEW -DDEFINE_CXA_PURE_VIRTUAL"
# Statically link the language support function's found in libsupc++.a
LIBS="$LIBS -lsupc++"
fi
fi
fi
......
......@@ -372,9 +372,8 @@ void berkeley_cleanup_log_files(void)
** Berkeley DB tables
*****************************************************************************/
static const char *ha_bdb_bas_exts[]= { ha_berkeley_ext, NullS };
const char **ha_berkeley::bas_ext() const
{ return ha_bdb_bas_exts; }
{ static const char *ext[]= { ha_berkeley_ext, NullS }; return ext; }
ulong ha_berkeley::index_flags(uint idx, uint part, bool all_parts) const
......
......@@ -3022,12 +3022,8 @@ int ha_ndbcluster::extra_opt(enum ha_extra_function operation, ulong cache_size)
}
static const char *ha_ndb_bas_ext[]= { ha_ndb_ext, NullS };
const char**
ha_ndbcluster::bas_ext() const
{
return ha_ndb_bas_ext;
}
const char** ha_ndbcluster::bas_ext() const
{ static const char *ext[]= { ha_ndb_ext, NullS }; return ext; }
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment