~ubuntu-branches/ubuntu/precise/mysql-5.5/precise-201203300109

« back to all changes in this revision

Viewing changes to mysql-test/r/select.result

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-02-14 23:59:22 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20120214235922-cux5uek1e5l0hje9
Tags: 5.5.20-0ubuntu1
* New upstream release.
* d/mysql-server-5.5.mysql.upstart: Fix stop on to make sure mysql is
  fully stopped before shutdown commences. (LP: #688541) Also simplify
  start on as it is redundant.
* d/control: Depend on upstart version which has apparmor profile load
  script to prevent failure on upgrade from lucid to precise.
  (LP: #907465)
* d/apparmor-profile: need to allow /run since that is the true path
  of /var/run files. (LP: #917542)
* d/control: mysql-server-5.5 has files in it that used to be owned
  by libmysqlclient-dev, so it must break/replace it. (LP: #912487)
* d/rules, d/control: 5.5.20 Fixes segfault on tests with gcc 4.6,
  change compiler back to system default.
* d/rules: Turn off embedded libedit/readline.(Closes: #659566)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4970
4970
0
4971
4971
DROP TABLE t1;
4972
4972
# End of test BUG#57203
 
4973
#
 
4974
# Bug#63020: Function "format"'s 'locale' argument is not considered
 
4975
#            when creating a "view'
 
4976
#
 
4977
CREATE TABLE t1 (f1 DECIMAL(10,2));
 
4978
INSERT INTO t1 VALUES (11.67),(17865.3),(12345678.92);
 
4979
CREATE VIEW view_t1 AS SELECT FORMAT(f1,1,'sk_SK') AS f1 FROM t1;
 
4980
SHOW CREATE VIEW view_t1;
 
4981
View    Create View     character_set_client    collation_connection
 
4982
view_t1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_t1` AS select format(`t1`.`f1`,1,'sk_SK') AS `f1` from `t1`       latin1  latin1_swedish_ci
 
4983
SELECT * FROM view_t1;
 
4984
f1
 
4985
11,7
 
4986
17 865,3
 
4987
12 345 678,9
 
4988
DROP TABLE t1;
 
4989
DROP VIEW view_t1;
 
4990
# End of test  BUG#63020