~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/decimal.c

  • Committer: Monty Taylor
  • Date: 2008-08-10 06:28:58 UTC
  • mto: (312.1.3 translations)
  • mto: This revision was merged to the branch mainline in revision 295.
  • Revision ID: monty@inaugust.com-20080810062858-d4oevczsgdf47pts
Const correctness change.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   along with this program; if not, write to the Free Software
14
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
 
#line 18 "decimal.c"
17
 
 
18
16
/*
19
17
=======================================================================
20
18
  NOTE: this library implements SQL standard "exact numeric" type
783
781
*/
784
782
 
785
783
int
786
 
internal_str2dec(const char *from, decimal_t *to, char **end, bool fixed)
 
784
internal_str2dec(char *from, decimal_t *to, char **end, bool fixed)
787
785
{
788
 
  const char *s= from, *s1;
 
786
  char *s= from, *s1;
789
787
  char *end_of_string = *end;
790
788
  char *endp;
791
789
  int i, intg, frac, error, intg1, frac1;