• unknown's avatar
    Fixed bug in multiple-table-delete where some rows was not deleted · 16ba85cb
    unknown authored
    
    mysql-test/r/delete.result:
      Test case for bug in multiple-table-delete where some rows was not deleted
    mysql-test/t/delete.test:
      Test case for bug in multiple-table-delete where some rows was not deleted
    sql/item_subselect.cc:
      Code cleanup
    sql/opt_range.cc:
      Code cleanup
    sql/sql_delete.cc:
      Fixed bug in multiple-table-delete where some rows was not deleted
      This happend when the first table-to-delete-from was not the the table that was scanned.
      Fixed this by only doing 'delete-on-the-fly' for the first table.
      Fixed also some wrong error handling in multi-table-delete
    16ba85cb
sql_delete.cc 23.5 KB