diff options
author | unknown <monty@donna.mysql.com> | 2000-10-22 01:19:05 +0300 |
---|---|---|
committer | unknown <monty@donna.mysql.com> | 2000-10-22 01:19:05 +0300 |
commit | da12c768d31b33cc9ab69f5efc1e7f754c1dfade (patch) | |
tree | 50bd20246c62aa9e57f6afc0a26f08cb1f3d0396 /myisam | |
parent | 94c93b9ec7f68ba50219818caec23e61f85b800d (diff) | |
download | mariadb-git-da12c768d31b33cc9ab69f5efc1e7f754c1dfade.tar.gz |
Give an error if you use a BLOB(X) where X > 255
Fixes for MIT pthreads
Docs/manual.texi:
Update for MIT pthreads and sockets
configure.in:
Fixed MIT pthreads to use sockets
myisam/mi_check.c:
Portability fix
myisam/sort.c:
Portability fix
sql/handler.h:
Give an error if you use a BLOB(X) where X > 255
sql/mysqld.cc:
Fixed MIT pthreads to use sockets
sql/sql_table.cc:
Give an error if you use a BLOB(X) where X > 255
sql/table.cc:
Fixed problem with BDB tables without keys
Diffstat (limited to 'myisam')
-rw-r--r-- | myisam/mi_check.c | 4 | ||||
-rw-r--r-- | myisam/sort.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/myisam/mi_check.c b/myisam/mi_check.c index e55065b795e..351c2d469da 100644 --- a/myisam/mi_check.c +++ b/myisam/mi_check.c @@ -192,7 +192,7 @@ int chk_del(MI_CHECK *param, register MI_INFO *info, uint test_flag) } DBUG_RETURN(0); wrong: - param->retry_without_quick=1; // Don't use quick repair + param->retry_without_quick=1; /* Don't use quick repair */ if (test_flag & T_VERBOSE) puts(""); mi_check_print_error(param,"record delete-link-chain corrupted"); DBUG_RETURN(1); @@ -292,7 +292,7 @@ int chk_size(MI_CHECK *param, register MI_INFO *info) error=1; mi_check_print_error(param,"Size of datafile is: %-8s Should be: %s", llstr(size,buff), llstr(skr,buff2)); - param->retry_without_quick=1; // Don't use quick repair + param->retry_without_quick=1; /* Don't use quick repair */ } else { diff --git a/myisam/sort.c b/myisam/sort.c index a2a28ec9109..e6c7d61e39a 100644 --- a/myisam/sort.c +++ b/myisam/sort.c @@ -291,9 +291,9 @@ static int NEAR_F merge_many_buff(MI_SORT_PARAM *info, uint keys, temp=from_file; from_file=to_file; to_file=temp; *maxbuffer= (int) (lastbuff-buffpek)-1; } - close_cached_file(to_file); // This holds old result + close_cached_file(to_file); /* This holds old result */ if (to_file == t_file) - *t_file=t_file2; // Copy result file + *t_file=t_file2; /* Copy result file */ DBUG_RETURN(*maxbuffer >= MERGEBUFF2); /* Return 1 if interrupted */ } /* merge_many_buff */ |