From 8b95e7eb447e9a7d1889ae2a3f626737d70dfacb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vicen=C8=9Biu=20Ciorbaru?= Date: Fri, 23 Sep 2016 14:03:19 +0200 Subject: Make sure to call Rowid_seq_cursor::next to not face infinite recursion --- sql/sql_window.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_window.cc') diff --git a/sql/sql_window.cc b/sql/sql_window.cc index c40ffeb5fb1..f66b390b318 100644 --- a/sql/sql_window.cc +++ b/sql/sql_window.cc @@ -641,7 +641,7 @@ public: { seek_io_cache(io_cache, row_number * ref_length); rownum= row_number; - next(); + Rowid_seq_cursor::next(); } else { -- cgit v1.2.1