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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
9be83de6
Commit
9be83de6
authored
Oct 02, 2003
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor error messages cleanup
parent
fc5dedc6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
sql/sql_acl.cc
sql/sql_acl.cc
+5
-0
sql/sql_update.cc
sql/sql_update.cc
+1
-2
No files found.
sql/sql_acl.cc
View file @
9be83de6
...
@@ -3589,8 +3589,13 @@ int mysql_revoke_all(THD *thd, List <LEX_USER> &list)
...
@@ -3589,8 +3589,13 @@ int mysql_revoke_all(THD *thd, List <LEX_USER> &list)
VOID
(
pthread_mutex_unlock
(
&
acl_cache
->
lock
));
VOID
(
pthread_mutex_unlock
(
&
acl_cache
->
lock
));
rw_unlock
(
&
LOCK_grant
);
rw_unlock
(
&
LOCK_grant
);
close_thread_tables
(
thd
);
close_thread_tables
(
thd
);
#ifdef TO_BE_DELETED
/* XXX this should not be necessary. The error message is already printed */
/* when this code is deleted, the error slot (error 1268) can be reused,
as this error code was not present in any MySQL release */
if
(
result
)
if
(
result
)
my_error
(
ER_REVOKE_GRANTS
,
MYF
(
0
));
my_error
(
ER_REVOKE_GRANTS
,
MYF
(
0
));
#endif
DBUG_RETURN
(
result
);
DBUG_RETURN
(
result
);
}
}
...
...
sql/sql_update.cc
View file @
9be83de6
...
@@ -493,8 +493,7 @@ int multi_update::prepare(List<Item> ¬_used_values, SELECT_LEX_UNIT *unit)
...
@@ -493,8 +493,7 @@ int multi_update::prepare(List<Item> ¬_used_values, SELECT_LEX_UNIT *unit)
if
(
!
tables_to_update
)
if
(
!
tables_to_update
)
{
{
my_error
(
ER_NOT_SUPPORTED_YET
,
MYF
(
0
),
my_error
(
ER_NO_TABLES_USED
,
MYF
(
0
));
"You didn't specify any tables to UPDATE"
);
DBUG_RETURN
(
1
);
DBUG_RETURN
(
1
);
}
}
...
...
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