1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00
Files
mariadb/mysql-test/r
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-06-17 02:57:50 +04:00
2006-03-01 15:50:15 +04:00
2006-06-15 16:39:18 +04:00
2006-05-31 22:55:45 -07:00
2006-06-27 00:47:52 +04:00
2006-06-28 15:53:54 +03:00
2006-05-24 17:21:35 +03:00
2006-06-15 01:48:41 +04:00
2006-04-21 08:19:38 -07:00
2006-06-15 20:29:05 -07:00
2006-06-20 00:52:26 +04:00
2006-06-30 02:03:09 +04:00
2006-06-30 02:03:09 +04:00
2006-06-27 17:00:24 +05:00
2006-01-06 00:47:49 +02:00
2006-05-16 22:19:44 -07:00
2006-02-03 00:07:36 +03:00
2006-05-03 16:42:39 +05:00
2006-05-17 20:48:48 -07:00
2006-05-31 22:55:45 -07:00
2006-03-06 23:43:47 +01:00
2005-12-06 21:28:13 +01:00
2006-05-04 09:58:03 +05:00
2005-10-12 15:19:51 +02:00
2006-02-07 19:57:31 +01:00
2006-06-12 15:36:12 +02:00
2006-05-31 22:55:45 -07:00
2006-07-01 09:28:41 +04:00
2006-06-17 02:57:50 +04:00
2006-06-21 01:14:53 +04:00
2006-04-27 21:59:04 +09:30
2006-06-01 16:51:19 -07:00
2006-06-01 16:51:19 -07:00
2005-10-10 19:38:58 +02:00
2006-06-30 02:03:09 +04:00
2006-06-09 19:29:39 -07:00
2006-04-26 17:09:41 -07:00
2006-03-31 21:26:17 -08:00