summaryrefslogtreecommitdiff
path: root/strings/CHARSET_INFO.txt
diff options
context:
space:
mode:
authorunknown <cmiller@zippy.cornsilk.net>2007-02-13 16:35:29 -0500
committerunknown <cmiller@zippy.cornsilk.net>2007-02-13 16:35:29 -0500
commit035062b2a7506bfa159bfc67ed710a19beee2114 (patch)
tree5c1b3bbbf429e5745127941b3eacebf8a66d3fb8 /strings/CHARSET_INFO.txt
parent6f628013e818b729407fa6952e553dccf59f14d0 (diff)
downloadmariadb-git-035062b2a7506bfa159bfc67ed710a19beee2114.tar.gz
Bug#25807: LOAD DATA INFILE does not work with Pipes
Showstopper and regression against 5.0.24. Previously, we ignored seek() errors (see Bug#22828) and let seek()s against pipes fail. Now, since we check that a seek didn't fail, and return without reading, this bug popped up. This restores the behavior for file-ish objects that could never be seek()ed. mysys/mf_iocache.c: If we detect early that the file is not tell()able, then we should assume that it's also not seek()able and therefore we should never set the (poorly named) "seek_not_done" flag so that we don't immedi- ately try to seek() when reading later. The problem was that tell() was returning -1, so when we read later, we needlessly tried to seek to position (unsigned long) -1 . Also, if we think we're supposed to seek to a position in a file and the file is un-tell()able, then abort.
Diffstat (limited to 'strings/CHARSET_INFO.txt')
0 files changed, 0 insertions, 0 deletions