From 549d8c3d4055f0959d931ea29177883e44fdf242 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 16 Jan 2006 12:17:30 +0100 Subject: BUG#6554 Problem Building MySql on Fedora Core 3 - Remove the local static var sql/ha_berkeley.cc: Remove local static var, make it local in file instead. --- sql/ha_berkeley.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sql') diff --git a/sql/ha_berkeley.cc b/sql/ha_berkeley.cc index b307b3a4b75..4ee844ac719 100644 --- a/sql/ha_berkeley.cc +++ b/sql/ha_berkeley.cc @@ -336,8 +336,9 @@ void berkeley_cleanup_log_files(void) ** Berkeley DB tables *****************************************************************************/ +static const char *bdb_bas_exts[]= { ha_berkeley_ext, NullS }; const char **ha_berkeley::bas_ext() const -{ static const char *ext[]= { ha_berkeley_ext, NullS }; return ext; } +{ return bdb_bas_exts; } static int -- cgit v1.2.1