summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Docs/manual.texi9
-rw-r--r--sql/sql_handler.cc6
2 files changed, 14 insertions, 1 deletions
diff --git a/Docs/manual.texi b/Docs/manual.texi
index 37bbaa5028b..f6c7c897fdc 100644
--- a/Docs/manual.texi
+++ b/Docs/manual.texi
@@ -9929,11 +9929,16 @@ appropriate class for this user in the password file if you are not
using the default (use: chpass mysqld-user-name). @xref{safe_mysqld, ,
@code{safe_mysqld}}.
+If you have a lot of memory you should consider rebuilding
+the kernel to allow MySQL to take more than 512M of RAM.
+Take a look at @code{option MAXDSIZ} in the LINT config
+file for more info.
+
If you get problems with the current date in MySQL, setting the
@code{TZ} variable will probably help. @xref{Environment variables}.
To get a secure and stable system you should only use FreeBSD kernels
-that are marked @code{-STABLE}.
+that are marked @code{-RELEASE}.
@node NetBSD, OpenBSD, FreeBSD, BSD Notes
@@ -47849,6 +47854,8 @@ Our TODO section contains what we plan to have in 4.0. @xref{TODO MySQL 4.0}.
@itemize @bullet
@item
+Fixed bug when @code{HANDLER} was used with some unsupported table type.
+@item
@code{mysqldump} now puts @code{ALTER TABLE table_name DISABLE KEYS} and
@code{ALTER TABLE table_name DISABLE KEYS} in the sql dump.
@item
diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc
index 24108330dc9..f7effdc67e6 100644
--- a/sql/sql_handler.cc
+++ b/sql/sql_handler.cc
@@ -76,6 +76,12 @@ int mysql_ha_close(THD *thd, TABLE_LIST *tables, bool dont_send_ok)
close_thread_table(thd, ptr);
VOID(pthread_mutex_unlock(&LOCK_open));
}
+ else
+ {
+ my_printf_error(ER_UNKNOWN_TABLE,ER(ER_UNKNOWN_TABLE),MYF(0),
+ tables->name,"HANDLER");
+ return -1;
+ }
if (!dont_send_ok)
send_ok(&thd->net);
return 0;