summaryrefslogtreecommitdiff
path: root/sql/sp_head.h
diff options
context:
space:
mode:
authorVarun Gupta <varunraiko1803@gmail.com>2018-05-18 17:42:12 +0530
committerVarun Gupta <varunraiko1803@gmail.com>2018-05-19 15:12:15 +0530
commit36779e624d81fc1cad83b3de7401f0631fbb9a5a (patch)
tree71f0cd50d60780a5df1fa7f891ef0647fc7b1aa8 /sql/sp_head.h
parent89b1c2712a9cff99f79d05362f4a0dc183738ba5 (diff)
downloadmariadb-git-36779e624d81fc1cad83b3de7401f0631fbb9a5a.tar.gz
MDEV-14623: Output of show function code does not show FETCH GROUP NEXT ROW for custom aggregates
The print() function was missing from the FETCH GROUP NEXT ROW instrunction class, so there was no output for this particular instruction when we use the query SHOW FUNCTION CODE function_name
Diffstat (limited to 'sql/sp_head.h')
-rw-r--r--sql/sp_head.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sp_head.h b/sql/sp_head.h
index f588f79b599..c0c0c83b77e 100644
--- a/sql/sp_head.h
+++ b/sql/sp_head.h
@@ -1957,7 +1957,7 @@ public:
virtual int execute(THD *thd, uint *nextp);
- virtual void print(String *str){};
+ virtual void print(String *str);
}; // class sp_instr_agg_cfetch : public sp_instr