diff options
author | unknown <monty@hundin.mysql.fi> | 2001-08-29 17:33:41 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-08-29 17:33:41 +0300 |
commit | 1241395fce6c953f38b5940978593f3705e2666d (patch) | |
tree | 3d579fb9d02e1fa69457e4ec1706fb325190d90c /sql/ha_myisammrg.cc | |
parent | bfe2213babce74eac616dd3be0c8ac5bce16f032 (diff) | |
download | mariadb-git-1241395fce6c953f38b5940978593f3705e2666d.tar.gz |
Test that all MERGE tables comes from the same database
Docs/manual.texi:
Changelog and more documentation about ALTER TABLE
include/mysqld_error.h:
New error message
mysql-test/t/merge.test:
Test of error conditions
sql/gen_lex_hash.cc:
Smaller array
sql/ha_myisammrg.cc:
Cleanup
sql/share/czech/errmsg.txt:
New message
sql/share/danish/errmsg.txt:
New message
sql/share/dutch/errmsg.txt:
New message
sql/share/english/errmsg.txt:
New message
sql/share/estonian/errmsg.txt:
New message
sql/share/french/errmsg.txt:
New message
sql/share/german/errmsg.txt:
New message
sql/share/greek/errmsg.txt:
New message
sql/share/hungarian/errmsg.txt:
New message
sql/share/italian/errmsg.txt:
New message
sql/share/japanese/errmsg.txt:
New message
sql/share/korean/errmsg.txt:
New message
sql/share/norwegian-ny/errmsg.txt:
New message
sql/share/norwegian/errmsg.txt:
New message
sql/share/polish/errmsg.txt:
New message
sql/share/portuguese/errmsg.txt:
New message
sql/share/romanian/errmsg.txt:
New message
sql/share/russian/errmsg.txt:
New message
sql/share/slovak/errmsg.txt:
New message
sql/share/spanish/errmsg.txt:
New message
sql/share/swedish/errmsg.txt:
New message
Diffstat (limited to 'sql/ha_myisammrg.cc')
-rw-r--r-- | sql/ha_myisammrg.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sql/ha_myisammrg.cc b/sql/ha_myisammrg.cc index 866fd1e69f9..1feaa4e5d66 100644 --- a/sql/ha_myisammrg.cc +++ b/sql/ha_myisammrg.cc @@ -86,7 +86,6 @@ int ha_myisammrg::delete_row(const byte * buf) int ha_myisammrg::index_read(byte * buf, const byte * key, uint key_len, enum ha_rkey_function find_flag) { -// return (my_errno=HA_ERR_WRONG_COMMAND); statistic_increment(ha_read_key_count,&LOCK_status); int error=myrg_rkey(file,buf,active_index, key, key_len, find_flag); table->status=error ? STATUS_NOT_FOUND: 0; @@ -96,7 +95,6 @@ int ha_myisammrg::index_read(byte * buf, const byte * key, int ha_myisammrg::index_read_idx(byte * buf, uint index, const byte * key, uint key_len, enum ha_rkey_function find_flag) { -// return (my_errno=HA_ERR_WRONG_COMMAND); statistic_increment(ha_read_key_count,&LOCK_status); int error=myrg_rkey(file,buf,index, key, key_len, find_flag); table->status=error ? STATUS_NOT_FOUND: 0; @@ -105,7 +103,6 @@ int ha_myisammrg::index_read_idx(byte * buf, uint index, const byte * key, int ha_myisammrg::index_next(byte * buf) { -// return (my_errno=HA_ERR_WRONG_COMMAND); statistic_increment(ha_read_next_count,&LOCK_status); int error=myrg_rnext(file,buf,active_index); table->status=error ? STATUS_NOT_FOUND: 0; @@ -114,7 +111,6 @@ int ha_myisammrg::index_next(byte * buf) int ha_myisammrg::index_prev(byte * buf) { -// return (my_errno=HA_ERR_WRONG_COMMAND); statistic_increment(ha_read_prev_count,&LOCK_status); int error=myrg_rprev(file,buf, active_index); table->status=error ? STATUS_NOT_FOUND: 0; @@ -123,7 +119,6 @@ int ha_myisammrg::index_prev(byte * buf) int ha_myisammrg::index_first(byte * buf) { -// return (my_errno=HA_ERR_WRONG_COMMAND); statistic_increment(ha_read_first_count,&LOCK_status); int error=myrg_rfirst(file, buf, active_index); table->status=error ? STATUS_NOT_FOUND: 0; @@ -132,7 +127,6 @@ int ha_myisammrg::index_first(byte * buf) int ha_myisammrg::index_last(byte * buf) { -// return (my_errno=HA_ERR_WRONG_COMMAND); statistic_increment(ha_read_last_count,&LOCK_status); int error=myrg_rlast(file, buf, active_index); table->status=error ? STATUS_NOT_FOUND: 0; |