NAME: mysqldocscan PURPOSE: Scan a database and report discrepancies in the documentation table. DESCRIPTION: This routine uses a standard table named "doc" in a database and compares its entries with the tables and fields actually defined in the database. If inconsistencies are found, they are displayed on standard output. CATEGORY: Database CALLING SEQUENCE: mysqldocscan,dblun INPUTS: dblun - the logical unit of the pipe (opened by openmysql). OPTIONAL INPUT PARAMETERS: KEYWORD INPUT PARAMETERS: OUTPUTS: KEYWORD OUTPUT PARAMETERS: COMMON BLOCKS: SIDE EFFECTS: RESTRICTIONS: PROCEDURE: MODIFICATION HISTORY: Written by Doug Loucks, Lowell Observatory, 2005/10/08 2006/12/08, MWB, added RESULT output keyword and SILENT flag 2007/12/09, MWB, added missing test for master database documentation