Skip to content
  • Erik Froseth's avatar
    00d3bfac
    Bug#27574375 ANALYZE TABLE DOESN'T RETURN ERROR IN CASE LOCK_WAIT_TIMEOUT HAPPENED · 00d3bfac
    Erik Froseth authored
    Problem: When a LOCK_WAIT_TIMEOUT happened, ANALYZE TABLE ... UPDATE
    HISTOGRAM did not report any errors. The command failed silently.
    
    Fix: Do the same as ANALYZE TABLE without HISTOGRAM does: Send any error
    that is in the diagnostics area to the client as a result set after
    ANALYZE TABLE ... UPDATE HISTOGRAM has completed.
    
    Change-Id: If6f31711ebfe37d7a25adff08b913ddf84bc62f3
    00d3bfac
    Bug#27574375 ANALYZE TABLE DOESN'T RETURN ERROR IN CASE LOCK_WAIT_TIMEOUT HAPPENED
    Erik Froseth authored
    Problem: When a LOCK_WAIT_TIMEOUT happened, ANALYZE TABLE ... UPDATE
    HISTOGRAM did not report any errors. The command failed silently.
    
    Fix: Do the same as ANALYZE TABLE without HISTOGRAM does: Send any error
    that is in the diagnostics area to the client as a result set after
    ANALYZE TABLE ... UPDATE HISTOGRAM has completed.
    
    Change-Id: If6f31711ebfe37d7a25adff08b913ddf84bc62f3
Loading