~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/func_compress.test

  • Committer: Stewart Smith
  • Date: 2008-11-21 16:06:07 UTC
  • mto: This revision was merged to the branch mainline in revision 593.
  • Revision ID: stewart@flamingspork.com-20081121160607-n6gdlt013spuo54r
remove mysql_frm_type
and fix engines to return correct value from delete_table when table doesn't exist.
(it should be ENOENT).

Also fix up some tests that manipulated frm files by hand. These tests are no longer valid and will need to be rewritten in the not too distant future.

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
drop table t1;
84
84
 
85
85
--echo End of 5.0 tests
86
 
 
87
 
# parameter count
88
 
 
89
 
--error ER_WRONG_PARAMCOUNT_TO_FUNCTION
90
 
select compress();
91
 
--error ER_WRONG_PARAMCOUNT_TO_FUNCTION
92
 
select uncompress();
93
 
--error ER_WRONG_PARAMCOUNT_TO_FUNCTION
94
 
select uncompressed_length();
95
 
 
96
 
--error ER_WRONG_PARAMCOUNT_TO_FUNCTION
97
 
select compress('aeou', 'aoeu', 'aoeu');
98
 
--error ER_WRONG_PARAMCOUNT_TO_FUNCTION
99
 
select uncompress('aoenuthn', 'aoeu');
100
 
--error ER_WRONG_PARAMCOUNT_TO_FUNCTION
101
 
select uncompressed_length('aneohusa','naohuntah','onh');
 
 
b'\\ No newline at end of file'