Commit d1cd9bd4 authored by guilhem@mysql.com's avatar guilhem@mysql.com

Fix for BUG#1258 (Trying to use the mysqlbinlog with -h and -u option gives segmentation

fault). Fix is just initializing "host" (and "user") with 0, not a string.
parent f35f4329
......@@ -49,10 +49,10 @@ static bool force_opt= 0;
static const char* database;
static bool short_form = 0;
static ulonglong offset = 0;
static const char* host = "localhost";
static const char* host = 0;
static int port = MYSQL_PORT;
static const char* sock= MYSQL_UNIX_ADDR;
static const char* user = "test";
static const char* user = 0;
static const char* pass = "";
static ulonglong position = 0;
static bool use_remote = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment