1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00
Files
mariadb/sql
unknown 0237750623 BUG#29130 (The logic for using delete_all_rows() is wrong):
Correcting the logic for deciding when to use delete_all_rows() so that
the behavior of TRUNCATE to not be dependent on binary logging
format in effect.

A TRUNCATE statement is always logged as a statement, so in this case,
delete_all_rows() can always be used provided the other logic is correct.
If a DELETE FROM without a WHERE clause is used, and row-based binlogging
is used, the rows has to be deleted from the table on a per-row basis.


sql/sql_delete.cc:
  The logic for deciding when to use delete_all_rows() was altered so that
  the format used for binary logging does not affect how TRUNCATE is
  handled.
2007-06-15 13:50:56 +02:00
..
2007-03-15 23:39:07 -07:00
2007-03-20 17:07:53 +01:00
2007-05-24 19:47:58 +03:00
2007-06-05 03:02:59 +02:00
2007-05-24 19:47:58 +03:00
2007-04-27 14:13:34 -07:00
2007-04-13 19:23:02 +02:00
2007-05-24 19:47:58 +03:00
2007-06-01 14:17:23 +04:00
2007-04-02 11:38:58 -07:00
2007-06-05 23:56:02 +02:00
2007-03-02 08:43:45 -08:00
2007-03-02 08:43:45 -08:00