diff options
author | unknown <monty@narttu.mysql.fi> | 2003-09-29 12:39:38 +0300 |
---|---|---|
committer | unknown <monty@narttu.mysql.fi> | 2003-09-29 12:39:38 +0300 |
commit | 3b3b0d3a3d1fc9ec1e5637e94699cba7baf9a0ff (patch) | |
tree | b5378e8d7e36350576ed339ebddd0a216b56c0ad /sql/ha_myisam.cc | |
parent | 8094305c86f7785b18b453298f781bfff7c7550e (diff) | |
download | mariadb-git-3b3b0d3a3d1fc9ec1e5637e94699cba7baf9a0ff.tar.gz |
Don't print warnings about 'setrlimit' if --warnings is not given
Code review/cleanup of sub subselect_uniquesubquery_engine
sql/ha_myisam.cc:
Removed unnecessary casts
sql/item_subselect.cc:
Safety fix (reset engine)
Code review/cleanup of sub subselect_uniquesubquery_engine
Remove 'end_exec'. (Should be done on query end, not in the middle)
sql/item_subselect.h:
Removed end_exec();
sql/mysqld.cc:
Don't print warnings about 'setrlimit' if --warnings is not given
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; } |