• unknown's avatar
    Fixed bug in multiple-table-delete where some rows was not deleted · e2285c54
    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
    e2285c54
delete.test 4.76 KB