~ubuntu-branches/ubuntu/saucy/drizzle/saucy-proposed

« back to all changes in this revision

Viewing changes to plugin/hello_world/tests/t/hello_world.test

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-03-18 12:12:31 UTC
  • Revision ID: james.westby@ubuntu.com-20100318121231-k6g1xe6cshbwa0f8
Tags: upstream-2010.03.1347
ImportĀ upstreamĀ versionĀ 2010.03.1347

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# testing hello_world plugin
 
2
 
 
3
--ERROR 1054 
 
4
# incorrect select statement 
 
5
SELECT hello_word;
 
6
 
 
7
# use number as an argument
 
8
SELECT hello_world(12345);
 
9
 
 
10
# use empty string as an argument
 
11
SELECT hello_world("");
 
12
 
 
13
# use invalid string as an argument
 
14
--ERROR 1054
 
15
SELECT hello_world(string);
 
16
 
 
17
# use string as an argument
 
18
SELECT hello_world("string");
 
19
 
 
20
# no argument
 
21
SELECT hello_world();