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
4fa14086
Commit
4fa14086
authored
Jan 21, 2003
by
hf@deer.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix removation
parent
7d20900c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
sql/mysqld.cc
sql/mysqld.cc
+2
-2
sql/sql_derived.cc
sql/sql_derived.cc
+1
-2
No files found.
sql/mysqld.cc
View file @
4fa14086
...
...
@@ -956,8 +956,8 @@ static void set_ports()
{
// Get port if not from commandline
struct
servent
*
serv_ptr
;
mysql_port
=
MYSQL_PORT
;
//
if ((serv_ptr = getservbyname("mysql", "tcp")))
//
mysql_port = ntohs((u_short) serv_ptr->s_port); /* purecov: inspected */
if
((
serv_ptr
=
getservbyname
(
"mysql"
,
"tcp"
)))
mysql_port
=
ntohs
((
u_short
)
serv_ptr
->
s_port
);
/* purecov: inspected */
if
((
env
=
getenv
(
"MYSQL_TCP_PORT"
)))
mysql_port
=
(
uint
)
atoi
(
env
);
/* purecov: inspected */
}
...
...
sql/sql_derived.cc
View file @
4fa14086
...
...
@@ -25,8 +25,7 @@
#include "sql_select.h"
#include "sql_acl.h"
//extern const char *any_db="*any*"; // Special symbol for check_access
extern
const
char
*
any_db
;
extern
const
char
*
any_db
=
"*any*"
;
// Special symbol for check_access
/*
Resolve derived tables in all queries
...
...
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