diff options
| author | monty@hundin.mysql.fi <> | 2001-12-05 13:03:00 +0200 |
|---|---|---|
| committer | monty@hundin.mysql.fi <> | 2001-12-05 13:03:00 +0200 |
| commit | 1de4fff5ba80982cbed3a524488528c83ed8f945 (patch) | |
| tree | 739c2cfffa69408c6460ba4c419a59d5b594cbb1 /include | |
| parent | 1d26537da53fee228b2f9d974d4806a06b76e33e (diff) | |
| download | mariadb-git-1de4fff5ba80982cbed3a524488528c83ed8f945.tar.gz | |
Update of query cache code.
Changed some sql_alloc() -> thd->alloc()
Removed a lot of compiler warnings on Linux Alpha (64 bit)
Fixed some core dumps on 64 bit systems (wrong type for packet_len)
Diffstat (limited to 'include')
| -rw-r--r-- | include/hash.h | 1 | ||||
| -rw-r--r-- | include/myisam.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/hash.h b/include/hash.h index c98b0851645..b6ca7e354b9 100644 --- a/include/hash.h +++ b/include/hash.h @@ -54,6 +54,7 @@ gptr hash_next(HASH *info,const byte *key,uint length); my_bool hash_insert(HASH *info,const byte *data); my_bool hash_delete(HASH *hash,byte *record); my_bool hash_update(HASH *hash,byte *record,byte *old_key,uint old_key_length); +void hash_replace(HASH *hash, uint idx, byte *new_row); my_bool hash_check(HASH *hash); /* Only in debug library */ #define hash_clear(H) bzero((char*) (H),sizeof(*(H))) diff --git a/include/myisam.h b/include/myisam.h index 352b87c82c2..99e21304108 100644 --- a/include/myisam.h +++ b/include/myisam.h @@ -192,7 +192,7 @@ typedef struct st_columndef /* column information */ } MI_COLUMNDEF; /* invalidator function reference for Query Cache */ -typedef void (* invalidator_by_filename) (char * filename); +typedef void (* invalidator_by_filename)(const char * filename); extern my_string myisam_log_filename; /* Name of logfile */ extern uint myisam_block_size; |
