summaryrefslogtreecommitdiff
path: root/mysql-test/r/subselect_no_exists_to_in.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/r/subselect_no_exists_to_in.result')
-rw-r--r--mysql-test/r/subselect_no_exists_to_in.result11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/r/subselect_no_exists_to_in.result b/mysql-test/r/subselect_no_exists_to_in.result
index df9f1872a8c..7f6ff7a6a16 100644
--- a/mysql-test/r/subselect_no_exists_to_in.result
+++ b/mysql-test/r/subselect_no_exists_to_in.result
@@ -7130,6 +7130,17 @@ a
DROP TABLE t1;
SET SESSION big_tables=0;
#
+# MDEV-10776: Server crash on query
+#
+create table t1 (field1 int);
+insert into t1 values (1);
+select round((select 1 from t1 limit 1))
+from t1
+group by round((select 1 from t1 limit 1));
+round((select 1 from t1 limit 1))
+1
+drop table t1;
+#
# MDEV-7930: Assertion `table_share->tmp_table != NO_TMP_TABLE ||
# m_lock_type != 2' failed in handler::ha_index_read_map
#