diff options
author | msvensson@neptunus.(none) <> | 2005-03-14 12:07:49 +0100 |
---|---|---|
committer | msvensson@neptunus.(none) <> | 2005-03-14 12:07:49 +0100 |
commit | 13ec961c3a4f5eb6b61a5b955926aaba0dfa96f9 (patch) | |
tree | 8709f3cf5819466807b8b769f743d8b85cf6c577 /sql/ha_berkeley.cc | |
parent | 18343b9454e7711b8fea5319360f2f325d8d9d15 (diff) | |
download | mariadb-git-13ec961c3a4f5eb6b61a5b955926aaba0dfa96f9.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
Diffstat (limited to 'sql/ha_berkeley.cc')
-rw-r--r-- | sql/ha_berkeley.cc | 3 |
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 |