1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-20 05:03:10 +03:00

Some bugfixes for numerical library.

This commit is contained in:
Michael Meskes
2003-03-18 10:46:39 +00:00
parent a6f00f3939
commit 6fad73ed45
8 changed files with 51 additions and 16 deletions

View File

@ -1,4 +1,4 @@
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.1 2003/03/16 10:42:53 meskes Exp $ */
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.2 2003/03/18 10:46:39 meskes Exp $ */
/*
* The aim is to get a simpler inteface to the database routines.
@ -861,7 +861,7 @@ ECPGstore_input(const struct statement * stmt, const struct variable * var,
}
else
{
*str = PGTYPESnumeric_ntoa((NumericVar *)(var->value));
str = PGTYPESnumeric_ntoa((NumericVar *)(var->value));
slen = strlen (str);
if (!(mallocedval = ECPGalloc(slen + 1, stmt->lineno)))