Was this a current-only bug or should this be backported?
On 2009-08-07 16:10, Niels Nes wrote:
> Update of /cvsroot/monetdb/MonetDB5/src/modules/mal
> In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv6865/src/modules/mal
>
> Modified Files:
> tablet.mx
> Log Message:
> output correct line numbers
>
>
> U tablet.mx
> Index: tablet.mx
> ===================================================================
> RCS file: /cvsroot/monetdb/MonetDB5/src/modules/mal/tablet.mx,v
> retrieving revision 1.207
> retrieving revision 1.208
> diff -u -d -r1.207 -r1.208
> --- tablet.mx 7 Aug 2009 06:25:15 -0000 1.207
> +++ tablet.mx 7 Aug 2009 14:10:01 -0000 1.208
> @@ -2140,7 +2140,7 @@
> mal_set_lock(mal_contextLock,"tablet insert value");
> if ( *err == NULL){
> snprintf(buf,BUFSIZ, "value '%s' while parsing '%s'
> from line " BUNFMT
> - " field %d not inserted, expecting type %s\n",
> val, s, BATcount(fmt->c), c, fmt->type);
> + " field %d not inserted, expecting type %s\n",
> val, s, BATcount(fmt->c)+1, c, fmt->type);
> *err= GDKstrdup(buf);
> }
> mal_unset_lock(mal_contextLock,"tablet insert value");
> @@ -2155,7 +2155,7 @@
> }
> return 0;
> bunins_failed:
> - snprintf(buf,BUFSIZ, "while parsing '%s' from line " BUNFMT " field %d
> not inserted\n", s, BATcount(fmt->c), c);
> + snprintf(buf,BUFSIZ, "while parsing '%s' from line " BUNFMT " field %d
> not inserted\n", s, BATcount(fmt->c)+1, c);
> *err= GDKstrdup(buf);
> return -1;
> }
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Monetdb-checkins mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/monetdb-checkins
--
Sjoerd Mullender
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-developers