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
47dc3fbe
Commit
47dc3fbe
authored
Sep 19, 2006
by
istruewing@chilla.local
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-4.0
into chilla.local:/home/mydev/mysql-4.1-bug14400-monty
parents
45f7514d
7d0b042e
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
56 additions
and
42 deletions
+56
-42
.bzrignore
.bzrignore
+6
-2
myisam/mi_rkey.c
myisam/mi_rkey.c
+0
-1
myisam/mi_test_all.res
myisam/mi_test_all.res
+35
-35
myisam/mi_test_all.sh
myisam/mi_test_all.sh
+2
-1
sql/sql_select.cc
sql/sql_select.cc
+13
-3
No files found.
.bzrignore
View file @
47dc3fbe
*.Plo
*.Po
*.a
*.a
*.bb
*.bb
*.bbg
*.bbg
...
@@ -11,6 +13,8 @@
...
@@ -11,6 +13,8 @@
*.reject
*.reject
*.spec
*.spec
*/*_pure_*warnings
*/*_pure_*warnings
*/.deps
*/.libs/*
*/.pure
*/.pure
*~
*~
.*.swp
.*.swp
...
@@ -336,6 +340,7 @@ isam/test2
...
@@ -336,6 +340,7 @@ isam/test2
isam/test3
isam/test3
libmysql/*.c
libmysql/*.c
libmysql/conf_to_src
libmysql/conf_to_src
libmysql/libmysql.ver
libmysql/my_static.h
libmysql/my_static.h
libmysql/my_time.c
libmysql/my_time.c
libmysql/mysys_priv.h
libmysql/mysys_priv.h
...
@@ -443,6 +448,7 @@ libmysqld/sql_insert.cc
...
@@ -443,6 +448,7 @@ libmysqld/sql_insert.cc
libmysqld/sql_lex.cc
libmysqld/sql_lex.cc
libmysqld/sql_list.cc
libmysqld/sql_list.cc
libmysqld/sql_load.cc
libmysqld/sql_load.cc
libmysqld/sql_locale.cc
libmysqld/sql_manager.cc
libmysqld/sql_manager.cc
libmysqld/sql_map.cc
libmysqld/sql_map.cc
libmysqld/sql_olap.cc
libmysqld/sql_olap.cc
...
@@ -1057,5 +1063,3 @@ vio/test-ssl
...
@@ -1057,5 +1063,3 @@ vio/test-ssl
vio/test-sslclient
vio/test-sslclient
vio/test-sslserver
vio/test-sslserver
vio/viotest-ssl
vio/viotest-ssl
libmysql/libmysql.ver
libmysqld/sql_locale.cc
myisam/mi_rkey.c
View file @
47dc3fbe
...
@@ -132,7 +132,6 @@ int mi_rkey(MI_INFO *info, byte *buf, int inx, const byte *key, uint key_len,
...
@@ -132,7 +132,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
]);
...
...
myisam/mi_test_all.res
View file @
47dc3fbe
...
@@ -5,46 +5,46 @@ myisamchk: MyISAM file test2
...
@@ -5,46 +5,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
7 0 0
open
7 0 0
write
8
50 0 0
write
3
50 0 0
update
8
5 0 0
update
3
5 0 0
delete
8
50 0 0
delete
3
50 0 0
close
1
7 0 0
close
7 0 0
extra
10
2 0 0
extra
4
2 0 0
Total
192
1 0 0
Total
79
1 0 0
Commands Used count Errors Recover errors
Commands Used count Errors Recover errors
open
1
8 0 0
open
8 0 0
write
9
00 0 0
write
4
00 0 0
update
9
0 0 0
update
4
0 0 0
delete
9
00 0 0
delete
4
00 0 0
close
1
8 0 0
close
8 0 0
extra
10
8 0 0
extra
4
8 0 0
Total
203
4 0 0
Total
90
4 0 0
real 0m
1.054
s
real 0m
0.221
s
user 0m0.
41
0s
user 0m0.
12
0s
sys 0m0.
64
0s
sys 0m0.
10
0s
real 0m
1.077
s
real 0m
0.222
s
user 0m0.
55
0s
user 0m0.
14
0s
sys 0m0.
530
s
sys 0m0.
084
s
real 0m
1.100
s
real 0m
0.232
s
user 0m0.
420
s
user 0m0.
112
s
sys 0m0.
68
0s
sys 0m0.
12
0s
real 0m0.
78
3s
real 0m0.
16
3s
user 0m0.
590
s
user 0m0.
116
s
sys 0m0.
200
s
sys 0m0.
036
s
real 0m0.
764
s
real 0m0.
159
s
user 0m0.
560
s
user 0m0.
136
s
sys 0m0.
21
0s
sys 0m0.
02
0s
real 0m0.
699
s
real 0m0.
147
s
user 0m0.
570
s
user 0m0.
132
s
sys 0m0.
130
s
sys 0m0.
016
s
real 0m0.
99
1s
real 0m0.
21
1s
user 0m0.
630
s
user 0m0.
124
s
sys 0m0.
350
s
sys 0m0.
088
s
myisam/mi_test_all.sh
View file @
47dc3fbe
...
@@ -79,7 +79,8 @@ myisamchk$suffix -se test1
...
@@ -79,7 +79,8 @@ myisamchk$suffix -se test1
# 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
...
...
sql/sql_select.cc
View file @
47dc3fbe
...
@@ -9083,6 +9083,8 @@ setup_copy_fields(THD *thd, TMP_TABLE_PARAM *param,
...
@@ -9083,6 +9083,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
;
if
(
pos
->
type
()
==
Item
::
FIELD_ITEM
)
if
(
pos
->
type
()
==
Item
::
FIELD_ITEM
)
{
{
Item_field
*
item
;
Item_field
*
item
;
...
@@ -9111,13 +9113,21 @@ setup_copy_fields(THD *thd, TMP_TABLE_PARAM *param,
...
@@ -9111,13 +9113,21 @@ 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
);
item
->
result_field
=
field
->
new_field
(
thd
->
mem_root
,
field
->
table
);
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
;
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
++
;
}
}
}
}
...
...
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