• Sergey Vojtovich's avatar
    BUG#32047 - 'Spurious' errors while opening MERGE tables · 8745e368
    Sergey Vojtovich authored
    Accessing well defined MERGE table may return an error
    stating that the merge table is incorrectly defined. This
    happens if MERGE child tables were accessed before and we
    failed to open another incorrectly defined MERGE table in
    this connection.
    
    myrg_open() internally used my_errno as a variable for determining
    failure, and thus could be tricked into a wrong decision by other
    uses of my_errno.
    
    With this fix we use function local boolean flag instead of my_errno
    to determine failure.
    8745e368
myrg_open.c 5.73 KB