From 1c6fc3f6b9f7e79331053b5675793d70d0e70af0 Mon Sep 17 00:00:00 2001 From: Sergey Petrunya Date: Tue, 18 Jun 2013 19:21:00 +0400 Subject: [SHOW] EXPLAIN UPDATE/DELETE, code re-structuring Part 2 of: - Pass more tests - select with subselects is now shown with type=PRIMARY where it used to be (incorrectly) 'SIMPLE' --- sql/sql_class.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sql/sql_class.h') diff --git a/sql/sql_class.h b/sql/sql_class.h index bb5b2c4e775..d84f511e5d3 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -3401,6 +3401,11 @@ public: void begin_dataset() {} #endif virtual void update_used_tables() {} + + void reset_offset_limit() + { + unit->offset_limit_cnt= 0; + } }; -- cgit v1.2.1