• Kristofer Pettersson's avatar
    Bug#29507 TRUNCATE shows to many rows effected · 5ef4fb24
    Kristofer Pettersson authored
    TRUNCATE TABLE for InnoDB tables returned a count showing an approximation
    of the number of rows affected to gain efficiency.
    Now the statement always returns 0 rows affected for clarity.
    
    sql/sql_delete.cc:
      * Set row count to 0 if auto increment was reset which can happen
      if TRUNCATE TABLE was issued.
    5ef4fb24
sql_delete.cc 31.9 KB