Branch: Tag:

2015-06-09

2015-06-09 20:27:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Mysql: Restore hiding the module on empty.

This seems to have been lost in the conversion to cmod.

1886:      PIKE_MODULE_INIT   { + #ifdef HAVE_MYSQL    INIT;    - #ifdef HAVE_MYSQL +    #ifdef HAVE_MYSQL_MYSQLD_ERNAME_H    {    struct mysqld_ername {
1917:   #endif /* HAVE_MYSQL_PORT */       init_mysql_res_programs(); + #else +  HIDE_MODULE();   #endif /* HAVE_MYSQL */   }   
1935:    mysql_error_program = NULL;    }   #endif - #endif /* HAVE_MYSQL */ +     EXIT; -  + #endif /* HAVE_MYSQL */   }