anozdrin/alik@booka.
b7f403b546
Fix for BUG#16211: Stored function return type for strings is ignored.
...
Fix for BUG#16676: Database CHARSET not used for stored procedures
The problem in BUG#16211 is that CHARSET-clause of the return type for
stored functions is just ignored.
The problem in BUG#16676 is that if character set is not explicitly
specified for sp-variable, the server character set is used instead
of the database one.
The fix has two parts:
- always store CHARSET-clause of the return type along with the
type definition in mysql.proc.returns column. "Always" means that
CHARSET-clause is appended even if it has not been explicitly
specified in CREATE FUNCTION statement (this affects BUG#16211 only).
Storing CHARSET-clause if it is not specified is essential to avoid
changing character set if the database character set is altered in
the future.
NOTE: this change is not backward compatible with the previous releases.
- use database default character set if CHARSET-clause is not explicitly
specified (this affects both BUG#16211 and BUG#16676).
NOTE: this also breaks backward compatibility.
2006-07-27 17:57:43 +04:00
..
2006-05-29 16:27:45 +02:00
2006-05-01 21:30:09 +03:00
2006-06-17 02:57:50 +04:00
2006-06-17 02:57:50 +04:00
2006-06-27 14:56:24 +04:00
2006-07-10 20:46:05 +02:00
2006-04-24 23:51:47 +02:00
2006-04-10 09:31:46 +02:00
2006-06-04 21:27:41 +03:00
2006-06-27 00:47:52 +04:00
2006-03-21 14:35:49 +01:00
2006-03-23 14:03:39 +04:00
2006-04-06 10:51:23 +05:00
2006-04-18 18:10:47 +02:00
2006-05-24 00:55:53 +02:00
2006-06-23 18:00:49 +05:00
2006-06-23 18:00:49 +05:00
2006-06-22 16:18:54 -07:00
2006-03-23 12:41:28 +04:00
2006-06-22 20:48:49 -07:00
2006-07-08 02:30:07 +04:00
2006-06-13 18:18:32 +03:00
2006-04-28 11:37:20 +02:00
2006-06-27 17:59:49 +03:00
2006-05-31 18:10:02 -07:00
2006-07-08 21:45:02 +04:00
2006-05-24 17:21:35 +03:00
2006-06-16 09:49:18 +02:00
2006-03-22 14:57:24 +01:00
2006-04-23 12:32:39 +03:00
2006-06-14 23:54:08 +04:00
2006-04-21 00:36:20 -07:00
2006-06-15 18:40:18 -07:00
2006-06-20 00:52:26 +04:00
2006-05-06 19:45:24 +04:00
2006-04-11 15:26:18 +05:00
2006-06-30 02:35:52 +03:00
2006-06-17 01:57:25 +04:00
2006-06-30 02:35:52 +03:00
2006-06-22 20:50:38 +02:00
2006-06-29 10:26:24 +02:00
2006-06-27 17:00:24 +05:00
2006-04-18 18:10:47 +02:00
2006-05-29 15:06:37 +02:00
2006-05-23 16:43:01 +03:00
2006-05-06 23:48:13 -07:00
2006-05-11 21:15:37 +05:00
2006-05-10 21:50:04 +05:00
2006-06-19 14:13:34 +04:00
2006-07-20 13:24:12 +04:00
2006-06-19 14:13:34 +04:00
2006-07-20 13:24:12 +04:00
2006-07-20 13:24:12 +04:00
2006-07-20 13:24:12 +04:00
2006-06-19 14:13:34 +04:00
2006-07-20 13:24:12 +04:00
2006-04-13 16:05:32 +04:00
2006-05-23 10:52:53 +02:00
2006-05-30 10:45:23 +05:00
2006-06-30 00:21:55 +04:00
2006-07-04 23:46:15 +04:00
2006-07-04 23:46:15 +04:00
2006-05-23 16:43:01 +03:00
2006-04-21 20:24:52 +02:00
2006-06-06 23:37:42 +04:00
2006-06-21 13:03:06 +03:00
2006-06-16 20:21:25 +04:00
2006-03-29 16:45:29 -08:00
2006-05-17 20:48:48 -07:00
2006-06-08 13:34:03 +03:00
2006-04-19 18:08:15 -07:00
2006-06-30 19:37:11 +02:00
2006-06-19 14:13:34 +04:00
2006-03-29 10:56:11 -05:00
2006-06-26 19:14:35 +02:00
2006-06-06 11:25:31 +05:00
2006-07-10 20:46:05 +02:00
2006-05-29 19:07:35 +04:00
2006-07-10 16:22:42 +04:00
2006-05-01 22:10:50 -04:00
2006-04-24 13:07:53 +05:00
2006-05-09 22:35:51 -04:00
2006-05-31 19:49:38 +02:00
2006-07-08 00:03:43 +04:00
2006-04-11 15:01:21 +05:00
2006-05-08 15:19:17 +02:00
2006-05-15 16:23:59 +02:00
2006-05-21 11:04:57 +02:00
2006-06-14 00:38:34 +02:00
2006-03-28 10:01:23 +02:00
2006-06-14 20:16:32 +02:00
2006-06-12 15:36:12 +02:00
2006-03-28 14:38:16 +02:00
2006-05-05 17:18:47 +02:00
2006-07-02 01:51:10 +04:00
2006-07-06 18:50:44 +02:00
2006-07-02 01:51:10 +04:00
2006-06-02 07:26:45 +02:00
2006-05-01 09:46:00 -04:00
2006-05-03 14:06:34 +02:00
2006-04-21 00:36:20 -07:00
2006-05-12 10:27:20 +02:00
2006-04-25 04:27:23 +04:00
2006-04-28 11:23:31 +02:00
2006-07-11 23:39:51 +04:00
2006-03-15 19:15:52 +02:00
2006-07-01 09:28:41 +04:00
2006-05-06 09:41:24 +04:00
2006-06-07 16:17:56 +04:00
2006-05-22 12:18:18 +09:30
2006-07-06 14:37:09 +02:00
2006-04-13 21:09:26 +02:00
2006-07-05 14:41:35 +02:00
2006-06-17 02:57:50 +04:00
2006-06-28 15:07:41 +02:00
2006-04-13 20:42:48 +02:00
2006-04-24 10:21:09 +02:00
2006-05-16 19:33:24 +03:00
2006-05-11 16:29:02 +02:00
2006-05-07 16:02:55 +03:00
2006-04-14 12:13:26 +03:00
2006-06-21 01:14:53 +04:00
2006-06-27 21:28:32 +04:00
2006-03-10 14:40:15 +03:00
2006-06-29 15:50:44 +05:00
2006-03-09 12:08:23 +01:00
2006-07-07 21:24:54 +04:00
2006-07-24 15:10:50 +04:00
2006-06-21 01:50:20 +04:00
2006-07-13 17:12:31 +04:00
2006-06-30 18:14:22 +04:00
2006-07-27 17:57:43 +04:00
2006-04-27 21:59:04 +09:30
2006-04-12 17:37:57 +04:00
2006-06-29 18:39:34 +05:00
2006-05-25 10:39:18 +03:00
2006-03-10 16:47:56 +02:00
2006-03-10 16:47:56 +02:00
2006-04-24 18:57:00 +04:00
2006-04-22 11:54:25 +04:00
2006-05-12 13:55:21 +04:00
2006-03-24 14:58:18 +03:00
2006-06-29 13:45:43 +04:00
2006-04-04 17:54:58 -07:00
2006-04-04 17:54:58 -07:00
2006-03-22 16:47:45 +01:00
2006-06-15 16:24:02 +05:00
2006-06-22 20:50:38 +02:00
2006-06-08 13:25:28 -04:00
2006-06-15 22:09:58 +04:00
2006-04-26 17:09:41 -07:00
2006-06-22 19:40:59 +05:00
2006-07-04 23:55:52 +04:00
2006-05-31 22:55:45 -07:00
2006-06-19 14:13:34 +04:00
2006-07-06 23:49:09 +02:00