~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/hello_world.test

  • Committer: Stewart Smith
  • Date: 2009-06-16 03:02:59 UTC
  • mto: This revision was merged to the branch mainline in revision 1065.
  • Revision ID: stewart@flamingspork.com-20090616030259-tn2thqrajk6cappd
ER_NISAMCHK is unused, mark it as so. Thanks to Paul DuBois for researching this for MySQL.

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();