1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00

Fixed bug in GROUP BY ... DESC

Docs/manual.texi:
  Changelog
libmysql/libmysql.c:
  Fixed bug with mysql_use_result() when mysql_query() is called before mysql_free_result().
mysql-test/r/group_by.result:
  New tests
mysql-test/t/group_by.test:
  New tests
sql/stacktrace.c:
  Fix for SCO
This commit is contained in:
unknown
2001-12-10 17:51:07 +02:00
parent 6f8f45e959
commit 2d1e16eb04
7 changed files with 68 additions and 14 deletions

View File

@@ -34,3 +34,33 @@ Test Procedures 0
2 a 0
1+1 a count(*)
2 a 0
table type possible_keys key key_len ref rows Extra
t1 ALL NULL NULL NULL NULL 6 Using temporary
userid count(*)
3 3
2 1
1 2
table type possible_keys key key_len ref rows Extra
t1 range spID spID 5 NULL 2 where used; Using index; Using temporary
table type possible_keys key key_len ref rows Extra
t1 range spID spID 5 NULL 2 where used; Using index
spid count(*)
1 1
2 2
spid count(*)
2 2
1 1
table type possible_keys key key_len ref rows Extra
t1 ALL NULL NULL NULL NULL 6 Using filesort
spid sum(userid)
5 3
4 3
3 3
2 3
1 1
table type possible_keys key key_len ref rows Extra
t1 index NULL score 3 NULL 6 Using index
score count(*)
3 3
2 1
1 2