Commit b6f1a65d authored by unknown's avatar unknown

Fix typos that gcc allowed but other compilers choke on.


sql/ha_berkeley.h:
  - fix pack_key formal parameter name: key -> key_ptr
  
  - remove redundant (incorrect?) ha_berkeley:: from in front of
    position, create and delete_table members
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
parent 714ca2d0
bk@work.mysql.com
sasha@mysql.sashanet.com
sasha@work.mysql.com
tim@localhost.polyesthetic.msg
......@@ -51,7 +51,7 @@ class ha_berkeley: public handler
int pack_row(DBT *row,const byte *record);
void unpack_row(char *record, DBT *row);
DBT *pack_key(DBT *key, uint keynr, char *buff, const byte *record);
DBT *pack_key(DBT *key, uint keynr, char *buff, const byte *key,
DBT *pack_key(DBT *key, uint keynr, char *buff, const byte *key_ptr,
uint key_length);
int remove_key(DB_TXN *trans, uint keynr, const byte *record,
DBT *packed_record, DBT *prim_key);
......@@ -113,16 +113,16 @@ class ha_berkeley: public handler
int extra(enum ha_extra_function operation);
int reset(void);
int external_lock(THD *thd, int lock_type);
void ha_berkeley::position(byte *record);
void position(byte *record);
ha_rows records_in_range(int inx,
const byte *start_key,uint start_key_len,
enum ha_rkey_function start_search_flag,
const byte *end_key,uint end_key_len,
enum ha_rkey_function end_search_flag);
int ha_berkeley::create(const char *name, register TABLE *form,
int create(const char *name, register TABLE *form,
HA_CREATE_INFO *create_info);
int ha_berkeley::delete_table(const char *name);
int delete_table(const char *name);
THR_LOCK_DATA **store_lock(THD *thd, THR_LOCK_DATA **to,
enum thr_lock_type lock_type);
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment