summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2016-09-23 14:03:19 +0200
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2016-09-24 15:12:34 +0200
commit8b95e7eb447e9a7d1889ae2a3f626737d70dfacb (patch)
treed3679487a84b51353b7b3b7dbd0c1e5afc70d03c
parent047963922c0c89c76f82cd14eb05ec56c19a91e9 (diff)
downloadmariadb-git-8b95e7eb447e9a7d1889ae2a3f626737d70dfacb.tar.gz
Make sure to call Rowid_seq_cursor::next to not face infinite recursion
-rw-r--r--sql/sql_window.cc2
1 files changed, 1 insertions, 1 deletions
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
{