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
3dba2e8c
Commit
3dba2e8c
authored
Feb 11, 2004
by
gluh@gluh.mysql.r18.ru
Browse files
Options
Browse Files
Download
Plain Diff
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-3.23
into gluh.mysql.r18.ru:/home/gluh/Bugs/mysql-3.23.bug
parents
2093624a
d5fa169f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
libmysql/libmysql.c
libmysql/libmysql.c
+2
-4
No files found.
BitKeeper/etc/logging_ok
View file @
3dba2e8c
...
@@ -5,6 +5,7 @@ bar@bar.mysql.r18.ru
...
@@ -5,6 +5,7 @@ bar@bar.mysql.r18.ru
bar@bar.udmsearch.izhnet.ru
bar@bar.udmsearch.izhnet.ru
bell@sanja.is.com.ua
bell@sanja.is.com.ua
bk@admin.bk
bk@admin.bk
gluh@gluh.mysql.r18.ru
greg@gcw.ath.cx
greg@gcw.ath.cx
greg@mysql.com
greg@mysql.com
guilhem@mysql.com
guilhem@mysql.com
...
...
libmysql/libmysql.c
View file @
3dba2e8c
...
@@ -438,12 +438,8 @@ simple_command(MYSQL *mysql,enum enum_server_command command, const char *arg,
...
@@ -438,12 +438,8 @@ simple_command(MYSQL *mysql,enum enum_server_command command, const char *arg,
if
(
mysql
->
net
.
vio
==
0
)
if
(
mysql
->
net
.
vio
==
0
)
{
/* Do reconnect if possible */
{
/* Do reconnect if possible */
if
(
mysql_reconnect
(
mysql
))
if
(
mysql_reconnect
(
mysql
))
{
net
->
last_errno
=
CR_SERVER_GONE_ERROR
;
strmov
(
net
->
last_error
,
ER
(
net
->
last_errno
));
goto
end
;
goto
end
;
}
}
}
if
(
mysql
->
status
!=
MYSQL_STATUS_READY
)
if
(
mysql
->
status
!=
MYSQL_STATUS_READY
)
{
{
strmov
(
net
->
last_error
,
ER
(
mysql
->
net
.
last_errno
=
CR_COMMANDS_OUT_OF_SYNC
));
strmov
(
net
->
last_error
,
ER
(
mysql
->
net
.
last_errno
=
CR_COMMANDS_OUT_OF_SYNC
));
...
@@ -1610,6 +1606,8 @@ static my_bool mysql_reconnect(MYSQL *mysql)
...
@@ -1610,6 +1606,8 @@ static my_bool mysql_reconnect(MYSQL *mysql)
{
{
/* Allov reconnect next time */
/* Allov reconnect next time */
mysql
->
server_status
&=
~
SERVER_STATUS_IN_TRANS
;
mysql
->
server_status
&=
~
SERVER_STATUS_IN_TRANS
;
mysql
->
net
.
last_errno
=
CR_SERVER_GONE_ERROR
;
strmov
(
mysql
->
net
.
last_error
,
ER
(
mysql
->
net
.
last_errno
));
DBUG_RETURN
(
1
);
DBUG_RETURN
(
1
);
}
}
mysql_init
(
&
tmp_mysql
);
mysql_init
(
&
tmp_mysql
);
...
...
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