Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
a72bc007
Commit
a72bc007
authored
Dec 22, 2001
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HANDLER CLOSE unknown table should produce an error
parent
f13741c8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
Docs/manual.texi
Docs/manual.texi
+8
-1
sql/sql_handler.cc
sql/sql_handler.cc
+6
-0
No files found.
Docs/manual.texi
View file @
a72bc007
...
@@ -9929,11 +9929,16 @@ appropriate class for this user in the password file if you are not
...
@@ -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, ,
using the default (use: chpass mysqld-user-name). @xref{safe_mysqld, ,
@code{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
If you get problems with the current date in MySQL, setting the
@code{TZ} variable will probably help. @xref{Environment variables}.
@code{TZ} variable will probably help. @xref{Environment variables}.
To get a secure and stable system you should only use FreeBSD kernels
To get a secure and stable system you should only use FreeBSD kernels
that are marked @code{-
STABL
E}.
that are marked @code{-
RELEAS
E}.
@node NetBSD, OpenBSD, FreeBSD, BSD Notes
@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}.
...
@@ -47849,6 +47854,8 @@ Our TODO section contains what we plan to have in 4.0. @xref{TODO MySQL 4.0}.
@itemize @bullet
@itemize @bullet
@item
@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{mysqldump} now puts @code{ALTER TABLE table_name DISABLE KEYS} and
@code{ALTER TABLE table_name DISABLE KEYS} in the sql dump.
@code{ALTER TABLE table_name DISABLE KEYS} in the sql dump.
@item
@item
sql/sql_handler.cc
View file @
a72bc007
...
@@ -76,6 +76,12 @@ int mysql_ha_close(THD *thd, TABLE_LIST *tables, bool dont_send_ok)
...
@@ -76,6 +76,12 @@ int mysql_ha_close(THD *thd, TABLE_LIST *tables, bool dont_send_ok)
close_thread_table
(
thd
,
ptr
);
close_thread_table
(
thd
,
ptr
);
VOID
(
pthread_mutex_unlock
(
&
LOCK_open
));
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
)
if
(
!
dont_send_ok
)
send_ok
(
&
thd
->
net
);
send_ok
(
&
thd
->
net
);
return
0
;
return
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment