• unknown's avatar
    Review of all code pushed since last review · da02110d
    unknown authored
    Simple optimzations and cleanups
    Removed compiler warnings and fixed portability issues
    Added client functions 'mysql_embedded()' to allow client to check if we are using embedded server
    Fixes for purify
    
    
    client/mysqlimport.c:
      Remove not used variable
    client/mysqltest.c:
      Remove usage of MAXPATHLEN (all MySQL code uses FN_REFLEN)
      Simplified code
      Remove usage of sprintf("%llu") as this is not portable
    include/mysql.h:
      Added mysql_embedded() to be able to easily check if we are using the embedded server
    innobase/srv/srv0start.c:
      Don't use memcmp() when using purify (to avoid false warnings)
    libmysql/libmysql.c:
      Added mysql_embedded() to be able to easily check if we are using the embedded server
    libmysql/libmysql.def:
      Added mysql_embedded() to be able to easily check if we are using the embedded server
    myisam/myisam_ftdump.c:
      Remove compiler warning
    myisam/myisamchk.c:
      Remove compiler warning
    myisam/rt_test.c:
      #ifdef not used code
    mysys/hash.c...
    da02110d
client_test.c 280 KB