gkodinov/kgeorge@magare.gmz
4f2ec8f3de
Bug #26815 :
...
When creating a temporary table the concise column type
of a string expression is decided based on its length:
- if its length is under 512 it is stored as either
varchar or char.
- otherwise it is stored as a BLOB.
There is a flag (convert_blob_length) to create_tmp_field
that, when >0 allows to force creation of a varchar if the
max blob length is under convert_blob_length.
However it must be verified that convert_blob_length
(settable through a SQL option in some cases) is
under the maximum that can be stored in a varchar column.
While performing that check for expressions in
create_tmp_field_from_item the max length of the blob was
used instead. This causes blob columns to be created in the
heap temp table used by GROUP_CONCAT (where blobs must not
be created in the temp table because of the constant
convert_blob_length that is passed to create_tmp_field() ).
And since these blob columns are not expected in that place
we get wrong results.
Fixed by checking that the value of the flag variable is
in the limits that fit into VARCHAR instead of the max length
of the blob column.
2007-03-27 19:28:04 +03:00
..
2007-01-19 23:15:59 +03:00
2007-03-14 11:54:20 +02:00
2006-09-28 14:32:30 -04:00
2006-12-11 16:43:21 +01:00
2007-01-16 21:23:52 +03:00
2006-10-11 14:50:19 +02:00
2006-10-23 15:02:51 +05:00
2006-11-13 20:06:45 +04:00
2006-11-15 12:23:07 -05:00
2007-02-14 18:35:59 +02:00
2007-02-20 12:48:15 +01:00
2006-09-13 15:18:14 +04:00
2007-02-06 13:57:20 +04:00
2006-10-03 16:14:23 +02:00
2007-02-26 11:49:24 +01:00
2007-02-19 15:46:32 +01:00
2006-11-20 22:42:06 +02:00
2007-02-28 18:13:23 +04:00
2007-03-01 18:12:56 +01:00
2006-11-20 22:42:06 +02:00
2006-09-29 16:24:11 +05:00
2006-12-22 15:30:37 +03:00
2007-02-19 13:57:06 +03:00
2007-02-19 13:57:06 +03:00
2006-11-20 22:46:52 +02:00
2006-11-20 15:06:33 +04:00
2006-11-22 09:19:51 +04:00
2007-02-12 15:41:36 +04:00
2007-03-20 17:53:55 +04:00
2007-02-23 18:49:41 +02:00
2007-02-26 11:49:24 +01:00
2007-03-10 11:46:20 +07:00
2007-01-31 10:18:26 +02:00
2006-11-13 20:06:45 +04:00
2007-03-08 00:27:42 +03:00
2006-11-29 13:56:59 -05:00
2006-11-29 12:04:29 +01:00
2007-02-06 14:19:07 +01:00
2006-12-01 09:49:19 +01:00
2006-11-13 20:06:45 +04:00
2006-11-16 23:16:44 +04:00
2006-11-16 23:16:44 +04:00
2007-01-23 10:11:53 -08:00
2006-10-13 19:09:22 +05:00
2006-10-02 12:37:01 +02:00
2007-03-05 10:03:42 +01:00
2007-03-05 10:03:42 +01:00
2007-03-27 19:28:04 +03:00
2007-02-27 11:01:58 +04:00
2007-02-12 13:59:29 -07:00
2007-03-22 00:05:36 -07:00
2007-03-01 19:20:47 -07:00
2006-11-20 22:42:06 +02:00
2007-03-10 19:57:18 +03:00
2006-11-06 17:45:47 -05:00
2007-03-06 20:50:49 +03:00
2007-03-08 10:10:17 +01:00
2007-03-26 14:14:23 +03:00
2007-02-26 11:49:24 +01:00
2007-02-26 11:49:24 +01:00
2007-01-24 16:45:30 +03:00
2006-11-20 22:42:06 +02:00
2007-01-11 23:18:01 +03:00
2006-11-29 11:25:22 +01:00
2007-02-23 20:24:32 +03:00
2006-11-23 22:55:36 +03:00
2006-11-23 22:55:36 +03:00
2006-12-26 17:47:30 +04:00
2006-09-12 18:25:35 +05:00
2006-12-22 00:38:34 +01:00
2006-11-13 20:06:45 +04:00
2007-02-12 16:06:14 +04:00
2007-03-20 17:53:55 +04:00
2007-02-19 10:08:27 +01:00
2006-12-19 16:57:51 -07:00
2007-02-10 23:55:56 -08:00
2006-12-19 16:57:51 -07:00
2006-12-19 16:57:51 -07:00
2006-10-23 15:02:51 +05:00
2006-10-23 15:02:51 +05:00
2007-02-15 15:39:03 +01:00
2007-02-19 13:57:06 +03:00
2007-02-20 22:23:51 +03:00
2006-11-13 20:06:45 +04:00
2007-03-22 18:44:16 +02:00
2007-03-16 10:50:33 +02:00
2007-01-22 15:14:38 +03:00
2007-01-31 16:04:38 +02:00
2007-02-09 12:54:50 -08:00
2007-01-11 19:10:01 +02:00
2006-11-15 10:23:27 +01:00
2007-02-07 14:22:19 -08:00
2007-02-24 13:12:20 +03:00
2006-12-08 17:09:43 +01:00
2006-11-28 20:59:57 +01:00
2006-09-05 16:52:05 +02:00
2006-09-05 16:52:05 +02:00
2007-03-16 19:56:16 +01:00
2007-02-26 11:49:24 +01:00
2007-02-24 13:12:20 +03:00
2006-11-14 19:45:52 +01:00
2006-10-19 10:54:23 +02:00
2006-10-30 14:40:15 +04:00
2007-03-20 17:53:55 +04:00
2006-11-09 16:55:42 +02:00
2007-01-18 10:06:36 -07:00
2007-01-29 17:20:18 +01:00
2006-10-03 15:33:44 +02:00
2006-11-21 21:10:02 -05:00
2006-11-22 01:27:06 -05:00
2006-10-19 10:54:23 +02:00
2007-01-03 03:33:26 +04:00
2007-03-01 18:12:56 +01:00
2007-01-17 11:13:03 +01:00
2007-02-22 15:28:42 +03:00
2007-03-20 17:53:55 +04:00
2007-03-01 20:59:08 +01:00
2006-12-15 00:51:37 +02:00
2006-10-24 17:54:45 +02:00
2007-02-19 20:30:34 +01:00
2007-03-01 18:12:56 +01:00
2007-02-26 11:49:24 +01:00
2006-09-06 11:54:01 +02:00
2006-09-13 23:19:18 +02:00
2007-02-26 11:49:24 +01:00
2006-12-07 15:51:16 +01:00
2007-02-21 13:02:57 +02:00
2007-02-26 11:49:24 +01:00
2007-02-06 23:06:58 +01:00
2007-03-09 16:39:13 +07:00
2007-01-18 13:26:48 -07:00
2006-11-30 15:02:33 +01:00
2006-10-11 14:50:19 +02:00
2006-11-20 22:42:06 +02:00
2007-03-10 02:47:47 -08:00
2007-03-05 10:03:42 +01:00
2007-03-13 18:46:46 +02:00
2007-02-14 14:44:34 +01:00
2007-02-26 11:49:24 +01:00
2007-01-31 16:45:33 +04:00
2006-10-04 11:19:23 -04:00
2006-10-03 16:14:23 +02:00
2006-10-12 17:10:34 -06:00
2007-02-01 18:00:24 +04:00
2006-12-19 15:31:10 +01:00
2007-02-14 14:44:34 +01:00
2007-01-31 16:23:10 -05:00
2006-11-20 17:35:23 +03:00
2006-11-16 23:16:44 +04:00
2006-10-19 18:04:34 +05:00
2006-12-19 15:31:10 +01:00
2006-12-19 15:31:10 +01:00
2006-10-19 10:54:23 +02:00
2006-11-09 14:27:34 +04:00
2006-10-04 22:52:44 +02:00
2006-11-28 20:59:57 +01:00
2006-11-30 11:08:23 +04:00
2006-11-15 10:23:27 +01:00
2006-10-13 11:53:19 +02:00
2007-03-20 11:15:15 +01:00
2006-10-13 20:22:56 +02:00
2006-10-19 10:54:23 +02:00
2006-10-03 16:14:23 +02:00
2006-11-15 10:23:27 +01:00
2006-11-01 12:30:01 +04:00
2006-11-01 12:30:01 +04:00
2006-11-15 10:23:27 +01:00
2007-02-15 15:39:03 +01:00
2007-02-08 15:53:14 +01:00
2007-02-08 15:53:14 +01:00
2007-02-08 15:53:14 +01:00
2007-03-01 11:52:25 +04:00
2006-10-19 10:54:23 +02:00
2006-10-05 18:29:59 +02:00
2006-12-07 09:31:53 +04:00
2006-10-19 10:54:23 +02:00
2006-10-19 10:54:23 +02:00
2006-11-15 10:23:27 +01:00
2006-09-05 16:52:05 +02:00
2006-09-05 16:52:05 +02:00
2007-03-05 10:03:42 +01:00
2006-09-12 00:19:05 +03:00
2006-09-12 00:19:05 +03:00
2007-03-16 17:25:20 +03:00
2007-02-26 15:25:43 +04:00
2007-01-11 09:43:44 -05:00
2006-10-07 20:19:57 +02:00
2007-01-08 22:01:06 +01:00
2007-03-05 10:07:22 +01:00
2007-02-27 14:54:33 +01:00
2006-11-15 10:23:27 +01:00
2006-11-13 15:40:22 -07:00
2006-10-03 15:33:44 +02:00
2007-02-23 12:58:56 -05:00
2006-11-15 10:23:27 +01:00
2006-09-21 00:59:48 +02:00
2007-03-26 16:52:52 +03:00
2006-10-12 17:10:34 -06:00
2006-11-16 23:16:44 +04:00
2007-03-16 12:15:51 +04:00
2006-10-04 13:09:37 +02:00
2006-12-11 18:52:24 -07:00
2006-11-17 12:14:29 -07:00
2007-03-21 13:58:11 -04:00
2007-03-14 12:02:32 -06:00
2006-11-20 22:42:06 +02:00
2007-02-19 13:57:06 +03:00
2007-02-06 16:01:22 -07:00
2007-03-19 23:59:53 +03:00
2007-03-05 10:03:42 +01:00
2007-03-05 10:03:42 +01:00
2006-10-19 00:53:01 +02:00
2007-03-05 10:03:42 +01:00
2006-11-16 23:16:44 +04:00
2006-11-20 22:42:06 +02:00
2007-03-20 19:46:02 +02:00
2007-03-22 14:48:03 -07:00
2007-02-01 18:00:24 +04:00
2006-11-21 15:31:11 +01:00
2006-11-21 15:31:11 +01:00
2006-11-21 15:31:11 +01:00
2006-11-21 15:31:11 +01:00
2007-03-22 10:56:47 +01:00
2006-11-01 17:35:35 +03:00
2006-11-01 16:47:40 +03:00
2006-11-01 16:47:40 +03:00
2006-11-01 16:47:40 +03:00
2007-02-26 09:24:03 +01:00
2007-03-20 00:46:19 +03:00
2007-01-09 22:35:30 +03:00
2006-11-28 00:47:21 +02:00
2007-02-14 14:44:34 +01:00
2006-09-14 18:45:23 +04:00
2007-03-22 12:26:32 +04:00
2006-10-11 19:44:12 +04:00
2007-02-12 14:31:44 +01:00
2007-01-31 10:07:56 +04:00
2007-03-15 12:06:06 +04:00
2007-02-23 18:05:32 +01:00
2007-01-18 17:33:38 +02:00
2007-03-21 21:54:38 +03:00
2007-03-05 23:33:57 +03:00
2007-01-09 23:24:56 +03:00
2006-11-23 22:55:36 +03:00
2006-12-22 00:38:34 +01:00
2007-02-20 16:24:38 +01:00
2007-03-22 22:05:19 +03:00
2007-03-08 21:42:41 +04:00
2007-02-24 13:12:20 +03:00
2007-02-24 13:12:20 +03:00
2007-01-10 16:55:53 +02:00
2006-09-27 19:26:25 -04:00
2006-12-07 17:01:00 +01:00
2007-02-26 11:49:24 +01:00