summaryrefslogtreecommitdiff
path: root/sql/ha_berkeley.cc
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2005-03-14 12:07:49 +0100
committerunknown <msvensson@neptunus.(none)>2005-03-14 12:07:49 +0100
commit90697f2467fda156d9a939738e443200a090884f (patch)
tree8709f3cf5819466807b8b769f743d8b85cf6c577 /sql/ha_berkeley.cc
parent2427f3695ccd495eb33ce10c3fb3a636823e8850 (diff)
downloadmariadb-git-90697f2467fda156d9a939738e443200a090884f.tar.gz
BUG#6554 Problem Building MySql on Fedora Core 3
- Moved static variables defined inside of function to file scope to avoid this linking problem on FC3 sql/ha_berkeley.cc: Moved list of bdb extension to file scope sql/ha_ndbcluster.cc: Moved list of ndb extesions to file scope BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'sql/ha_berkeley.cc')
-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 e33cd3fca1b..626201a38a6 100644
--- a/sql/ha_berkeley.cc
+++ b/sql/ha_berkeley.cc
@@ -340,8 +340,9 @@ 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
-{ static const char *ext[]= { ha_berkeley_ext, NullS }; return ext; }
+{ return ha_bdb_bas_exts; }
ulong ha_berkeley::index_flags(uint idx, uint part, bool all_parts) const