~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/func_system.result

  • Committer: Brian Aker
  • Date: 2008-12-16 17:15:24 UTC
  • Revision ID: brian@gir.tangent.org-20081216171524-pej54rx82rt0krxb
Make the test portable. 

Trick folks... IP address... for localhost... not portable. Welcome to IPV4
mixed with IPV6.

Someone should come up with a drink for that...

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
insert into t1 values('row 1');
41
41
insert into t1 values('row 2');
42
42
insert into t1 values('row 3');
43
 
select concat(user(), '--', c1) from t1;
44
 
concat(user(), '--', c1)
45
 
root@127.0.0.1--row 1
46
 
root@127.0.0.1--row 2
47
 
root@127.0.0.1--row 3
 
43
select concat(SUBSTRING(user(), 0, 4), '--', c1) from t1;
 
44
concat(SUBSTRING(user(), 0, 4), '--', c1)
 
45
--row 1
 
46
--row 2
 
47
--row 3
48
48
select concat(database(), '--', c1) from t1;
49
49
concat(database(), '--', c1)
50
50
test--row 1