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
bc2d5ad3
Commit
bc2d5ad3
authored
Jan 06, 2002
by
monty@bitch.mysql.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0
parents
1731a3c1
47408baa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sql/net_serv.cc
sql/net_serv.cc
+3
-3
No files found.
sql/net_serv.cc
View file @
bc2d5ad3
...
@@ -54,6 +54,8 @@
...
@@ -54,6 +54,8 @@
ulong
max_allowed_packet
=
65536
;
ulong
max_allowed_packet
=
65536
;
extern
ulong
net_read_timeout
,
net_write_timeout
;
extern
ulong
net_read_timeout
,
net_write_timeout
;
extern
uint
test_flags
;
extern
uint
test_flags
;
#define USE_QUERY_CACHE
extern
void
query_cache_insert
(
NET
*
net
,
const
char
*
packet
,
ulong
length
);
#else
#else
ulong
max_allowed_packet
=
16
*
1024
*
1024L
;
ulong
max_allowed_packet
=
16
*
1024
*
1024L
;
ulong
net_read_timeout
=
NET_READ_TIMEOUT
;
ulong
net_read_timeout
=
NET_READ_TIMEOUT
;
...
@@ -72,8 +74,6 @@ void sql_print_error(const char *format,...);
...
@@ -72,8 +74,6 @@ void sql_print_error(const char *format,...);
extern
ulong
mysqld_net_retry_count
;
extern
ulong
mysqld_net_retry_count
;
extern
ulong
bytes_sent
,
bytes_received
;
extern
ulong
bytes_sent
,
bytes_received
;
extern
pthread_mutex_t
LOCK_bytes_sent
,
LOCK_bytes_received
;
extern
pthread_mutex_t
LOCK_bytes_sent
,
LOCK_bytes_received
;
extern
void
query_cache_insert
(
NET
*
net
,
const
char
*
packet
,
ulong
length
);
#else
#else
#undef statistic_add
#undef statistic_add
#define statistic_add(A,B,C)
#define statistic_add(A,B,C)
...
@@ -329,7 +329,7 @@ net_real_write(NET *net,const char *packet,ulong len)
...
@@ -329,7 +329,7 @@ net_real_write(NET *net,const char *packet,ulong len)
my_bool
net_blocking
=
vio_is_blocking
(
net
->
vio
);
my_bool
net_blocking
=
vio_is_blocking
(
net
->
vio
);
DBUG_ENTER
(
"net_real_write"
);
DBUG_ENTER
(
"net_real_write"
);
#ifdef
MYSQL_SERVER
#ifdef
USE_QUERY_CACHE
if
(
net
->
query_cache_query
!=
0
)
if
(
net
->
query_cache_query
!=
0
)
query_cache_insert
(
net
,
packet
,
len
);
query_cache_insert
(
net
,
packet
,
len
);
#endif
#endif
...
...
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