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
This commit is contained in:
msvensson@neptunus.(none) 2005-03-14 12:07:49 +01:00
parent 18343b9454
commit 13ec961c3a
3 changed files with 5 additions and 3 deletions

View File

@ -148,6 +148,7 @@ mronstrom@build.mysql.com
mronstrom@mysql.com
mskold@mysql.com
msvensson@build.mysql.com
msvensson@neptunus.(none)
mwagner@cash.mwagner.org
mwagner@evoq.mwagner.org
mwagner@here.mwagner.org

View File

@ -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

View File

@ -2979,9 +2979,9 @@ int ha_ndbcluster::reset()
DBUG_RETURN(1);
}
static const char *ha_ndb_bas_exts[]= { ha_ndb_ext, NullS };
const char **ha_ndbcluster::bas_ext() const
{ static const char *ext[]= { ha_ndb_ext, NullS }; return ext; }
{ return ha_ndb_bas_exts; }
/*