- In connect_assisted_discovery the test on topt->quoted must

be done on its signed value

modified:
  storage/connect/ha_connect.cc
This commit is contained in:
Olivier Bertrand 2013-06-26 19:52:38 +02:00
parent c6c1a6e2e8
commit d662c48a68

View file

@ -3440,7 +3440,7 @@ static int connect_assisted_discovery(handlerton *hton, THD* thd,
fnc= GetFuncID(fncn);
sep= topt->separator;
spc= (!sep || !strcmp(sep, "\\t")) ? '\t' : *sep;
qch= topt->qchar ? *topt->qchar : topt->quoted >= 0 ? '"' : 0;
qch= topt->qchar ? *topt->qchar : (signed)topt->quoted >= 0 ? '"' : 0;
hdr= (int)topt->header;
tbl= topt->tablist;
col= topt->colist;