diff --git a/src/modules/Mysql/mysql.c b/src/modules/Mysql/mysql.c
index 7c3e63ce16ba96ddb084a21e1e12f43307017c8e..53a384ad732e52728c7a7a1fbcb6976d2d70da69 100644
--- a/src/modules/Mysql/mysql.c
+++ b/src/modules/Mysql/mysql.c
@@ -2,7 +2,7 @@
 || This file is part of Pike. For copyright information see COPYRIGHT.
 || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
 || for more information.
-|| $Id: mysql.c,v 1.102 2006/08/12 14:46:32 mast Exp $
+|| $Id: mysql.c,v 1.103 2006/08/12 15:07:46 mast Exp $
 */
 
 /*
@@ -652,8 +652,6 @@ static void f_create(INT32 args)
     }
   }
 
-  pop_n_elems(args);
-
   pike_mysql_set_ssl(PIKE_MYSQL->options);
 
   pike_mysql_reconnect (0);
@@ -671,6 +669,8 @@ static void f_create(INT32 args)
       PIKE_MYSQL->conn_charset = NULL;
   }
 #endif
+
+  pop_n_elems(args);
 }
 
 /*! @decl string _sprintf(int type, void|mapping flags)