diff options
author | monty@narttu.mysql.fi <> | 2003-09-29 12:39:38 +0300 |
---|---|---|
committer | monty@narttu.mysql.fi <> | 2003-09-29 12:39:38 +0300 |
commit | 6905d7963edc07f0c69b38b2ae14d3e014f7f322 (patch) | |
tree | b5378e8d7e36350576ed339ebddd0a216b56c0ad /sql/ha_myisam.cc | |
parent | d62eaa7815a40e4677108970a647471d62524cac (diff) | |
download | mariadb-git-6905d7963edc07f0c69b38b2ae14d3e014f7f322.tar.gz |
Don't print warnings about 'setrlimit' if --warnings is not given
Code review/cleanup of sub subselect_uniquesubquery_engine
Diffstat (limited to 'sql/ha_myisam.cc')
-rw-r--r-- | sql/ha_myisam.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/ha_myisam.cc b/sql/ha_myisam.cc index cec1aefa2d5..864ee55a85f 100644 --- a/sql/ha_myisam.cc +++ b/sql/ha_myisam.cc @@ -898,7 +898,7 @@ int ha_myisam::index_read(byte * buf, const byte * key, uint key_len, enum ha_rkey_function find_flag) { statistic_increment(ha_read_key_count,&LOCK_status); - int error=mi_rkey(file,buf,active_index, key, key_len, (enum ha_rkey_function)find_flag); + int error=mi_rkey(file,buf,active_index, key, key_len, find_flag); table->status=error ? STATUS_NOT_FOUND: 0; return error; } @@ -907,7 +907,7 @@ int ha_myisam::index_read_idx(byte * buf, uint index, const byte * key, uint key_len, enum ha_rkey_function find_flag) { statistic_increment(ha_read_key_count,&LOCK_status); - int error=mi_rkey(file,buf,index, key, key_len, (enum ha_rkey_function)find_flag); + int error=mi_rkey(file,buf,index, key, key_len, find_flag); table->status=error ? STATUS_NOT_FOUND: 0; return error; } |