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

« back to all changes in this revision

Viewing changes to tests/t/func_str.test

  • 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:
252
252
explain extended select hex(130);
253
253
explain extended select binary 'HE';
254
254
explain extended select collation(conv(130,16,10));
255
 
explain extended select coercibility(conv(130,16,10));
256
255
explain extended select length('\n\t\r\b\0\_\%\\');
257
256
explain extended select concat('monty',' was here ','again');
258
257
explain extended select length('hello');
295
294
#
296
295
 
297
296
create table t1 (c1 INT, c2 INT);
298
 
--error 1264
 
297
--error ER_WARN_DATA_OUT_OF_RANGE
299
298
insert into t1 values ('21474836461','21474836461');
300
 
--error 1264
 
299
--error ER_WARN_DATA_OUT_OF_RANGE
301
300
insert into t1 values ('-21474836461','-21474836461');
302
301
select * from t1;
303
302
drop table t1;
336
335
  PRIMARY KEY  (id)
337
336
) ENGINE=MyISAM;
338
337
 
339
 
--error 1264
 
338
--error ER_WARN_DATA_OUT_OF_RANGE
340
339
INSERT INTO t1 VALUES ('0','16307858876001849059');
341
340
 
342
341
SELECT CONV('e251273eb74a8ee3', 16, 10);