#At file:///export/home/jl208045/mysql/mysql-next-mr-opt-backporting-49129/ based on revid:jorgen.loland@stripped
3235 Jorgen Loland 2010-09-02
Cast return of log10(double) to int to avoid warning
modified:
sql/sql_select.cc
=== modified file 'sql/sql_select.cc'
--- a/sql/sql_select.cc 2010-09-02 07:34:10 +0000
+++ b/sql/sql_select.cc 2010-09-02 14:20:05 +0000
@@ -22167,7 +22167,7 @@ void select_describe(JOIN *join, bool ne
{
SELECT_LEX *last_select= join->unit->first_select()->last_select();
// # characters needed to print select_number of last select
- int last_length= log10((double)last_select->select_number)+1;
+ int last_length= (int)log10((double)last_select->select_number)+1;
SELECT_LEX *sl= join->unit->first_select();
uint len= 6, lastop= 0;
Attachment: [text/bzr-bundle] bzr/jorgen.loland@oracle.com-20100902142005-fgs50vx5edrv7eu2.bundle
| Thread |
|---|
| • bzr commit into mysql-next-mr-bugfixing branch (jorgen.loland:3235) | Jorgen Loland | 2 Sep |