~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/unireg.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:
160
160
void unireg_end(void) __attribute__((noreturn));
161
161
void unireg_abort(int exit_code) __attribute__((noreturn));
162
162
 
 
163
int mysql_frm_type(char *path, enum legacy_db_type *dbt);
 
164
 
163
165
bool mysql_create_frm(Session *session, const char *file_name,
164
166
                      const char *db, const char *table,
165
167
                      HA_CREATE_INFO *create_info,