Fixed extra ' in crc32 value check.

This commit is contained in:
Markus Makela 2015-04-01 10:22:24 +03:00
parent 4c418a128d
commit 5fb7195091

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.biglog_checksum") == 0))
slave->nocrc = !router->master_chksum;
else
slave->nocrc = 0;