~ubuntu-branches/ubuntu/hardy/mysql-dfsg-5.0/hardy-updates

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2007-04-02 16:10:53 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20070402161053-zkil9hjq9k5p1uzv
Tags: 5.0.37-0ubuntu1
* New upstream bugfix release.
  - Fixes replication failure with auto-increment and on duplicate key
    update, a regression introduced into 5.0.24. (LP: #95821)
* debian/control: Set Ubuntu maintainer.
* debian/rules: Change comments from 'Debian etch' to 'Ubuntu 7.04'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
136
136
ERROR 22001: Data too long for column 'vb' at row 1
137
137
drop table t1;
138
138
set @@sql_mode= @old_sql_mode;
 
139
create table t1(f1 int, f2 binary(2) not null, f3 char(2) not null);
 
140
insert into t1 set f1=1;
 
141
Warnings:
 
142
Warning 1364    Field 'f2' doesn't have a default value
 
143
Warning 1364    Field 'f3' doesn't have a default value
 
144
select hex(f2), hex(f3) from t1;
 
145
hex(f2) hex(f3)
 
146
0000    
 
147
drop table t1;
139
148
End of 5.0 tests