~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to tests/include/varchar.inc

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-10-02 14:17:48 UTC
  • mfrom: (1.1.1 upstream)
  • mto: (2.1.17 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20101002141748-m6vbfbfjhrw1153e
Tags: 2010.09.1802-1
* New upstream release.
* Removed pid-file argument hack.
* Updated GPL-2 address to be new address.
* Directly copy in drizzledump.1 since debian doesn't have sphinx 1.0 yet.
* Link to jquery from libjs-jquery. Add it as a depend.
* Add drizzled.8 symlink to the install files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
eval create $temp table t1 (v varchar(10), c char(10), t text);
15
15
insert into t1 values('+ ', '+ ', '+ ');
16
16
set @a=repeat(' ',20);
 
17
--error 1406
 
18
insert into t1 values (concat('+',@a),concat('+',@a),concat('+',@a));
 
19
set @a=repeat(' ',10);
 
20
--error 1406
 
21
insert into t1 values (concat('+',@a),concat('+',@a),concat('+',@a));
 
22
set @a=repeat(' ',9);
17
23
insert into t1 values (concat('+',@a),concat('+',@a),concat('+',@a));
18
24
select concat('*',v,'*',c,'*',t,'*') from t1;
19
25
 
189
195
insert into t1 values ('a '),('a  '),('a   '),('a         ');
190
196
--error ER_DUP_ENTRY
191
197
insert into t1 values ('a     ');
192
 
--error ER_DUP_ENTRY
 
198
--error 1406
193
199
insert into t1 values ('a          ');
194
200
--error ER_DUP_ENTRY
195
201
insert into t1 values ('a ');