~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/show.h

  • Committer: Stewart Smith
  • Date: 2009-02-02 04:55:56 UTC
  • mto: (859.1.1 nofrm)
  • mto: This revision was merged to the branch mainline in revision 822.
  • Revision ID: stewart@flamingspork.com-20090202045556-mwmdwi60el6a371r
re-introduce db.opt, but with parsing it from disk instead of in process cache with mutex.

Write db.opt safely (temp file, rename).

LOCK_drizzle_create_db can likely easily go now.

schema.proto: remove charset as it is standard, we only care about collation.

We don't change the epic fail that is the lack of error checking in show.cc

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
 
60
60
int store_create_info(Session *session, TableList *table_list, String *packet,
61
61
                      HA_CREATE_INFO  *create_info_arg);
62
 
bool store_db_create_info(const char *dbname, String *buffer,
 
62
bool store_db_create_info(Session *session, const char *dbname, String *buffer,
63
63
                          HA_CREATE_INFO *create_info);
64
64
bool schema_table_store_record(Session *session, Table *table);
65
65