diff options
author | unknown <monty@hundin.mysql.fi> | 2002-10-20 09:01:15 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2002-10-20 09:01:15 +0300 |
commit | c771f85e6c8b18a8e8fbeb4dd94fd11641728809 (patch) | |
tree | 5cd75e3909773de7556bbac8646898ec622474bf /mysys/my_init.c | |
parent | 74b73109c1304e62430faa85d2a63a6f2ffa626d (diff) | |
download | mariadb-git-c771f85e6c8b18a8e8fbeb4dd94fd11641728809.tar.gz |
Fixed usage of putenv() on windows (in not normally used code)
Diffstat (limited to 'mysys/my_init.c')
-rw-r--r-- | mysys/my_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_init.c b/mysys/my_init.c index 31e49731c94..3a1935d4267 100644 --- a/mysys/my_init.c +++ b/mysys/my_init.c @@ -242,7 +242,7 @@ static void my_win_init(void) /* Inserisce i dati come variabili d'ambiente */ my_env=strdup(EnvString); /* variable for putenv must be allocated ! */ - putenv(EnvString) ; + putenv(my_env) ; dimNameValueBuffer = dimName ; dimDataValueBuffer = dimData ; |