Fixed a bug in --one-database.

This commit is contained in:
unknown 2003-03-17 15:50:56 +02:00
parent bfbb0ad69d
commit 440cb76f8e

View File

@ -40,7 +40,7 @@
#include <signal.h>
#include <violite.h>
const char *VER= "12.18";
const char *VER= "12.19";
/* Don't try to make a nice table if the data is too big */
#define MAX_COLUMN_LENGTH 1024
@ -766,6 +766,7 @@ static int get_options(int argc, char **argv)
}
if (argc == 1)
{
skip_updates= 0;
my_free(current_db, MYF(MY_ALLOW_ZERO_PTR));
current_db= my_strdup(*argv, MYF(MY_WME));
}