1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-27 01:57:48 +03:00
unknown 6a97b07994 sql_select.cc:
Fixed bug #9681.
  The bug happened with queries using derived tables specified by
  a SELECT with ROLLUP, such as:
  SELECT * FROM (SELECT a, SUM(a) FROM t1 GROUP BY a WITH ROLLUP) t2,
  if column a of table t1 is declared as NOT NULL.
  This was to the fact that the first column of the temporary table
  created to contain the derived table erroneously inherited the NOT NULL
  attribute from column a.
olap.result, olap.test:
  Added a test case for bug #9681.


mysql-test/t/olap.test:
  Added a test case for bug #9681.
mysql-test/r/olap.result:
  Added a test case for bug #9681.
sql/sql_select.cc:
  Fixed bug #9681.
  The bug happened with queries using derived tables specified by
  a SELECT with ROLLUP, such as:
  SELECT * FROM (SELECT a, SUM(a) FROM t1 GROUP BY a WITH ROLLUP) t2,
  if column a of table t1 is declared as NOT NULL.
  This was to the fact that the first column of the temporary table
  created to contain the derived table erroneously inherited the NOT NULL
  attribute from column a.
2005-04-19 16:54:30 -07:00
..
2004-04-05 13:56:05 +03:00
2005-01-18 12:25:56 -08:00
2004-09-01 04:12:09 +03:00
2004-09-13 06:14:25 +04:00
2005-03-03 23:07:20 +01:00
2004-04-07 04:33:58 +03:00
2005-03-30 10:27:36 +03:00
2005-03-30 10:07:08 +03:00
2005-02-22 12:51:23 +02:00
2005-03-17 10:59:25 +04:00
2004-03-16 22:41:30 +02:00
2005-03-07 10:29:50 +01:00
2004-03-25 23:29:45 +02:00
2005-03-04 20:24:13 -08:00
2005-02-22 12:51:23 +02:00
2005-03-07 16:45:19 +01:00
2004-11-02 20:13:27 +02:00
2004-10-06 19:14:33 +03:00
2004-10-06 19:14:33 +03:00
2005-02-17 15:04:04 +04:00
2005-03-26 20:15:18 +01:00
2004-10-27 19:52:41 +03:00
2005-02-28 19:59:38 +04:00
2005-02-12 22:58:54 +03:00
2005-02-02 15:52:19 +04:00
2005-04-14 21:31:22 +02:00
2004-12-14 03:36:19 +03:00
2004-12-14 03:36:19 +03:00
2004-03-30 02:32:41 +03:00
2005-04-19 16:54:30 -07:00
2005-04-16 23:35:39 +04:00
2005-04-09 00:21:51 +01:00
2005-03-30 10:27:36 +03:00
2005-02-18 14:19:08 +01:00
2005-04-16 00:10:35 +02:00
2004-10-06 19:14:33 +03:00
2005-03-03 23:07:20 +01:00
2004-11-08 01:13:54 +02:00