summaryrefslogtreecommitdiff
path: root/storage/connect/value.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'storage/connect/value.cpp')
-rw-r--r--storage/connect/value.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/storage/connect/value.cpp b/storage/connect/value.cpp
index 429593f07d9..b6c63bdadd3 100644
--- a/storage/connect/value.cpp
+++ b/storage/connect/value.cpp
@@ -561,7 +561,7 @@ bool VALUE::Compute(PGLOBAL g, PVAL *, int, OPVAL)
/***********************************************************************/
/* Make file output of an object value. */
/***********************************************************************/
-void VALUE::Print(PGLOBAL g, FILE *f, uint n)
+void VALUE::Printf(PGLOBAL g, FILE *f, uint n)
{
char m[64], buf[64];
@@ -571,14 +571,14 @@ void VALUE::Print(PGLOBAL g, FILE *f, uint n)
if (Null)
fprintf(f, "%s<null>\n", m);
else
- fprintf(f, strcat(strcat(GetCharString(buf), "\n"), m));
+ fprintf(f, "%s%s%s", GetCharString(buf), "\n", m);
} /* end of Print */
/***********************************************************************/
/* Make string output of an object value. */
/***********************************************************************/
-void VALUE::Print(PGLOBAL g, char *ps, uint z)
+void VALUE::Prints(PGLOBAL g, char *ps, uint z)
{
char *p, buf[64];
@@ -1712,7 +1712,7 @@ bool TYPVAL<PSZ>::SetConstFormat(PGLOBAL, FORMAT& fmt)
/***********************************************************************/
/* Make string output of an object value. */
/***********************************************************************/
-void TYPVAL<PSZ>::Print(PGLOBAL g, char *ps, uint z)
+void TYPVAL<PSZ>::Prints(PGLOBAL g, char *ps, uint z)
{
if (Null)
strncpy(ps, "null", z);