~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_table.h

  • Committer: Stewart Smith
  • Date: 2008-11-15 17:33:00 UTC
  • mto: This revision was merged to the branch mainline in revision 593.
  • Revision ID: stewart@flamingspork.com-20081115173300-ged6lav03y022fpz
begin moving from global const char* primary_key_name to methods is_primary_key() and is_primary_key_name()

in future: primary_key_nr in table def and IS_PRIMARY flag in KEY
(should make writing table definition easier)

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
void write_bin_log(Session *session, bool clear_error,
62
62
                   char const *query, ulong query_length);
63
63
 
 
64
bool is_primary_key(KEY *key_info);
 
65
const char* is_primary_key_name(const char* key_name);
 
66
 
64
67
#endif /* DRIZZLE_SERVER_SQL_TABLE_H */