~ubuntu-branches/ubuntu/lucid/mysql-dfsg-5.1/lucid-security

« back to all changes in this revision

Viewing changes to mysql-test/t/udf.test

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 22:33:55 UTC
  • mto: (1.2.1) (37.1.1 lucid-security)
  • mto: This revision was merged to the branch mainline in revision 36.
  • Revision ID: package-import@ubuntu.com-20120222223355-ku1tb4r70osci6v2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
--error ER_CANT_INITIALIZE_UDF
52
52
select reverse_lookup();
53
53
 
54
 
# These two functions should return "localhost", but it's
 
54
# These two function calls should return "localhost", but it's
55
55
# depending on configuration, so just call them and don't log the result
56
56
--disable_result_log
57
57
select reverse_lookup("127.0.0.1");
58
58
select reverse_lookup(127,0,0,1);
 
59
 
 
60
# This function call may return different results depending on platform,
 
61
# so ignore results (see Bug#52060).
 
62
select reverse_lookup("localhost");
59
63
--enable_result_log
60
64
 
61
 
select reverse_lookup("localhost");
62
65
--error ER_CANT_INITIALIZE_UDF
63
66
select avgcost();
64
67
--error ER_CANT_INITIALIZE_UDF