Hi!
On Nov 10, holyfoot@stripped wrote:
> ChangeSet@stripped, 2007-11-10 16:54:25+04:00, holyfoot@stripped +1 -0
> Bug #32063 "create table like" works case-significant only in "embedded" server
> (libmysqld)
>
> in mysql_creata_like_table() we 'downcase' the complete path to the
> .frm file. It works fine in standalone case as there usually
> we only have './' as a path to the datahome, but doesn't work in
> the embedded server where we add the real path there, so if a
> directory has uppercase letters in it's name, it won't be found.
>
> Fixed by 'downcasing' only database/table pair.
ok to push
Regards / Mit vielen Grüssen,
Sergei
--
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Sergei Golubchik <serg@stripped>
/ /|_/ / // /\ \/ /_/ / /__ Principal Software Developer
/_/ /_/\_, /___/\___\_\___/ MySQL GmbH, Dachauer Str. 37, D-80335 München
<___/ Geschäftsführer: Kaj Arnö - HRB
München 162140