summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2006-01-16 12:17:30 +0100
committerunknown <msvensson@neptunus.(none)>2006-01-16 12:17:30 +0100
commit549d8c3d4055f0959d931ea29177883e44fdf242 (patch)
tree651817aac4f4a59795814e565cd508e5648d80a6 /sql
parente97a4a4a175ede4b408478d65ba2362e6aa1ae96 (diff)
downloadmariadb-git-549d8c3d4055f0959d931ea29177883e44fdf242.tar.gz
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.
Diffstat (limited to 'sql')
-rw-r--r--sql/ha_berkeley.cc3
1 files changed, 2 insertions, 1 deletions
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