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
f2fa6fd3
Commit
f2fa6fd3
authored
Dec 07, 2004
by
gluh@gluh.mysql.r18.ru
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
477093eb
a98c2992
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
mysql-test/r/ps_1general.result
mysql-test/r/ps_1general.result
+2
-2
mysql-test/t/key_cache.test
mysql-test/t/key_cache.test
+3
-3
sql/field.cc
sql/field.cc
+1
-1
No files found.
mysql-test/r/ps_1general.result
View file @
f2fa6fd3
...
@@ -273,11 +273,11 @@ t2 1 t2_idx 1 b A NULL NULL NULL YES BTREE
...
@@ -273,11 +273,11 @@ t2 1 t2_idx 1 b A NULL NULL NULL YES BTREE
prepare stmt4 from ' show table status from test like ''t2%'' ';
prepare stmt4 from ' show table status from test like ''t2%'' ';
execute stmt4;
execute stmt4;
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment
t2 MyISAM 9 Fixed 0 0
0 64424509439 1024
0 NULL # # # latin1_swedish_ci NULL
t2 MyISAM 9 Fixed 0 0
# # #
0 NULL # # # latin1_swedish_ci NULL
prepare stmt4 from ' show table status from test like ''t9%'' ';
prepare stmt4 from ' show table status from test like ''t9%'' ';
execute stmt4;
execute stmt4;
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment
t9 MyISAM 9 Dynamic 2 220
440 4294967295 2048
0 NULL # # # latin1_swedish_ci NULL
t9 MyISAM 9 Dynamic 2 220
# # #
0 NULL # # # latin1_swedish_ci NULL
prepare stmt4 from ' show status like ''Threads_running'' ';
prepare stmt4 from ' show status like ''Threads_running'' ';
execute stmt4;
execute stmt4;
Variable_name Value
Variable_name Value
...
...
mysql-test/t/key_cache.test
View file @
f2fa6fd3
...
@@ -71,7 +71,7 @@ show status like 'key_blocks_used';
...
@@ -71,7 +71,7 @@ show status like 'key_blocks_used';
# Following results differs on 64 and 32 bit systems because of different
# Following results differs on 64 and 32 bit systems because of different
# pointer sizes, which takes up different amount of space in key cache
# pointer sizes, which takes up different amount of space in key cache
--
replace_result
1812
KEY_BLOCKS_UNUSED
1793
KEY_BLOCKS_UNUSED
1674
KEY_BLOCKS_UNUSED
1818
KEY_BLOCKS_UNUSED
--
replace_result
1812
KEY_BLOCKS_UNUSED
1793
KEY_BLOCKS_UNUSED
1674
KEY_BLOCKS_UNUSED
1818
KEY_BLOCKS_UNUSED
1824
KEY_BLOCKS_UNUSED
show
status
like
'key_blocks_unused'
;
show
status
like
'key_blocks_unused'
;
insert
into
t1
values
(
1
,
'qqqq'
),
(
11
,
'yyyy'
);
insert
into
t1
values
(
1
,
'qqqq'
),
(
11
,
'yyyy'
);
...
@@ -84,7 +84,7 @@ update t1 set p=2 where p=1;
...
@@ -84,7 +84,7 @@ update t1 set p=2 where p=1;
update
t2
set
i
=
2
where
i
=
1
;
update
t2
set
i
=
2
where
i
=
1
;
show
status
like
'key_blocks_used'
;
show
status
like
'key_blocks_used'
;
--
replace_result
1808
KEY_BLOCKS_UNUSED
1789
KEY_BLOCKS_UNUSED
1670
KEY_BLOCKS_UNUSED
1814
KEY_BLOCKS_UNUSED
--
replace_result
1808
KEY_BLOCKS_UNUSED
1789
KEY_BLOCKS_UNUSED
1670
KEY_BLOCKS_UNUSED
1814
KEY_BLOCKS_UNUSED
1820
KEY_BLOCKS_UNUSED
show
status
like
'key_blocks_unused'
;
show
status
like
'key_blocks_unused'
;
cache
index
t1
key
(
`primary`
)
in
keycache1
;
cache
index
t1
key
(
`primary`
)
in
keycache1
;
...
@@ -146,7 +146,7 @@ cache index t1,t2 in default;
...
@@ -146,7 +146,7 @@ cache index t1,t2 in default;
drop
table
t1
,
t2
,
t3
;
drop
table
t1
,
t2
,
t3
;
show
status
like
'key_blocks_used'
;
show
status
like
'key_blocks_used'
;
--
replace_result
1812
KEY_BLOCKS_UNUSED
1793
KEY_BLOCKS_UNUSED
1674
KEY_BLOCKS_UNUSED
1818
KEY_BLOCKS_UNUSED
--
replace_result
1812
KEY_BLOCKS_UNUSED
1793
KEY_BLOCKS_UNUSED
1674
KEY_BLOCKS_UNUSED
1818
KEY_BLOCKS_UNUSED
1824
KEY_BLOCKS_UNUSED
show
status
like
'key_blocks_unused'
;
show
status
like
'key_blocks_unused'
;
# Cleanup
# Cleanup
...
...
sql/field.cc
View file @
f2fa6fd3
...
@@ -2145,7 +2145,7 @@ int Field_longlong::store(double nr)
...
@@ -2145,7 +2145,7 @@ int Field_longlong::store(double nr)
set_warning
(
MYSQL_ERROR
::
WARN_LEVEL_WARN
,
ER_WARN_DATA_OUT_OF_RANGE
,
1
);
set_warning
(
MYSQL_ERROR
::
WARN_LEVEL_WARN
,
ER_WARN_DATA_OUT_OF_RANGE
,
1
);
error
=
1
;
error
=
1
;
}
}
else
if
(
nr
>=
(
double
)
LONGLONG_MAX
)
else
if
(
nr
>=
(
double
)
(
ulonglong
)
LONGLONG_MAX
)
{
{
res
=
(
longlong
)
LONGLONG_MAX
;
res
=
(
longlong
)
LONGLONG_MAX
;
set_warning
(
MYSQL_ERROR
::
WARN_LEVEL_WARN
,
ER_WARN_DATA_OUT_OF_RANGE
,
1
);
set_warning
(
MYSQL_ERROR
::
WARN_LEVEL_WARN
,
ER_WARN_DATA_OUT_OF_RANGE
,
1
);
...
...
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