~ubuntu-branches/ubuntu/raring/mysql-5.5/raring-proposed

« back to all changes in this revision

Viewing changes to mysql-test/t/type_newdecimal.test

  • 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:
1244
1244
select * from t1;
1245
1245
DROP TABLE t1;
1246
1246
 
 
1247
--echo #
 
1248
--echo # Bug#12563865
 
1249
--echo # ROUNDED,TMP_BUF,DECIMAL_VALUE STACK CORRUPTION IN ALL VERSIONS >=5.0
 
1250
--echo #
 
1251
 
 
1252
let $nine_81=
 
1253
999999999999999999999999999999999999999999999999999999999999999999999999999999999;
 
1254
 
 
1255
eval SELECT substring(('M') FROM ($nine_81)) AS foo;
 
1256
eval SELECT min($nine_81) AS foo;
 
1257
eval SELECT multipolygonfromtext(('4294967294.1'),($nine_81)) AS foo;
 
1258
eval SELECT convert(($nine_81), decimal(30,30)) AS foo;
 
1259
eval SELECT bit_xor($nine_81) AS foo;
 
1260
eval SELECT -($nine_81) AS foo;
 
1261
eval SELECT date_sub(($nine_81),
 
1262
                     interval ((SELECT date_add((0x77500000),
 
1263
                                                 interval ('Oml') second)))
 
1264
                     day_minute)
 
1265
AS foo;
 
1266
eval SELECT truncate($nine_81, 28) AS foo;
 
1267
 
1247
1268
--echo End of 5.0 tests
1248
1269
 
1249
1270
#