• unknown's avatar
    Resolve a possible timing issue with "scripts/mysql_fix_privilege_tables_sql.c" in the · 2478a8be
    unknown authored
    source tarball, this is essential for cross builds, like for NetWare.
    
    
    scripts/Makefile.am:
      On a fast build machine, both the source (mysql_fix_privilege_tables.sql) 
      and the generated file (mysql_fix_privilege_tables_sql.c) may have identical timestamps
      (granularity is one second only, may be too coarse).
      If that happens, the Makefile rule will fire, and "comp_sql" will be built and called -
      which fails in a cross build, like for NetWare.
      
      Prevent that by sleeping for 5 (five) seconds, this will ensure a time difference.
    2478a8be
Makefile.am 6 KB