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
de5feec0
Commit
de5feec0
authored
Jun 01, 2004
by
hf@deer.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1
into deer.(none):/home/hf/work/mysql-4.1.3412
parents
a5d8f243
38334f62
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
12 deletions
+7
-12
sql/ha_myisam.cc
sql/ha_myisam.cc
+1
-3
sql/mysqld.cc
sql/mysqld.cc
+1
-1
sql/slave.cc
sql/slave.cc
+1
-1
sql/sql_class.cc
sql/sql_class.cc
+1
-1
sql/sql_class.h
sql/sql_class.h
+2
-0
sql/sql_show.cc
sql/sql_show.cc
+1
-6
No files found.
sql/ha_myisam.cc
View file @
de5feec0
...
@@ -60,13 +60,11 @@ static void mi_check_print_msg(MI_CHECK *param, const char* msg_type,
...
@@ -60,13 +60,11 @@ static void mi_check_print_msg(MI_CHECK *param, const char* msg_type,
DBUG_PRINT
(
msg_type
,(
"message: %s"
,
msgbuf
));
DBUG_PRINT
(
msg_type
,(
"message: %s"
,
msgbuf
));
#ifndef EMBEDDED_LIBRARY
if
(
!
thd
->
vio_ok
())
if
(
thd
->
net
.
vio
==
0
)
{
{
sql_print_error
(
msgbuf
);
sql_print_error
(
msgbuf
);
return
;
return
;
}
}
#endif
if
(
param
->
testflag
&
(
T_CREATE_MISSING_KEYS
|
T_SAFE_REPAIR
|
if
(
param
->
testflag
&
(
T_CREATE_MISSING_KEYS
|
T_SAFE_REPAIR
|
T_AUTO_REPAIR
))
T_AUTO_REPAIR
))
...
...
sql/mysqld.cc
View file @
de5feec0
...
@@ -661,7 +661,7 @@ static void close_connections(void)
...
@@ -661,7 +661,7 @@ static void close_connections(void)
break
;
break
;
}
}
#ifndef __bsdi__ // Bug in BSDI kernel
#ifndef __bsdi__ // Bug in BSDI kernel
if
(
tmp
->
net
.
vio
)
if
(
tmp
->
vio_ok
()
)
{
{
sql_print_error
(
ER
(
ER_FORCING_CLOSE
),
my_progname
,
sql_print_error
(
ER
(
ER_FORCING_CLOSE
),
my_progname
,
tmp
->
thread_id
,
tmp
->
user
?
tmp
->
user
:
""
);
tmp
->
thread_id
,
tmp
->
user
?
tmp
->
user
:
""
);
...
...
sql/slave.cc
View file @
de5feec0
...
@@ -1386,7 +1386,7 @@ int fetch_master_table(THD *thd, const char *db_name, const char *table_name,
...
@@ -1386,7 +1386,7 @@ int fetch_master_table(THD *thd, const char *db_name, const char *table_name,
thd
->
net
.
no_send_ok
=
0
;
// Clear up garbage after create_table_from_dump
thd
->
net
.
no_send_ok
=
0
;
// Clear up garbage after create_table_from_dump
if
(
!
called_connected
)
if
(
!
called_connected
)
mysql_close
(
mysql
);
mysql_close
(
mysql
);
if
(
errmsg
&&
thd
->
net
.
vio
)
if
(
errmsg
&&
thd
->
vio_ok
()
)
send_error
(
thd
,
error
,
errmsg
);
send_error
(
thd
,
error
,
errmsg
);
DBUG_RETURN
(
test
(
error
));
// Return 1 on error
DBUG_RETURN
(
test
(
error
));
// Return 1 on error
}
}
...
...
sql/sql_class.cc
View file @
de5feec0
...
@@ -746,7 +746,7 @@ bool select_send::send_data(List<Item> &items)
...
@@ -746,7 +746,7 @@ bool select_send::send_data(List<Item> &items)
}
}
}
}
thd
->
sent_row_count
++
;
thd
->
sent_row_count
++
;
if
(
!
thd
->
net
.
vio
)
if
(
!
thd
->
vio_ok
()
)
DBUG_RETURN
(
0
);
DBUG_RETURN
(
0
);
if
(
!
thd
->
net
.
report_error
)
if
(
!
thd
->
net
.
report_error
)
DBUG_RETURN
(
protocol
->
write
());
DBUG_RETURN
(
protocol
->
write
());
...
...
sql/sql_class.h
View file @
de5feec0
...
@@ -932,8 +932,10 @@ public:
...
@@ -932,8 +932,10 @@ public:
net
.
last_errno
=
0
;
net
.
last_errno
=
0
;
net
.
report_error
=
0
;
net
.
report_error
=
0
;
}
}
inline
bool
vio_ok
()
const
{
return
net
.
vio
;
}
#else
#else
void
clear_error
();
void
clear_error
();
inline
bool
vio_ok
()
const
{
return
true
;
}
#endif
#endif
inline
void
fatal_error
()
inline
void
fatal_error
()
{
{
...
...
sql/sql_show.cc
View file @
de5feec0
...
@@ -1540,13 +1540,8 @@ void mysqld_list_processes(THD *thd,const char *user, bool verbose)
...
@@ -1540,13 +1540,8 @@ void mysqld_list_processes(THD *thd,const char *user, bool verbose)
while
((
tmp
=
it
++
))
while
((
tmp
=
it
++
))
{
{
struct
st_my_thread_var
*
mysys_var
;
struct
st_my_thread_var
*
mysys_var
;
#ifndef EMBEDDED_LIBRARY
if
((
tmp
->
vio_ok
()
||
tmp
->
system_thread
)
&&
if
((
tmp
->
net
.
vio
||
tmp
->
system_thread
)
&&
(
!
user
||
(
tmp
->
user
&&
!
strcmp
(
tmp
->
user
,
user
))))
#else
if
(
tmp
->
system_thread
&&
(
!
user
||
(
tmp
->
user
&&
!
strcmp
(
tmp
->
user
,
user
))))
(
!
user
||
(
tmp
->
user
&&
!
strcmp
(
tmp
->
user
,
user
))))
#endif
{
{
thread_info
*
thd_info
=
new
thread_info
;
thread_info
*
thd_info
=
new
thread_info
;
...
...
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