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
b923c068
Commit
b923c068
authored
Jan 27, 2004
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1
into teton.kitebird.com:/home/paul/mysql-4.1
parents
357b2ceb
2746e7de
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
libmysqld/Makefile.am
libmysqld/Makefile.am
+0
-1
libmysqld/lib_sql.cc
libmysqld/lib_sql.cc
+5
-4
sql/sql_class.cc
sql/sql_class.cc
+0
-2
sql/sql_yacc.yy
sql/sql_yacc.yy
+2
-0
No files found.
libmysqld/Makefile.am
View file @
b923c068
...
...
@@ -74,7 +74,6 @@ INC_LIB= $(top_builddir)/regex/libregex.a \
$(top_builddir)
/mysys/libmysys.a
\
$(top_builddir)
/strings/libmystrings.a
\
$(top_builddir)
/dbug/libdbug.a
\
$(top_builddir)
/regex/libregex.a
\
$(top_builddir)
/vio/libvio.a
#
...
...
libmysqld/lib_sql.cc
View file @
b923c068
...
...
@@ -96,6 +96,7 @@ emb_advanced_command(MYSQL *mysql, enum enum_server_command command,
net
->
last_error
[
0
]
=
0
;
strmov
(
net
->
sqlstate
,
not_error_sqlstate
);
}
mysql
->
server_status
=
thd
->
server_status
;
mysql
->
warning_count
=
((
THD
*
)
mysql
->
thd
)
->
total_warn_count
;
return
result
;
}
...
...
@@ -484,7 +485,7 @@ int check_embedded_connection(MYSQL *mysql)
THD
*
thd
=
(
THD
*
)
mysql
->
thd
;
thd
->
host
=
(
char
*
)
my_localhost
;
thd
->
host_or_ip
=
thd
->
host
;
thd
->
user
=
my
sql
->
user
;
thd
->
user
=
my
_strdup
(
mysql
->
user
,
MYF
(
0
))
;
return
0
;
}
...
...
@@ -498,8 +499,8 @@ int check_embedded_connection(MYSQL *mysql)
if
(
mysql
->
options
.
client_ip
)
{
thd
->
host
=
my
sql
->
options
.
client_ip
;
thd
->
ip
=
thd
->
host
;
thd
->
host
=
my
_strdup
(
mysql
->
options
.
client_ip
,
MYF
(
0
))
;
thd
->
ip
=
my_strdup
(
thd
->
host
,
MYF
(
0
))
;
}
else
thd
->
host
=
(
char
*
)
my_localhost
;
...
...
@@ -511,7 +512,7 @@ int check_embedded_connection(MYSQL *mysql)
goto
err
;
}
thd
->
user
=
my
sql
->
user
;
thd
->
user
=
my
_strdup
(
mysql
->
user
,
MYF
(
0
))
;
if
(
mysql
->
passwd
&&
mysql
->
passwd
[
0
])
{
memset
(
thd
->
scramble
,
55
,
SCRAMBLE_LENGTH
);
// dummy scramble
...
...
sql/sql_class.cc
View file @
b923c068
...
...
@@ -323,13 +323,11 @@ THD::~THD()
#endif
DBUG_PRINT
(
"info"
,
(
"freeing host"
));
#ifndef EMBEDDED_LIBRARY
if
(
host
!=
my_localhost
)
// If not pointer to constant
safeFree
(
host
);
if
(
user
!=
delayed_user
)
safeFree
(
user
);
safeFree
(
ip
);
#endif
safeFree
(
db
);
free_root
(
&
warn_root
,
MYF
(
0
));
free_root
(
&
transaction
.
mem_root
,
MYF
(
0
));
...
...
sql/sql_yacc.yy
View file @
b923c068
...
...
@@ -1833,6 +1833,7 @@ slave:
lex->type = 0;
/* We'll use mi structure for UNTIL options */
bzero((char*) &lex->mi, sizeof(lex->mi));
/* If you change this code don't forget to update SLAVE START too */
}
slave_until
{}
...
...
@@ -1841,6 +1842,7 @@ slave:
LEX *lex=Lex;
lex->sql_command = SQLCOM_SLAVE_STOP;
lex->type = 0;
/* If you change this code don't forget to update SLAVE STOP too */
}
| SLAVE START_SYM slave_thread_opts
{
...
...
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