~ubuntu-branches/ubuntu/gutsy/mysql-dfsg-5.0/gutsy

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2007-04-03 09:43:01 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20070403094301-fnjhfr59hu72pvtg
Tags: 5.0.38-0ubuntu1
* Package the Enterprise version again (.37 was a community version), since
  Debian and we have always done so. This brings in a few more bug fixes and
  makes functional derivations less likely.
* debian/README.Maintainer: Add pointer to upstream download URL, since it
  is very hard to find the Enterprise versions.
* Disable 33_scripts__mysql_create_system_tables__no_test.dpatch, since that
  script was removed upstream.
* debian/patches/41_scripts__mysql_install_db.sh__no_test.dpatch: Adapted to
  changed formatting in new upstream version.
* Remove debian/patches/86_PATH_MAX.dpatch, fixed upstream.
* Add debian/patches/90_org_tables_definition.dpatch: Fix local variable
  declaration in libmysqld/sql_parse.cc to fix compilation with
  EMBEDDED_LIBRARY.

Show diffs side-by-side

added added

removed removed

Lines of Context:
377
377
insert into t1 values (1,1);
378
378
update t1 set `*f2`=1;
379
379
drop table t1;
 
380
create table t1(f1 int);
 
381
update t1 set f2=1 order by f2;
 
382
ERROR 42S22: Unknown column 'f2' in 'order clause'
 
383
drop table t1;
380
384
CREATE TABLE t1 (
381
385
request_id int unsigned NOT NULL auto_increment,
382
386
user_id varchar(12) default NULL,
434
438
Handler_read_rnd        0
435
439
Handler_read_rnd_next   21
436
440
DROP TABLE t1;
 
441
CREATE TABLE t1 (
 
442
a INT(11),
 
443
quux decimal( 31, 30 ),
 
444
UNIQUE KEY bar (a),
 
445
KEY quux (quux)
 
446
);
 
447
INSERT INTO
 
448
t1 ( a, quux )
 
449
VALUES
 
450
( 1,    1 ),
 
451
( 2,  0.1 );
 
452
INSERT INTO t1( a )
 
453
SELECT @newA := 1 + a FROM t1 WHERE quux <= 0.1;
 
454
SELECT * FROM t1;
 
455
a       quux
 
456
1       1.000000000000000000000000000000
 
457
2       0.100000000000000000000000000000
 
458
3       NULL
 
459
DROP TABLE t1;