~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/rename.result

  • Committer: Stewart Smith
  • Date: 2008-12-18 23:54:47 UTC
  • mto: This revision was merged to the branch mainline in revision 719.
  • Revision ID: stewart@flamingspork.com-20081218235447-qf6dofgd6guwefo2
fix RENAME TABLE

(problem was missing hton to mysql_rename_table)

If engine implements table_exists_in_engine we get the hton from there.

Else, we reintroduce the mysql_frm_type hackery (temporarily, it *will* go away again with FRM removal).

also fix rename test: no views, plus current FLUSH LOCKS bug.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
rename table t3 to t1, t2 to t3, t1 to t2, t4 to t1;
28
28
Got one of the listed errors
29
29
rename table t3 to t4, t5 to t3, t1 to t2, t4 to t1;
30
 
ERROR 42S02: Unknown table 'test.t5'
 
30
ERROR 42S02: Table 'test.t5' doesn't exist
31
31
select * from t1;
32
32
1       table 1
33
33
1       table 1