summaryrefslogtreecommitdiff
path: root/sql/ha_berkeley.cc
diff options
context:
space:
mode:
authormsvensson@neptunus.(none) <>2005-04-27 11:25:08 +0200
committermsvensson@neptunus.(none) <>2005-04-27 11:25:08 +0200
commitc12ee8dc1676ab898c0d066fb6a59b1574465f62 (patch)
treeffe13a13497b747762b2e275e63a444e442611a6 /sql/ha_berkeley.cc
parentea9cbd3bb4bbcf08d193c6008fd93f4b8f7f7ff8 (diff)
downloadmariadb-git-c12ee8dc1676ab898c0d066fb6a59b1574465f62.tar.gz
BUG#9714 libsupc++ problem
- Remove linking of libsupc++ - Move all local static variables to filescope
Diffstat (limited to 'sql/ha_berkeley.cc')
-rw-r--r--sql/ha_berkeley.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/sql/ha_berkeley.cc b/sql/ha_berkeley.cc
index 54d9865ddd5..04d81b2f95a 100644
--- a/sql/ha_berkeley.cc
+++ b/sql/ha_berkeley.cc
@@ -371,10 +371,15 @@ void berkeley_cleanup_log_files(void)
/*****************************************************************************
** Berkeley DB tables
*****************************************************************************/
+static const char *ha_berkeley_exts[] = {
+ ha_berkeley_ext,
+ NullS
+};
const char **ha_berkeley::bas_ext() const
-{ static const char *ext[]= { ha_berkeley_ext, NullS }; return ext; }
-
+{
+ return ha_berkeley_exts;
+}
ulong ha_berkeley::index_flags(uint idx, uint part, bool all_parts) const
{