Bug #61630 fill_help_tables.sql doesn contain data after cmake build
Submitted: 24 Jun 2011 14:32 Modified: 10 Jan 2013 12:33
Reporter: Daniël van Eeden Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.6.3-m5 OS:Linux (Ubuntu 11.04)
Assigned to: CPU Architecture:Any

[24 Jun 2011 14:32] Daniël van Eeden
Description:
When compiling from the lp:mysql-server source the fill_help_tables.sql remains empty.

The contents of the empty fill_help_tables.sql file:
==========================================
-- Copyright (C) 2005 MySQL AB
-- 
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; version 2 of the License.
-- 
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-- GNU General Public License for more details.
-- 
-- You should have received a copy of the GNU General Public License
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

-- fill_help_tables.sql - this file is a placeholder to satisfy build dependencies -
-- it will be replaced with the appropriate content by the Boostrap script that
-- creates the official source distribution.
==========================================

There is also a typo! (Boostrap vs. Bootstrap)

How to repeat:
mkdir bld
cd bld
cmake -DBUILD_CONFIG=mysql_release ..
make -j4
make package
tar zxf mysql-5.6.3-m5-linux-x86_64.tar.gz mysql-5.6.3-m5-linux-x86_64/share/fill_help_tables.sql
cat mysql-5.6.3-m5-linux-x86_64/share/fill_help_tables.sql

Suggested fix:
Fix the described issue.
[24 Jun 2011 14:48] Valeriy Kravchuk
Thank you for the problem report.
[24 Jun 2011 15:10] Paul DuBois
bteam, you might want to just change your placeholder file to add a note that the "real" file can be obtained from:

http://dev.mysql.com/doc/index-other.html
[10 Jan 2013 12:33] Erlend Dahl
Internal comment:

The contents of help tables is maintained in a separate repository, and only on release builds will it be transported into the source tarball. This holds for all release series, it is no recent change (or even of 5.6).

What you get from Launchpad has not passed through that Bootstrap step.

To get the help table contents, you have to download the source tarball of a published release.