summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
-rw-r--r--src/misc.c8
2 files changed, 1 insertions, 9 deletions
diff --git a/src/main.c b/src/main.c
index 8484eeea1..cd3c9e117 100644
--- a/src/main.c
+++ b/src/main.c
@@ -89,7 +89,7 @@ const char version_number_dotted[] = VERSION_STRING_DOTTED;
const char version_build[] =
"build #" BUILD ", compiled " __DATE__ " " __TIME__;
/* the space is needed cause if you build with nothing it will complain */
-const char version_flags[] = " " VER_OS VER_MYSQL VER_MODULE;
+const char version_flags[] = " " VER_OS VER_MODULE;
/******** Local variables! ********/
diff --git a/src/misc.c b/src/misc.c
index 591cd1181..b1ab62e32 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -882,9 +882,6 @@ void rand_init()
int n, fd;
#endif
struct {
-#ifdef USE_MYSQL
- int sqlrand;
-#endif
#ifndef _WIN32
struct timeval nowt; /* time */
char rnd[32]; /* /dev/urandom */
@@ -896,11 +893,6 @@ void rand_init()
arc4_init();
- /* Grab "random" MYSQL data */
-#ifdef USE_MYSQL
- rdat.sqlrand = mysql_rand();
-#endif
-
/* Grab OS specific "random" data */
#ifndef _WIN32
/* unix/bsd: time */