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
e6b3a71c
Commit
e6b3a71c
authored
Jan 02, 2007
by
holyfoot/hf@hfmain.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/d2/hf/common/my50-common
into mysql.com:/d2/hf/common/my51-common
parents
b4c0867d
429b82be
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
libmysqld/lib_sql.cc
libmysqld/lib_sql.cc
+4
-0
mysql-test/t/mysqladmin.test
mysql-test/t/mysqladmin.test
+2
-0
sql/sql_prepare.cc
sql/sql_prepare.cc
+0
-2
No files found.
libmysqld/lib_sql.cc
View file @
e6b3a71c
...
...
@@ -306,7 +306,11 @@ int emb_read_binary_rows(MYSQL_STMT *stmt)
{
MYSQL_DATA
*
data
;
if
(
!
(
data
=
emb_read_rows
(
stmt
->
mysql
,
0
,
0
)))
{
set_stmt_errmsg
(
stmt
,
stmt
->
mysql
->
net
.
last_error
,
stmt
->
mysql
->
net
.
last_errno
,
stmt
->
mysql
->
net
.
sqlstate
);
return
1
;
}
stmt
->
result
=
*
data
;
my_free
((
char
*
)
data
,
MYF
(
0
));
set_stmt_errmsg
(
stmt
,
stmt
->
mysql
->
net
.
last_error
,
...
...
mysql-test/t/mysqladmin.test
View file @
e6b3a71c
# Embedded server doesn't support external clients
--
source
include
/
not_embedded
.
inc
#
# Test "mysqladmin ping"
#
...
...
sql/sql_prepare.cc
View file @
e6b3a71c
...
...
@@ -1253,7 +1253,6 @@ static int mysql_test_select(Prepared_statement *stmt,
lex
->
select_lex
.
context
.
resolve_in_select_list
=
TRUE
;
#ifndef NO_EMBEDDED_ACCESS_CHECKS
ulong
privilege
=
lex
->
exchange
?
SELECT_ACL
|
FILE_ACL
:
SELECT_ACL
;
if
(
tables
)
{
...
...
@@ -1262,7 +1261,6 @@ static int mysql_test_select(Prepared_statement *stmt,
}
else
if
(
check_access
(
thd
,
privilege
,
any_db
,
0
,
0
,
0
,
0
))
goto
error
;
#endif
if
(
!
lex
->
result
&&
!
(
lex
->
result
=
new
(
stmt
->
mem_root
)
select_send
))
{
...
...
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