1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-11 05:52:26 +03:00
Files
mariadb/mysql-test/t
Staale Smedseng 330864fcda Bug #49756 Rows_examined is always 0 in the slow query log for
update statements
      
Only SELECT statements report any examined rows in the slow
log. Slow UPDATE, DELETE and INSERT statements report 0 rows
examined, unless the statement has a condition including a
SELECT substatement.
      
This patch adds counting of examined rows for the UPDATE and
DELETE statements. An INSERT ... VALUES statement will still 
not report any rows as examined.



sql/sql_class.h:
  Added more docs for THD::examined_row_count.
sql/sql_delete.cc:
  Add incrementing thd->examined_row_count.
sql/sql_update.cc:
  Add incrementing thd->examined_row_count.
2010-05-12 13:19:12 +02:00
..
2009-08-20 14:30:59 +02:00
2010-02-25 23:13:11 +04:00
2009-09-29 17:38:40 +02:00
2010-02-25 17:12:15 +02:00
2009-12-11 16:02:47 +02:00
2009-09-02 18:58:17 +02:00
2010-05-06 10:59:28 +02:00
2010-04-27 00:46:52 +04:00
2009-10-20 11:00:07 -07:00
2010-05-03 18:14:39 +02:00
2009-12-17 12:06:36 -08:00
2010-01-29 16:54:27 +02:00
2009-12-10 17:38:01 +02:00
2009-08-12 12:03:05 +02:00
2010-03-12 11:52:38 +01:00
2010-01-29 15:08:49 +04:00
2010-01-15 10:51:39 +02:00
2009-11-27 18:10:28 +02:00
2009-12-23 17:44:03 +04:00
2009-12-22 14:38:33 +04:00