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
2846a16c
Commit
2846a16c
authored
Nov 17, 2003
by
monty@mashka.mysql.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge with 3.23 (only comment changes)
parents
a651262a
2e04da08
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
5 deletions
+12
-5
BUILD/compile-pentium-gcov
BUILD/compile-pentium-gcov
+1
-1
mysys/thr_alarm.c
mysys/thr_alarm.c
+2
-0
sql/mini_client.cc
sql/mini_client.cc
+9
-4
No files found.
BUILD/compile-pentium-gcov
View file @
2846a16c
...
...
@@ -3,7 +3,7 @@
path
=
`
dirname
$0
`
.
"
$path
/SETUP.sh"
extra_flags
=
"
$pentium_cflags
-fprofile-arcs -ftest-coverage -fmessage-length=0
"
extra_flags
=
"
$pentium_cflags
-O2 -fprofile-arcs -ftest-coverage -fmessage-length=0
"
extra_configs
=
"
$pentium_configs
$debug_configs
--disable-shared
$static_link
"
extra_configs
=
"
$extra_configs
--with-innodb --with-berkeley-db"
...
...
mysys/thr_alarm.c
View file @
2846a16c
...
...
@@ -770,7 +770,9 @@ bool thr_got_alarm(thr_alarm_t *alrm_ptr)
void
thr_end_alarm
(
thr_alarm_t
*
alrm_ptr
)
{
thr_alarm_t
alrm
=
*
alrm_ptr
;
/* alrm may be zero if thr_alarm aborted with an error */
if
(
alrm
&&
alrm
->
crono
)
{
KillTimer
(
NULL
,
alrm
->
crono
);
alrm
->
crono
=
0
;
...
...
sql/mini_client.cc
View file @
2846a16c
...
...
@@ -18,8 +18,8 @@
mini MySQL client to be included into the server to do server to server
commincation by Sasha Pachev
Note: all file-global symbols must begin with mc_ , even the static ones, just
in case we decide to make them external at some point
Note: all file-global symbols must begin with mc_ , even the static ones,
just
in case we decide to make them external at some point
*/
#include <my_global.h>
...
...
@@ -655,6 +655,11 @@ mc_mysql_connect(MYSQL *mysql,const char *host, const char *user,
sprintf
(
host_info
=
buff
,
ER
(
CR_TCP_CONNECTION
),
host
);
DBUG_PRINT
(
"info"
,(
"Server name: '%s'. TCP sock: %d"
,
host
,
port
));
thr_alarm_init
(
&
alarmed
);
/*
We don't have to check status for thr_alarm as it's not fatal if
we didn't manage to set an alarm. (In this case the socket call
will just block for a while).
*/
thr_alarm
(
&
alarmed
,
net_read_timeout
,
&
alarm_buff
);
sock
=
(
my_socket
)
socket
(
AF_INET
,
SOCK_STREAM
,
0
);
thr_end_alarm
(
&
alarmed
);
...
...
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