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

« back to all changes in this revision

Viewing changes to mysql-test/r/insert_select.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:
731
731
@@identity
732
732
0
733
733
drop table t1;
 
734
CREATE TABLE t1 (f1 INT, f2 INT );
 
735
CREATE TABLE t2  (f1 INT PRIMARY KEY, f2 INT);
 
736
INSERT INTO t1 VALUES (1,1),(2,2),(10,10);
 
737
INSERT INTO t2 (f1, f2) SELECT f1, f2 FROM t1;
 
738
INSERT INTO t2 (f1, f2)
 
739
SELECT f1, f1 FROM t2 src WHERE f1 < 2
 
740
ON DUPLICATE KEY UPDATE f1 = 100 + src.f1;
 
741
SELECT * FROM t2;
 
742
f1      f2
 
743
101     1
 
744
2       2
 
745
10      10
 
746
DROP TABLE t1, t2;