| 2143 | */ |
| 2144 | |
| 2145 | static void set_server_version(void) |
| 2146 | { |
| 2147 | char *end= strxmov(server_version, MYSQL_SERVER_VERSION, |
| 2148 | MYSQL_SERVER_SUFFIX_STR, NullS); |
| 2149 | #ifdef EMBEDDED_LIBRARY |
| 2150 | end= strmov(end, "-embedded"); |
| 2151 | #endif |
| 2152 | #ifndef DBUG_OFF |
| 2153 | if (!strstr(MYSQL_SERVER_SUFFIX_STR, "-debug")) |
| 2154 | end= strmov(end, "-debug"); |
| 2155 | #endif |
| 2156 | if (opt_log) |
| 2157 | strmov(end, "-log"); // This may slow down system |
| 2158 | } |
| 2159 | |
| 2160 | |
| 2161 | static char *get_relative_path(const char *path) |
no test coverage detected