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