summaryrefslogtreecommitdiff
path: root/sql/sql_window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_window.cc')
-rw-r--r--sql/sql_window.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_window.cc b/sql/sql_window.cc
index d8aa79130a4..e3e42fc4f75 100644
--- a/sql/sql_window.cc
+++ b/sql/sql_window.cc
@@ -577,6 +577,8 @@ class Rowid_seq_cursor
uint ref_length;
public:
+ virtual ~Rowid_seq_cursor() {}
+
void init(READ_RECORD *info)
{
cache_start= info->cache_pos;
@@ -631,6 +633,7 @@ class Table_read_cursor : public Rowid_seq_cursor
*/
READ_RECORD *read_record;
public:
+ virtual ~Table_read_cursor() {}
void init(READ_RECORD *info)
{