diff options
author | unknown <monty@narttu.mysql.fi> | 2003-03-25 02:37:41 +0200 |
---|---|---|
committer | unknown <monty@narttu.mysql.fi> | 2003-03-25 02:37:41 +0200 |
commit | 11841c05ec1b2db812e9827e9206551e42d9e87d (patch) | |
tree | 6b0e070b3d93ce9b3d3f7d622757752b48914aab /myisam/sp_test.c | |
parent | f33c97281a9861467553bbaaa28a0b205dfcd291 (diff) | |
download | mariadb-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 'myisam/sp_test.c')
-rw-r--r-- | myisam/sp_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/sp_test.c b/myisam/sp_test.c index 7ae41c2088c..7021cb4a8ee 100644 --- a/myisam/sp_test.c +++ b/myisam/sp_test.c @@ -272,7 +272,7 @@ int run_test(const char *filename) create_key(key, nrecords*upd); print_key(key," INTERSECT\n"); hrows=mi_records_in_range(file,0,key,0,HA_READ_MBR_INTERSECT,record+1,0,0); - printf(" %ld rows\n",hrows); + printf(" %ld rows\n", (long) hrows); if (mi_close(file)) goto err; |