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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
d7457386
Commit
d7457386
authored
Dec 21, 2007
by
serg@janus.mylan
Browse files
Options
Browse Files
Download
Plain Diff
merged
parents
09012c2f
b9785bbc
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
mysql-test/r/variables.result
mysql-test/r/variables.result
+1
-1
mysql-test/t/variables.test
mysql-test/t/variables.test
+1
-1
sql/mysqld.cc
sql/mysqld.cc
+2
-0
No files found.
mysql-test/r/variables.result
View file @
d7457386
...
@@ -223,7 +223,7 @@ set GLOBAL myisam_max_sort_file_size=default;
...
@@ -223,7 +223,7 @@ set GLOBAL myisam_max_sort_file_size=default;
show global variables like 'myisam_max_sort_file_size';
show global variables like 'myisam_max_sort_file_size';
Variable_name Value
Variable_name Value
myisam_max_sort_file_size FILE_SIZE
myisam_max_sort_file_size FILE_SIZE
select * from information_schema.
session
_variables where variable_name like 'myisam_max_sort_file_size';
select * from information_schema.
global
_variables where variable_name like 'myisam_max_sort_file_size';
VARIABLE_NAME VARIABLE_VALUE
VARIABLE_NAME VARIABLE_VALUE
MYISAM_MAX_SORT_FILE_SIZE FILE_SIZE
MYISAM_MAX_SORT_FILE_SIZE FILE_SIZE
set global net_retry_count=10, session net_retry_count=10;
set global net_retry_count=10, session net_retry_count=10;
...
...
mysql-test/t/variables.test
View file @
d7457386
...
@@ -144,7 +144,7 @@ set GLOBAL myisam_max_sort_file_size=default;
...
@@ -144,7 +144,7 @@ set GLOBAL myisam_max_sort_file_size=default;
--
replace_result
9223372036853727232
FILE_SIZE
2146435072
FILE_SIZE
--
replace_result
9223372036853727232
FILE_SIZE
2146435072
FILE_SIZE
show
global
variables
like
'myisam_max_sort_file_size'
;
show
global
variables
like
'myisam_max_sort_file_size'
;
--
replace_result
9223372036853727232
FILE_SIZE
2146435072
FILE_SIZE
--
replace_result
9223372036853727232
FILE_SIZE
2146435072
FILE_SIZE
select
*
from
information_schema
.
session
_variables
where
variable_name
like
'myisam_max_sort_file_size'
;
select
*
from
information_schema
.
global
_variables
where
variable_name
like
'myisam_max_sort_file_size'
;
set
global
net_retry_count
=
10
,
session
net_retry_count
=
10
;
set
global
net_retry_count
=
10
,
session
net_retry_count
=
10
;
set
global
net_buffer_length
=
1024
,
net_write_timeout
=
200
,
net_read_timeout
=
300
;
set
global
net_buffer_length
=
1024
,
net_write_timeout
=
200
,
net_read_timeout
=
300
;
...
...
sql/mysqld.cc
View file @
d7457386
...
@@ -2863,6 +2863,8 @@ SHOW_VAR com_status_vars[]= {
...
@@ -2863,6 +2863,8 @@ SHOW_VAR com_status_vars[]= {
#endif
#endif
{
"show_procedure_status"
,(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_STATUS_PROC
]),
SHOW_LONG_STATUS
},
{
"show_procedure_status"
,(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_STATUS_PROC
]),
SHOW_LONG_STATUS
},
{
"show_processlist"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_PROCESSLIST
]),
SHOW_LONG_STATUS
},
{
"show_processlist"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_PROCESSLIST
]),
SHOW_LONG_STATUS
},
{
"show_profile"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_PROFILE
]),
SHOW_LONG_STATUS
},
{
"show_profiles"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_PROFILES
]),
SHOW_LONG_STATUS
},
{
"show_slave_hosts"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_SLAVE_HOSTS
]),
SHOW_LONG_STATUS
},
{
"show_slave_hosts"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_SLAVE_HOSTS
]),
SHOW_LONG_STATUS
},
{
"show_slave_status"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_SLAVE_STAT
]),
SHOW_LONG_STATUS
},
{
"show_slave_status"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_SLAVE_STAT
]),
SHOW_LONG_STATUS
},
{
"show_status"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_STATUS
]),
SHOW_LONG_STATUS
},
{
"show_status"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_STATUS
]),
SHOW_LONG_STATUS
},
...
...
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