Bug #27020 FEDERATED not included in 5.0.37 community release
Submitted: 10 Mar 2007 2:04 Modified: 20 Apr 2007 12:07
Reporter: Todd Farmer (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Packaging Severity:S2 (Serious)
Version:5.0.37 OS:Windows (Windows 32-bit)
Assigned to: Daniel Fischer CPU Architecture:Any

[10 Mar 2007 2:04] Todd Farmer
Description:
Installed 5.0.37 on Windows XP from ZIP (no installer) and noted that no mysqld-max.exe was present:

C:\mysql-5.0.37-win32\bin>ls mysqld*exe
mysqld-debug.exe  mysqld-nt.exe  mysqld.exe  mysqldump.exe

According to the documentation (http://dev.mysql.com/doc/refman/5.0/en/mysqld-max.html), this should be present:

"For Windows, MySQL binary distributions include both the standard server (mysqld.exe) and the MySQL-Max server (mysqld-max.exe), so no special distribution is needed. Just use a regular Windows distribution. See Section 2.4.8, “Installing MySQL on Windows”."

According to the documentation, the Max version is required in order to use the FEDERATED storage engine (http://dev.mysql.com/doc/refman/5.0/en/federated-storage-engine.html):

"The FEDERATED storage engine is included in MySQL-Max binary distributions."

Indeed, running SHOW ENGINES on mysqld-nt.exe shows that FEDERATED is not enabled:

Your MySQL connection id is 1 to server version: 5.0.37-community-nt

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> show engines;
+------------+---------+--------------------------------------------------------
--------+
| Engine     | Support | Comment
        |
+------------+---------+--------------------------------------------------------
--------+
| MyISAM     | DEFAULT | Default engine as of MySQL 3.23 with great performance
        |
| MEMORY     | YES     | Hash based, stored in memory, useful for temporary tabl
es      |
| InnoDB     | YES     | Supports transactions, row-level locking, and foreign k
eys     |
| BerkeleyDB | NO      | Supports transactions and page-level locking
        |
| BLACKHOLE  | NO      | /dev/null storage engine (anything you write to it disa
ppears) |
| EXAMPLE    | NO      | Example storage engine
        |
| ARCHIVE    | YES     | Archive storage engine
        |
| CSV        | NO      | CSV storage engine
        |
| ndbcluster | NO      | Clustered, fault-tolerant, memory-based tables
        |
| FEDERATED  | NO      | Federated MySQL storage engine
        |
| MRG_MYISAM | YES     | Collection of identical MyISAM tables
        |
| ISAM       | NO      | Obsolete storage engine
        |
+------------+---------+--------------------------------------------------------
--------+
12 rows in set (0.00 sec)

mysql> select version();
+---------------------+
| version()           |
+---------------------+
| 5.0.37-community-nt |
+---------------------+
1 row in set (0.00 sec)

How to repeat:
Install MySQL 5.0.37 on Windows.  Try to find mysqld-max.exe or create FEDERATED tables.

Suggested fix:
Include mysqld-max.exe (or correct documentation).  Correct build scripts to include FEDERATED, if it should be in mysqld-nt.exe.
[12 Mar 2007 12:03] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/21716

ChangeSet@1.2437, 2007-03-12 12:59:51+01:00, df@pippilotta.erinye.com +1 -0
  BUG#27020 community 5.0.37 lacks FEDERATED engine on win32
[20 Apr 2007 12:07] Daniel Fischer
The above patch is now irrelevant.

Due to changes in how we build win32 binaries, this bug should go away with recent changes to our internal build tools.