summaryrefslogtreecommitdiff
path: root/include/my_sys.h
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-03-25 02:37:41 +0200
committerunknown <monty@narttu.mysql.fi>2003-03-25 02:37:41 +0200
commit11841c05ec1b2db812e9827e9206551e42d9e87d (patch)
tree6b0e070b3d93ce9b3d3f7d622757752b48914aab /include/my_sys.h
parentf33c97281a9861467553bbaaa28a0b205dfcd291 (diff)
downloadmariadb-git-11841c05ec1b2db812e9827e9206551e42d9e87d.tar.gz
Fixed bug in allocation memory in key cache. (Memory was not properly aligned which cased core dumps on sparc CPU's)
Changed keycache variables to start with my_ instead of _my_ include/my_sys.h: Changed keycache variables to start with my_ instead of _my_ myisam/mi_test2.c: Changed keycache variables to start with my_ instead of _my_ Removed compiler warnings myisam/sp_test.c: Removed compiler warning mysys/mf_keycache.c: Fixed bug in allocation memory (Memory was not properly aligned which cased core dumps on sparc CPU's) Changed keycache variables to start with my_ instead of _my_ Fixed indentation and comment syntax. Removed end space. sql/mysqld.cc: Changed keycache variables to start with my_ instead of _my_ sql/sql_test.cc: Changed keycache variables to start with my_ instead of _my_
Diffstat (limited to 'include/my_sys.h')
-rw-r--r--include/my_sys.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/my_sys.h b/include/my_sys.h
index 03a0ae70d6a..b3be3588b2f 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -219,9 +219,9 @@ extern my_bool my_charset_same(CHARSET_INFO *cs1, CHARSET_INFO *cs2);
/* statistics */
-extern ulong _my_cache_w_requests,_my_cache_write,_my_cache_r_requests,
- _my_cache_read;
-extern ulong _my_blocks_used,_my_blocks_changed;
+extern ulong my_cache_w_requests, my_cache_write, my_cache_r_requests,
+ my_cache_read;
+extern ulong my_blocks_used, my_blocks_changed;
extern uint key_cache_block_size;
extern ulong my_file_opened,my_stream_opened, my_tmp_file_created;
extern my_bool key_cache_inited, my_init_done;