Percona server misses CLI help texts (fill_help_tables.sql empty)

Bug #1041981 reported by Roel Van de Paar
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
Low
Laurynas Biveinis
5.1
Fix Released
Low
Alexey Bychko
5.5
Fix Released
Low
Alexey Bychko
5.6
Fix Released
Low
Laurynas Biveinis

Bug Description

Tags: pkg qa

Related branches

description: updated
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

I found the help tables in a PS 5.5 build I had but not in the RPM installation. So, I think this may be a packaging bug.

tags: added: pkg
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

Weird, may not be a packaging bug since the fill_help_tables.sql is indeed empty.

The fill_help_tables.sql states

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

So, I think it is just a stub.

However,

from stracing on the mysqld I had built I noticed:

[pid 2513] open("./mysql/help_topic.frm", O_RDONLY) = 36
[pid 2513] open("/home/mysql/mysql/help_topic.MYI", O_RDWR) = 36
[pid 2513] open("./mysql/help_topic.MYD", O_RDWR) = 37
[pid 2513] open("./mysql/help_category.frm", O_RDONLY) = 38
[pid 2513] open("/home/mysql/mysql/help_category.MYI", O_RDWR) = 38
[pid 2513] open("./mysql/help_category.MYD", O_RDWR) = 39
[pid 2513] open("./mysql/help_relation.frm", O_RDONLY) = 40
[pid 2513] open("/home/mysql/mysql/help_relation.MYI", O_RDWR) = 40
[pid 2513] open("./mysql/help_relation.MYD", O_RDWR) = 41
[pid 2513] open("./mysql/help_keyword.frm", O_RDONLY) = 42

I wonder if this is related to mysql_install_db

tags: removed: pkg
Revision history for this message
Alexey Kopytov (akopytov) wrote :

Raghu,

Yes, the fix here is to take fill_help_tables.sql from the corresponding MySQL release binaries and replace the placeholder in Percona Server branches with that one.

I think you had help files in your PS installation because it was reusing a datadir from a previously installed MySQL release.

Revision history for this message
Stewart Smith (stewart) wrote :

We should also ensure that the license is compatible... i.e. check for notices in MySQL distribution.

Alexey Bychko (abychko)
tags: added: pkg
Revision history for this message
Roel Van de Paar (roel11) wrote :

Header in actual file:

-- Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
--
-- 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.

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-1933

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.