• unknown's avatar
    Fixed a lot of compiler warnings and errors detected by Forte C++ on Solaris · 09a53f28
    unknown authored
    Faster thr_alarm()
    Added 'Opened_files' status variable to track calls to my_open()
    Don't give warnings when running mysql_install_db
    Added option --source-install to mysql_install_db
    
    I had to do the following renames() as used polymorphism didn't work with Forte compiler on 64 bit systems
    index_read()      -> index_read_map()
    index_read_idx()  -> index_read_idx_map()
    index_read_last() -> index_read_last_map()
    
    
    BUILD/compile-solaris-sparc-forte:
      Updated script to current Solaris installations
      Now we compile by default for 64 bits
    client/mysql.cc:
      Declare functions sent to C code with extern "C" to avoid compiler warnings (on Forte)
    client/mysql_upgrade.c:
      Fixed compiler warning (on Forte)
    client/mysqladmin.cc:
      Declare functions sent to C code with extern "C" to avoid compiler warnings (on Forte)
    client/mysqlcheck.c:
      Fixed compiler warning (on Forte)
    client/mysqldump.c:
      Fixed compiler warning (on Forte)
    client/mysql...
    09a53f28
sql_class.h 78.7 KB