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
431639a7
Commit
431639a7
authored
May 05, 2003
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-4.0/
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
parents
9eae216c
12e53eb9
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
87 additions
and
52 deletions
+87
-52
include/my_sys.h
include/my_sys.h
+1
-0
myisam/mi_check.c
myisam/mi_check.c
+11
-1
mysys/my_bit.c
mysys/my_bit.c
+42
-0
sql/ha_myisam.cc
sql/ha_myisam.cc
+17
-3
sql/item_func.cc
sql/item_func.cc
+2
-43
sql/mysqld.cc
sql/mysqld.cc
+7
-2
sql/set_var.cc
sql/set_var.cc
+6
-3
sql/sql_class.h
sql/sql_class.h
+1
-0
No files found.
include/my_sys.h
View file @
431639a7
...
@@ -749,6 +749,7 @@ extern my_bool my_uncompress(byte *, ulong *, ulong *);
...
@@ -749,6 +749,7 @@ extern my_bool my_uncompress(byte *, ulong *, ulong *);
extern
byte
*
my_compress_alloc
(
const
byte
*
packet
,
ulong
*
len
,
ulong
*
complen
);
extern
byte
*
my_compress_alloc
(
const
byte
*
packet
,
ulong
*
len
,
ulong
*
complen
);
extern
ulong
checksum
(
const
byte
*
mem
,
uint
count
);
extern
ulong
checksum
(
const
byte
*
mem
,
uint
count
);
extern
uint
my_bit_log2
(
ulong
value
);
extern
uint
my_bit_log2
(
ulong
value
);
uint
my_count_bits
(
ulonglong
v
);
extern
void
my_sleep
(
ulong
m_seconds
);
extern
void
my_sleep
(
ulong
m_seconds
);
#ifdef __WIN__
#ifdef __WIN__
...
...
myisam/mi_check.c
View file @
431639a7
...
@@ -2246,7 +2246,17 @@ int mi_repair_parallel(MI_CHECK *param, register MI_INFO *info,
...
@@ -2246,7 +2246,17 @@ int mi_repair_parallel(MI_CHECK *param, register MI_INFO *info,
else
else
rec_length
=
share
->
base
.
pack_reclength
;
rec_length
=
share
->
base
.
pack_reclength
;
sort_info
.
max_records
=
sort_info
.
max_records
=
((
param
->
testflag
&
T_CREATE_MISSING_KEYS
)
?
info
->
state
->
records
:
/* +1 below is required hack for parallel repair mode.
The info->state->records value, that is compared later
to sort_info.max_records and cannot exceed it, is
increased in sort_key_write. In mi_repair_by_sort, sort_key_write
is called after sort_key_read, where the comparison is performed,
but in parallel mode master thread can call sort_key_write
before some other repair thread calls sort_key_read.
Furthermore I'm not even sure +1 would be enough.
May be sort_info.max_records shold be always set to max value in
parallel mode. */
((
param
->
testflag
&
T_CREATE_MISSING_KEYS
)
?
info
->
state
->
records
+
1
:
(
ha_rows
)
(
sort_info
.
filelength
/
rec_length
+
1
));
(
ha_rows
)
(
sort_info
.
filelength
/
rec_length
+
1
));
del
=
info
->
state
->
del
;
del
=
info
->
state
->
del
;
...
...
mysys/my_bit.c
View file @
431639a7
...
@@ -29,3 +29,45 @@ uint my_bit_log2(ulong value)
...
@@ -29,3 +29,45 @@ uint my_bit_log2(ulong value)
for
(
bit
=
0
;
value
>
1
;
value
>>=
1
,
bit
++
)
;
for
(
bit
=
0
;
value
>
1
;
value
>>=
1
,
bit
++
)
;
return
bit
;
return
bit
;
}
}
static
char
nbits
[
256
]
=
{
0
,
1
,
1
,
2
,
1
,
2
,
2
,
3
,
1
,
2
,
2
,
3
,
2
,
3
,
3
,
4
,
1
,
2
,
2
,
3
,
2
,
3
,
3
,
4
,
2
,
3
,
3
,
4
,
3
,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uchar
)
(
nbits
[(
uchar
)
v
]
+
nbits
[(
uchar
)
(
v
>>
8
)]
+
nbits
[(
uchar
)
(
v
>>
16
)]
+
nbits
[(
uchar
)
(
v
>>
24
)]
+
nbits
[(
uchar
)
(
v2
)]
+
nbits
[(
uchar
)
(
v2
>>
8
)]
+
nbits
[(
uchar
)
(
v2
>>
16
)]
+
nbits
[(
uchar
)
(
v2
>>
24
)]);
#else
return
(
uint
)
(
uchar
)
(
nbits
[(
uchar
)
v
]
+
nbits
[(
uchar
)
(
v
>>
8
)]
+
nbits
[(
uchar
)
(
v
>>
16
)]
+
nbits
[(
uchar
)
(
v
>>
24
)]);
#endif
}
sql/ha_myisam.cc
View file @
431639a7
...
@@ -579,10 +579,24 @@ int ha_myisam::repair(THD *thd, MI_CHECK ¶m, bool optimize)
...
@@ -579,10 +579,24 @@ int ha_myisam::repair(THD *thd, MI_CHECK ¶m, bool optimize)
{
{
local_testflag
|=
T_STATISTICS
;
local_testflag
|=
T_STATISTICS
;
param
.
testflag
|=
T_STATISTICS
;
// We get this for free
param
.
testflag
|=
T_STATISTICS
;
// We get this for free
thd
->
proc_info
=
"Repair by sorting"
;
statistics_done
=
1
;
statistics_done
=
1
;
error
=
mi_repair_by_sort
(
&
param
,
file
,
fixed_name
,
if
(
current_thd
->
variables
.
myisam_repair_threads
>
1
)
param
.
testflag
&
T_QUICK
);
{
char
buf
[
40
];
/* TODO: respect myisam_repair_threads variable */
my_snprintf
(
buf
,
40
,
"Repair with %d threads"
,
my_count_bits
(
key_map
));
thd
->
proc_info
=
buf
;
error
=
mi_repair_parallel
(
&
param
,
file
,
fixed_name
,
param
.
testflag
&
T_QUICK
);
thd
->
proc_info
=
"Repair done"
;
// to reset proc_info, as
// it was pointing to local buffer
}
else
{
thd
->
proc_info
=
"Repair by sorting"
;
error
=
mi_repair_by_sort
(
&
param
,
file
,
fixed_name
,
param
.
testflag
&
T_QUICK
);
}
}
}
else
else
{
{
...
...
sql/item_func.cc
View file @
431639a7
...
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,
5
,
5
,
6
,
4
,
5
,
5
,
6
,
5
,
6
,
6
,
7
,
4
,
5
,
5
,
6
,
5
,
6
,
6
,
7
,
5
,
6
,
6
,
7
,
6
,
7
,
7
,
8
,
};
uint
count_bits
(
ulonglong
v
)
{
#if SIZEOF_LONG_LONG > 4
/* The following code is a bit faster on 16 bit machines than if we would
only shift v */
ulong
v2
=
(
ulong
)
(
v
>>
32
);
return
(
uint
)
(
uchar
)
(
nbits
[(
uchar
)
v
]
+
nbits
[(
uchar
)
(
v
>>
8
)]
+
nbits
[(
uchar
)
(
v
>>
16
)]
+
nbits
[(
uchar
)
(
v
>>
24
)]
+
nbits
[(
uchar
)
(
v2
)]
+
nbits
[(
uchar
)
(
v2
>>
8
)]
+
nbits
[(
uchar
)
(
v2
>>
16
)]
+
nbits
[(
uchar
)
(
v2
>>
24
)]);
#else
return
(
uint
)
(
uchar
)
(
nbits
[(
uchar
)
v
]
+
nbits
[(
uchar
)
(
v
>>
8
)]
+
nbits
[(
uchar
)
(
v
>>
16
)]
+
nbits
[(
uchar
)
(
v
>>
24
)]);
#endif
}
longlong
Item_func_bit_count
::
val_int
()
longlong
Item_func_bit_count
::
val_int
()
{
{
ulonglong
value
=
(
ulonglong
)
args
[
0
]
->
val_int
();
ulonglong
value
=
(
ulonglong
)
args
[
0
]
->
val_int
();
...
@@ -1159,7 +1118,7 @@ longlong Item_func_bit_count::val_int()
...
@@ -1159,7 +1118,7 @@ longlong Item_func_bit_count::val_int()
null_value
=
1
;
/* purecov: inspected */
null_value
=
1
;
/* purecov: inspected */
return
0
;
/* purecov: inspected */
return
0
;
/* purecov: inspected */
}
}
return
(
longlong
)
count_bits
(
value
);
return
(
longlong
)
my_
count_bits
(
value
);
}
}
...
@@ -2221,7 +2180,7 @@ bool Item_func_match::fix_fields(THD *thd,struct st_table_list *tlist)
...
@@ -2221,7 +2180,7 @@ bool Item_func_match::fix_fields(THD *thd,struct st_table_list *tlist)
used_tables_cache
|=
item
->
used_tables
();
used_tables_cache
|=
item
->
used_tables
();
}
}
/* check that all columns come from the same table */
/* check that all columns come from the same table */
if
(
count_bits
(
used_tables_cache
)
!=
1
)
if
(
my_
count_bits
(
used_tables_cache
)
!=
1
)
key
=
NO_SUCH_KEY
;
key
=
NO_SUCH_KEY
;
const_item_cache
=
0
;
const_item_cache
=
0
;
table
=
((
Item_field
*
)
fields
.
head
())
->
field
->
table
;
table
=
((
Item_field
*
)
fields
.
head
())
->
field
->
table
;
...
...
sql/mysqld.cc
View file @
431639a7
...
@@ -3145,7 +3145,7 @@ enum options {
...
@@ -3145,7 +3145,7 @@ enum options {
OPT_SORT_BUFFER
,
OPT_TABLE_CACHE
,
OPT_SORT_BUFFER
,
OPT_TABLE_CACHE
,
OPT_THREAD_CONCURRENCY
,
OPT_THREAD_CACHE_SIZE
,
OPT_THREAD_CONCURRENCY
,
OPT_THREAD_CACHE_SIZE
,
OPT_TMP_TABLE_SIZE
,
OPT_THREAD_STACK
,
OPT_TMP_TABLE_SIZE
,
OPT_THREAD_STACK
,
OPT_WAIT_TIMEOUT
,
OPT_WAIT_TIMEOUT
,
OPT_MYISAM_REPAIR_THREADS
,
OPT_INNODB_MIRRORED_LOG_GROUPS
,
OPT_INNODB_MIRRORED_LOG_GROUPS
,
OPT_INNODB_LOG_FILES_IN_GROUP
,
OPT_INNODB_LOG_FILES_IN_GROUP
,
OPT_INNODB_LOG_FILE_SIZE
,
OPT_INNODB_LOG_FILE_SIZE
,
...
@@ -3844,13 +3844,18 @@ replicating a LOAD DATA INFILE command",
...
@@ -3844,13 +3844,18 @@ replicating a LOAD DATA INFILE command",
(
gptr
*
)
&
global_system_variables
.
myisam_max_sort_file_size
,
(
gptr
*
)
&
global_system_variables
.
myisam_max_sort_file_size
,
(
gptr
*
)
&
max_system_variables
.
myisam_max_sort_file_size
,
0
,
(
gptr
*
)
&
max_system_variables
.
myisam_max_sort_file_size
,
0
,
GET_ULL
,
REQUIRED_ARG
,
(
longlong
)
LONG_MAX
,
0
,
~
0L
,
0
,
1024
*
1024
,
0
},
GET_ULL
,
REQUIRED_ARG
,
(
longlong
)
LONG_MAX
,
0
,
~
0L
,
0
,
1024
*
1024
,
0
},
{
"myisam_repair_threads"
,
OPT_MYISAM_REPAIR_THREADS
,
"Number of threads to use when repairing MyISAM tables. The value of 1 disables parallel repair."
,
(
gptr
*
)
&
global_system_variables
.
myisam_repair_threads
,
(
gptr
*
)
&
max_system_variables
.
myisam_repair_threads
,
0
,
GET_ULONG
,
REQUIRED_ARG
,
1
,
1
,
~
0L
,
0
,
1
,
0
},
{
"myisam_sort_buffer_size"
,
OPT_MYISAM_SORT_BUFFER_SIZE
,
{
"myisam_sort_buffer_size"
,
OPT_MYISAM_SORT_BUFFER_SIZE
,
"The buffer that is allocated when sorting the index when doing a REPAIR or when creating indexes with CREATE INDEX or ALTER TABLE."
,
"The buffer that is allocated when sorting the index when doing a REPAIR or when creating indexes with CREATE INDEX or ALTER TABLE."
,
(
gptr
*
)
&
global_system_variables
.
myisam_sort_buff_size
,
(
gptr
*
)
&
global_system_variables
.
myisam_sort_buff_size
,
(
gptr
*
)
&
max_system_variables
.
myisam_sort_buff_size
,
0
,
(
gptr
*
)
&
max_system_variables
.
myisam_sort_buff_size
,
0
,
GET_ULONG
,
REQUIRED_ARG
,
8192
*
1024
,
4
,
~
0L
,
0
,
1
,
0
},
GET_ULONG
,
REQUIRED_ARG
,
8192
*
1024
,
4
,
~
0L
,
0
,
1
,
0
},
{
"net_buffer_length"
,
OPT_NET_BUFFER_LENGTH
,
{
"net_buffer_length"
,
OPT_NET_BUFFER_LENGTH
,
"Buffer length for TCP/IP and socket communication."
,
"Buffer length for TCP/IP and socket communication."
,
(
gptr
*
)
&
global_system_variables
.
net_buffer_length
,
(
gptr
*
)
&
global_system_variables
.
net_buffer_length
,
(
gptr
*
)
&
max_system_variables
.
net_buffer_length
,
0
,
GET_ULONG
,
(
gptr
*
)
&
max_system_variables
.
net_buffer_length
,
0
,
GET_ULONG
,
REQUIRED_ARG
,
16384
,
1024
,
1024
*
1024L
,
0
,
1024
,
0
},
REQUIRED_ARG
,
16384
,
1024
,
1024
*
1024L
,
0
,
1024
,
0
},
...
...
sql/set_var.cc
View file @
431639a7
...
@@ -167,6 +167,7 @@ sys_var_long_ptr sys_max_write_lock_count("max_write_lock_count",
...
@@ -167,6 +167,7 @@ sys_var_long_ptr sys_max_write_lock_count("max_write_lock_count",
&
max_write_lock_count
);
&
max_write_lock_count
);
sys_var_thd_ulonglong
sys_myisam_max_extra_sort_file_size
(
"myisam_max_extra_sort_file_size"
,
&
SV
::
myisam_max_extra_sort_file_size
);
sys_var_thd_ulonglong
sys_myisam_max_extra_sort_file_size
(
"myisam_max_extra_sort_file_size"
,
&
SV
::
myisam_max_extra_sort_file_size
);
sys_var_thd_ulonglong
sys_myisam_max_sort_file_size
(
"myisam_max_sort_file_size"
,
&
SV
::
myisam_max_sort_file_size
);
sys_var_thd_ulonglong
sys_myisam_max_sort_file_size
(
"myisam_max_sort_file_size"
,
&
SV
::
myisam_max_sort_file_size
);
sys_var_thd_ulong
sys_myisam_repair_threads
(
"myisam_repair_threads"
,
&
SV
::
myisam_repair_threads
);
sys_var_thd_ulong
sys_myisam_sort_buffer_size
(
"myisam_sort_buffer_size"
,
&
SV
::
myisam_sort_buff_size
);
sys_var_thd_ulong
sys_myisam_sort_buffer_size
(
"myisam_sort_buffer_size"
,
&
SV
::
myisam_sort_buff_size
);
sys_var_thd_ulong
sys_net_buffer_length
(
"net_buffer_length"
,
sys_var_thd_ulong
sys_net_buffer_length
(
"net_buffer_length"
,
&
SV
::
net_buffer_length
);
&
SV
::
net_buffer_length
);
...
@@ -347,6 +348,7 @@ sys_var *sys_variables[]=
...
@@ -347,6 +348,7 @@ sys_var *sys_variables[]=
&
sys_max_write_lock_count
,
&
sys_max_write_lock_count
,
&
sys_myisam_max_extra_sort_file_size
,
&
sys_myisam_max_extra_sort_file_size
,
&
sys_myisam_max_sort_file_size
,
&
sys_myisam_max_sort_file_size
,
&
sys_myisam_repair_threads
,
&
sys_myisam_sort_buffer_size
,
&
sys_myisam_sort_buffer_size
,
&
sys_net_buffer_length
,
&
sys_net_buffer_length
,
&
sys_net_read_timeout
,
&
sys_net_read_timeout
,
...
@@ -484,13 +486,14 @@ struct show_var_st init_vars[]= {
...
@@ -484,13 +486,14 @@ struct show_var_st init_vars[]= {
{
sys_max_join_size
.
name
,
(
char
*
)
&
sys_max_join_size
,
SHOW_SYS
},
{
sys_max_join_size
.
name
,
(
char
*
)
&
sys_max_join_size
,
SHOW_SYS
},
{
sys_max_sort_length
.
name
,
(
char
*
)
&
sys_max_sort_length
,
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_user_connections
.
name
,(
char
*
)
&
sys_max_user_connections
,
SHOW_SYS
},
{
sys_max_tmp_tables
.
name
,
(
char
*
)
&
sys_max_tmp_tables
,
SHOW_SYS
},
{
sys_max_tmp_tables
.
name
,
(
char
*
)
&
sys_max_tmp_tables
,
SHOW_SYS
},
{
sys_max_write_lock_count
.
name
,
(
char
*
)
&
sys_max_write_lock_count
,
SHOW_SYS
},
{
sys_max_write_lock_count
.
name
,
(
char
*
)
&
sys_max_write_lock_count
,
SHOW_SYS
},
{
sys_myisam_max_extra_sort_file_size
.
name
,
{
sys_myisam_max_extra_sort_file_size
.
name
,
(
char
*
)
&
sys_myisam_max_extra_sort_file_size
,
(
char
*
)
&
sys_myisam_max_extra_sort_file_size
,
SHOW_SYS
},
SHOW_SYS
},
{
sys_myisam_max_sort_file_size
.
name
,
{
sys_myisam_max_sort_file_size
.
name
,
(
char
*
)
&
sys_myisam_max_sort_file_size
,
(
char
*
)
&
sys_myisam_max_sort_file_size
,
SHOW_SYS
},
{
sys_myisam_repair_threads
.
name
,
(
char
*
)
&
sys_myisam_repair_threads
,
SHOW_SYS
},
SHOW_SYS
},
{
"myisam_recover_options"
,
(
char
*
)
&
myisam_recover_options_str
,
SHOW_CHAR_PTR
},
{
"myisam_recover_options"
,
(
char
*
)
&
myisam_recover_options_str
,
SHOW_CHAR_PTR
},
{
sys_myisam_sort_buffer_size
.
name
,
(
char
*
)
&
sys_myisam_sort_buffer_size
,
SHOW_SYS
},
{
sys_myisam_sort_buffer_size
.
name
,
(
char
*
)
&
sys_myisam_sort_buffer_size
,
SHOW_SYS
},
...
...
sql/sql_class.h
View file @
431639a7
...
@@ -294,6 +294,7 @@ struct system_variables
...
@@ -294,6 +294,7 @@ struct system_variables
ulong
max_heap_table_size
;
ulong
max_heap_table_size
;
ulong
max_sort_length
;
ulong
max_sort_length
;
ulong
max_tmp_tables
;
ulong
max_tmp_tables
;
ulong
myisam_repair_threads
;
ulong
myisam_sort_buff_size
;
ulong
myisam_sort_buff_size
;
ulong
net_buffer_length
;
ulong
net_buffer_length
;
ulong
net_interactive_timeout
;
ulong
net_interactive_timeout
;
...
...
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