Skip to content

Commit e857153

Browse files
Pekka NousiainenPiotr Obrzut
authored andcommitted
wl#7614 csv-delim1.diff
usage error for unknown CSV escape (cherry picked from commit ac4b9b7341c7eef1cae2b7781f2e02f1210664bf)
1 parent 44a01d3 commit e857153

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

storage/ndb/tools/NdbImportCsv.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ NdbImportCsv::translate_escapes(const char* src,
102102
break;
103103
default:
104104
m_util.set_error_usage(m_error, __LINE__,
105-
"unknown escape '%X' in CSV option", (int)c);
106-
require(false);
105+
"unknown escape '\\%c' (0x%x) in CSV option",
106+
c, (uint)(unsigned char)c);
107107
return -1;
108108
}
109109
p++;

0 commit comments

Comments
 (0)