summaryrefslogtreecommitdiff
path: root/sql/sql_cursor.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_cursor.h')
-rw-r--r--sql/sql_cursor.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/sql_cursor.h b/sql/sql_cursor.h
index e07cb9973d1..00b9cd4e67a 100644
--- a/sql/sql_cursor.h
+++ b/sql/sql_cursor.h
@@ -54,9 +54,15 @@ public:
virtual int open(JOIN *top_level_join)= 0;
virtual void fetch(ulong num_rows)= 0;
virtual void close()= 0;
+ virtual bool export_structure(THD *thd, Row_definition_list *defs)
+ {
+ DBUG_ASSERT(0);
+ return true;
+ }
virtual ~Server_side_cursor();
static void operator delete(void *ptr, size_t size);
+ static void operator delete(void *, MEM_ROOT *){}
};