~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/handler.h

  • 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:
1165
1165
 
1166
1166
int ha_find_files(Session *session,const char *db,const char *path,
1167
1167
                  const char *wild, bool dir, List<LEX_STRING>* files);
1168
 
int ha_table_exists_in_engine(Session* session, const char* db, const char* name);
 
1168
int ha_table_exists_in_engine(Session* session, const char* db, const char* name, handlerton **hton= NULL);
1169
1169
 
1170
1170
/* key cache */
1171
1171
extern "C" int ha_init_key_cache(const char *name, KEY_CACHE *key_cache);