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
0ca7f54b
Commit
0ca7f54b
authored
Dec 05, 2003
by
konstantin@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/kostja/mysql/mysql-4.1-root
into mysql.com:/home/kostja/mysql/mysql-4.1-max_prep_stmt_count
parents
cbcb863c
a942f557
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
12 deletions
+1
-12
sql/mysqld.cc
sql/mysqld.cc
+1
-6
sql/set_var.cc
sql/set_var.cc
+0
-4
sql/sql_class.h
sql/sql_class.h
+0
-1
sql/unireg.h
sql/unireg.h
+0
-1
No files found.
sql/mysqld.cc
View file @
0ca7f54b
...
...
@@ -3597,7 +3597,7 @@ enum options_mysqld
OPT_MAX_SEEKS_FOR_KEY
,
OPT_MAX_TMP_TABLES
,
OPT_MAX_USER_CONNECTIONS
,
OPT_MAX_LENGTH_FOR_SORT_DATA
,
OPT_MAX_WRITE_LOCK_COUNT
,
OPT_BULK_INSERT_BUFFER_SIZE
,
OPT_MAX_ERROR_COUNT
,
OPT_MAX_PREP_STMT
,
OPT_MAX_ERROR_COUNT
,
OPT_MYISAM_BLOCK_SIZE
,
OPT_MYISAM_MAX_EXTRA_SORT_FILE_SIZE
,
OPT_MYISAM_MAX_SORT_FILE_SIZE
,
OPT_MYISAM_SORT_BUFFER_SIZE
,
OPT_NET_BUFFER_LENGTH
,
OPT_NET_RETRY_COUNT
,
...
...
@@ -4386,11 +4386,6 @@ The minimum value for this variable is 4096.",
(
gptr
*
)
&
global_system_variables
.
max_length_for_sort_data
,
(
gptr
*
)
&
max_system_variables
.
max_length_for_sort_data
,
0
,
GET_ULONG
,
REQUIRED_ARG
,
1024
,
4
,
8192
*
1024L
,
0
,
1
,
0
},
{
"max_prepared_statements"
,
OPT_MAX_PREP_STMT
,
"Max number of prepared_statements for a thread."
,
(
gptr
*
)
&
global_system_variables
.
max_prep_stmt_count
,
(
gptr
*
)
&
max_system_variables
.
max_prep_stmt_count
,
0
,
GET_ULONG
,
REQUIRED_ARG
,
DEFAULT_PREP_STMT_COUNT
,
0
,
~
0L
,
0
,
1
,
0
},
{
"max_relay_log_size"
,
OPT_MAX_RELAY_LOG_SIZE
,
"If non-zero: relay log will be rotated automatically when the size exceeds this value; if zero (the default): when the size exceeds max_binlog_size. 0 expected, the minimum value for this variable is 4096."
,
(
gptr
*
)
&
max_relay_log_size
,
(
gptr
*
)
&
max_relay_log_size
,
0
,
GET_ULONG
,
...
...
sql/set_var.cc
View file @
0ca7f54b
...
...
@@ -202,8 +202,6 @@ sys_var_thd_ha_rows sys_sql_max_join_size("sql_max_join_size",
&
SV
::
max_join_size
,
fix_max_join_size
);
#endif
sys_var_thd_ulong
sys_max_prep_stmt_count
(
"max_prepared_statements"
,
&
SV
::
max_prep_stmt_count
);
sys_var_long_ptr
sys_max_relay_log_size
(
"max_relay_log_size"
,
&
max_relay_log_size
,
fix_max_relay_log_size
);
...
...
@@ -462,7 +460,6 @@ sys_var *sys_variables[]=
&
sys_max_heap_table_size
,
&
sys_max_join_size
,
&
sys_max_length_for_sort_data
,
&
sys_max_prep_stmt_count
,
&
sys_max_relay_log_size
,
&
sys_max_seeks_for_key
,
&
sys_max_sort_length
,
...
...
@@ -653,7 +650,6 @@ struct show_var_st init_vars[]= {
{
sys_max_seeks_for_key
.
name
,
(
char
*
)
&
sys_max_seeks_for_key
,
SHOW_SYS
},
{
sys_max_length_for_sort_data
.
name
,
(
char
*
)
&
sys_max_length_for_sort_data
,
SHOW_SYS
},
{
sys_max_prep_stmt_count
.
name
,(
char
*
)
&
sys_max_prep_stmt_count
,
SHOW_SYS
},
{
sys_max_sort_length
.
name
,
(
char
*
)
&
sys_max_sort_length
,
SHOW_SYS
},
{
sys_max_user_connections
.
name
,(
char
*
)
&
sys_max_user_connections
,
SHOW_SYS
},
{
sys_max_tmp_tables
.
name
,
(
char
*
)
&
sys_max_tmp_tables
,
SHOW_SYS
},
...
...
sql/sql_class.h
View file @
0ca7f54b
...
...
@@ -373,7 +373,6 @@ struct system_variables
ulong
max_error_count
;
ulong
max_heap_table_size
;
ulong
max_length_for_sort_data
;
ulong
max_prep_stmt_count
;
ulong
max_sort_length
;
ulong
max_tmp_tables
;
ulong
myisam_repair_threads
;
...
...
sql/unireg.h
View file @
0ca7f54b
...
...
@@ -84,7 +84,6 @@
#define TRANS_MEM_ROOT_PREALLOC 4096
#define DEFAULT_ERROR_COUNT 64
#define DEFAULT_PREP_STMT_COUNT 64
#define EXTRA_RECORDS 10
/* Extra records in sort */
#define SCROLL_EXTRA 5
/* Extra scroll-rows. */
#define FIELD_NAME_USED ((uint) 32768)
/* Bit set if fieldname used */
...
...
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