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
288f81ce
Commit
288f81ce
authored
Mar 15, 2002
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix max buffer length
parent
63e106f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
client/mysql.cc
client/mysql.cc
+1
-1
client/mysqldump.c
client/mysqldump.c
+2
-2
No files found.
client/mysql.cc
View file @
288f81ce
...
@@ -437,7 +437,7 @@ CHANGEABLE_VAR changeable_vars[] = {
...
@@ -437,7 +437,7 @@ CHANGEABLE_VAR changeable_vars[] = {
{
"connect_timeout"
,
(
long
*
)
&
opt_connect_timeout
,
0
,
0
,
3600
*
12
,
0
,
1
},
{
"connect_timeout"
,
(
long
*
)
&
opt_connect_timeout
,
0
,
0
,
3600
*
12
,
0
,
1
},
{
"max_allowed_packet"
,
(
long
*
)
&
max_allowed_packet
,
16
*
1024L
*
1024L
,
4096
,
{
"max_allowed_packet"
,
(
long
*
)
&
max_allowed_packet
,
16
*
1024L
*
1024L
,
4096
,
24
*
1024L
*
1024L
,
MALLOC_OVERHEAD
,
1024
},
24
*
1024L
*
1024L
,
MALLOC_OVERHEAD
,
1024
},
{
"net_buffer_length"
,(
long
*
)
&
net_buffer_length
,
16384
,
1024
,
24
*
1024
*
1024L
,
{
"net_buffer_length"
,(
long
*
)
&
net_buffer_length
,
16384
,
1024
,
16
*
1024
*
1024L
,
MALLOC_OVERHEAD
,
1024
},
MALLOC_OVERHEAD
,
1024
},
{
"select_limit"
,
(
long
*
)
&
select_limit
,
1000L
,
1
,
~
0L
,
0
,
1
},
{
"select_limit"
,
(
long
*
)
&
select_limit
,
1000L
,
1
,
~
0L
,
0
,
1
},
{
"max_join_size"
,
(
long
*
)
&
max_join_size
,
1000000L
,
1
,
~
0L
,
0
,
1
},
{
"max_join_size"
,
(
long
*
)
&
max_join_size
,
1000000L
,
1
,
~
0L
,
0
,
1
},
...
...
client/mysqldump.c
View file @
288f81ce
...
@@ -147,9 +147,9 @@ static const char *load_default_groups[]= { "mysqldump","client",0 };
...
@@ -147,9 +147,9 @@ static const char *load_default_groups[]= { "mysqldump","client",0 };
CHANGEABLE_VAR
md_changeable_vars
[]
=
{
CHANGEABLE_VAR
md_changeable_vars
[]
=
{
{
"max_allowed_packet"
,
(
long
*
)
&
max_allowed_packet
,
24
*
1024
*
1024
,
4096
,
{
"max_allowed_packet"
,
(
long
*
)
&
max_allowed_packet
,
24
*
1024
*
1024
,
4096
,
24
*
1024L
*
1024L
,
MALLOC_OVERHEAD
,
1024
},
16
*
1024L
*
1024L
,
MALLOC_OVERHEAD
,
1024
},
{
"net_buffer_length"
,
(
long
*
)
&
net_buffer_length
,
1024
*
1024L
-
1025
,
4096
,
{
"net_buffer_length"
,
(
long
*
)
&
net_buffer_length
,
1024
*
1024L
-
1025
,
4096
,
24
*
1024L
*
1024L
,
MALLOC_OVERHEAD
-
1024
,
1024
},
16
*
1024L
*
1024L
,
MALLOC_OVERHEAD
+
1024
,
1024
},
{
0
,
0
,
0
,
0
,
0
,
0
,
0
}
{
0
,
0
,
0
,
0
,
0
,
0
,
0
}
};
};
...
...
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