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
c49c58cb
Commit
c49c58cb
authored
Sep 19, 2006
by
istruewing@chilla.local
Browse files
Options
Browse Files
Download
Plain Diff
Merge chilla.local:/home/mydev/mysql-5.0-bug14400-monty
into chilla.local:/home/mydev/mysql-5.1-bug14400-monty
parents
844df8f0
7419f502
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
57 additions
and
45 deletions
+57
-45
.bzrignore
.bzrignore
+2
-0
sql/sql_select.cc
sql/sql_select.cc
+18
-8
storage/myisam/mi_rkey.c
storage/myisam/mi_rkey.c
+0
-1
storage/myisam/mi_test_all.res
storage/myisam/mi_test_all.res
+35
-35
storage/myisam/mi_test_all.sh
storage/myisam/mi_test_all.sh
+2
-1
No files found.
.bzrignore
View file @
c49c58cb
...
@@ -34,6 +34,8 @@
...
@@ -34,6 +34,8 @@
*.vcproj
*.vcproj
*/*.dir/*
*/*.dir/*
*/*_pure_*warnings
*/*_pure_*warnings
*/.deps
*/.libs/*
*/.pure
*/.pure
*/debug/*
*/debug/*
*/release/*
*/release/*
...
...
sql/sql_select.cc
View file @
c49c58cb
...
@@ -13313,6 +13313,8 @@ setup_copy_fields(THD *thd, TMP_TABLE_PARAM *param,
...
@@ -13313,6 +13313,8 @@ setup_copy_fields(THD *thd, TMP_TABLE_PARAM *param,
param
->
copy_funcs
.
empty
();
param
->
copy_funcs
.
empty
();
for
(
i
=
0
;
(
pos
=
li
++
);
i
++
)
for
(
i
=
0
;
(
pos
=
li
++
);
i
++
)
{
{
Field
*
field
;
char
*
tmp
;
Item
*
real_pos
=
pos
->
real_item
();
Item
*
real_pos
=
pos
->
real_item
();
if
(
real_pos
->
type
()
==
Item
::
FIELD_ITEM
)
if
(
real_pos
->
type
()
==
Item
::
FIELD_ITEM
)
{
{
...
@@ -13343,15 +13345,23 @@ setup_copy_fields(THD *thd, TMP_TABLE_PARAM *param,
...
@@ -13343,15 +13345,23 @@ setup_copy_fields(THD *thd, TMP_TABLE_PARAM *param,
set up save buffer and change result_field to point at
set up save buffer and change result_field to point at
saved value
saved value
*/
*/
Field
*
field
=
item
->
field
;
field
=
item
->
field
;
item
->
result_field
=
field
->
new_field
(
thd
->
mem_root
,
field
->
table
,
1
);
item
->
result_field
=
field
->
new_field
(
thd
->
mem_root
,
field
->
table
,
1
);
char
*
tmp
=
(
char
*
)
sql_alloc
(
field
->
pack_length
()
+
1
);
/*
We need to allocate one extra byte for null handling and
another extra byte to not get warnings from purify in
Field_string::val_int
*/
tmp
=
(
char
*
)
sql_alloc
(
field
->
pack_length
()
+
2
);
if
(
!
tmp
)
if
(
!
tmp
)
goto
err
;
goto
err
;
if
(
copy
)
if
(
copy
)
{
{
copy
->
set
(
tmp
,
item
->
result_field
);
copy
->
set
(
tmp
,
item
->
result_field
);
item
->
result_field
->
move_field
(
copy
->
to_ptr
,
copy
->
to_null_ptr
,
1
);
item
->
result_field
->
move_field
(
copy
->
to_ptr
,
copy
->
to_null_ptr
,
1
);
#ifdef HAVE_purify
copy
->
to_ptr
[
copy
->
from_length
]
=
0
;
#endif
copy
++
;
copy
++
;
}
}
}
}
...
...
storage/myisam/mi_rkey.c
View file @
c49c58cb
...
@@ -133,7 +133,6 @@ int mi_rkey(MI_INFO *info, byte *buf, int inx, const byte *key, uint key_len,
...
@@ -133,7 +133,6 @@ int mi_rkey(MI_INFO *info, byte *buf, int inx, const byte *key, uint key_len,
}
}
}
}
}
}
if
(
share
->
concurrent_insert
)
if
(
share
->
concurrent_insert
)
rw_unlock
(
&
share
->
key_root_lock
[
inx
]);
rw_unlock
(
&
share
->
key_root_lock
[
inx
]);
...
...
storage/myisam/mi_test_all.res
View file @
c49c58cb
...
@@ -8,46 +8,46 @@ myisamchk: MyISAM file test2
...
@@ -8,46 +8,46 @@ myisamchk: MyISAM file test2
myisamchk: warning: Datafile is almost full, 65532 of 65534 used
myisamchk: warning: Datafile is almost full, 65532 of 65534 used
MyISAM-table 'test2' is usable but should be fixed
MyISAM-table 'test2' is usable but should be fixed
Commands Used count Errors Recover errors
Commands Used count Errors Recover errors
open
1
0 0
open
7
0 0
write
50 0 0
write
3
50 0 0
update
5 0 0
update
3
5 0 0
delete
50 0 0
delete
3
50 0 0
close
1
0 0
close
7
0 0
extra
6
0 0
extra
42
0 0
Total
113
0 0
Total
791
0 0
Commands Used count Errors Recover errors
Commands Used count Errors Recover errors
open
2
0 0
open
8
0 0
write
1
00 0 0
write
4
00 0 0
update
1
0 0 0
update
4
0 0 0
delete
1
00 0 0
delete
4
00 0 0
close
2
0 0
close
8
0 0
extra
12
0 0
extra
48
0 0
Total
226
0 0
Total
904
0 0
real 0m0.
79
1s
real 0m0.
22
1s
user 0m0.1
37
s
user 0m0.1
20
s
sys 0m0.1
17
s
sys 0m0.1
00
s
real 0m0.
659
s
real 0m0.
222
s
user 0m0.
252
s
user 0m0.
140
s
sys 0m0.
102
s
sys 0m0.
084
s
real 0m0.
571
s
real 0m0.
232
s
user 0m0.1
88
s
user 0m0.1
12
s
sys 0m0.
098
s
sys 0m0.
120
s
real 0m
1.111
s
real 0m
0.163
s
user 0m0.
23
6s
user 0m0.
11
6s
sys 0m0.03
7
s
sys 0m0.03
6
s
real 0m0.
621
s
real 0m0.
159
s
user 0m0.
242
s
user 0m0.
136
s
sys 0m0.02
2
s
sys 0m0.02
0
s
real 0m0.
698
s
real 0m0.
147
s
user 0m0.
248
s
user 0m0.
132
s
sys 0m0.0
21
s
sys 0m0.0
16
s
real 0m0.
683
s
real 0m0.
211
s
user 0m0.
265
s
user 0m0.
124
s
sys 0m0.0
79
s
sys 0m0.0
88
s
storage/myisam/mi_test_all.sh
View file @
c49c58cb
...
@@ -79,7 +79,8 @@ if test -f mi_test1$MACH ; then suffix=$MACH ; else suffix=""; fi
...
@@ -79,7 +79,8 @@ if test -f mi_test1$MACH ; then suffix=$MACH ; else suffix=""; fi
# check of myisampack / myisamchk
# check of myisampack / myisamchk
./myisampack
$suffix
--force
-s
test1
./myisampack
$suffix
--force
-s
test1
./myisamchk
$suffix
-es
test1
# Ignore error for index file
./myisamchk
$suffix
-es
test1 2>&1
>
& /dev/null
./myisamchk
$suffix
-rqs
test1
./myisamchk
$suffix
-rqs
test1
./myisamchk
$suffix
-es
test1
./myisamchk
$suffix
-es
test1
./myisamchk
$suffix
-rs
test1
./myisamchk
$suffix
-rs
test1
...
...
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