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
909fcea6
Commit
909fcea6
authored
Nov 17, 2007
by
tnurnberg@mysql.com/white.intern.koehntopp.de
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#24907: unpredictable (display) precission, if input precission increases
post-merge fixes: some things work differently in 5.1
parent
18fc7357
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mysql-test/r/type_newdecimal.result
mysql-test/r/type_newdecimal.result
+1
-1
sql/sql_select.cc
sql/sql_select.cc
+1
-1
No files found.
mysql-test/r/type_newdecimal.result
View file @
909fcea6
...
@@ -1521,7 +1521,7 @@ f1
...
@@ -1521,7 +1521,7 @@ f1
DROP TABLE t1;
DROP TABLE t1;
CREATE TABLE t1 SELECT 123451234512345123451234512345123451234512345.678906789067890678906789067890678906789067890 AS f1;
CREATE TABLE t1 SELECT 123451234512345123451234512345123451234512345.678906789067890678906789067890678906789067890 AS f1;
Warnings:
Warnings:
Warning 1264 Out of range value
adjusted
for column 'f1' at row 1
Warning 1264 Out of range value for column 'f1' at row 1
DESC t1;
DESC t1;
Field Type Null Key Default Extra
Field Type Null Key Default Extra
f1 decimal(59,30) NO 0.000000000000000000000000000000
f1 decimal(59,30) NO 0.000000000000000000000000000000
...
...
sql/sql_select.cc
View file @
909fcea6
...
@@ -9219,7 +9219,7 @@ static Field *create_tmp_field_from_item(THD *thd, Item *item, TABLE *table,
...
@@ -9219,7 +9219,7 @@ static Field *create_tmp_field_from_item(THD *thd, Item *item, TABLE *table,
}
}
new_field
=
new
Field_new_decimal
(
len
,
maybe_null
,
item
->
name
,
new_field
=
new
Field_new_decimal
(
len
,
maybe_null
,
item
->
name
,
table
,
dec
,
item
->
unsigned_flag
);
dec
,
item
->
unsigned_flag
);
break
;
break
;
}
}
case
ROW_RESULT
:
case
ROW_RESULT
:
...
...
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