Fixed wrong var name

Fixed wrong var name detection
This commit is contained in:
MassimilianoPinto
2015-04-01 16:56:29 +02:00
parent de88ae790d
commit bb65222e89

View File

@ -376,7 +376,7 @@ int query_len;
word = strtok_r(NULL, sep, &brkb);
if (word && (strcasecmp(word, "'none'") == 0))
slave->nocrc = 1;
else if (word && (strcasecmp(word, "@@global.biglog_checksum") == 0))
else if (word && (strcasecmp(word, "@@global.binlog_checksum") == 0))
slave->nocrc = !router->master_chksum;
else
slave->nocrc = 0;