mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
- Working on eliminating valgrind warning/errors
modified: storage/connect/tabdos.cpp storage/connect/tabfix.cpp storage/connect/value.cpp
This commit is contained in:
@@ -1047,7 +1047,7 @@ bool DOSCOL::SetBuffer(PGLOBAL g, PVAL value, bool ok, bool check)
|
||||
/***********************************************************************/
|
||||
void DOSCOL::ReadColumn(PGLOBAL g)
|
||||
{
|
||||
char *p;
|
||||
char *p = NULL;
|
||||
int i, rc;
|
||||
int field;
|
||||
double dval;
|
||||
|
||||
@@ -327,7 +327,7 @@ BINCOL::BINCOL(BINCOL *col1, PTDB tdbp) : DOSCOL(col1, tdbp)
|
||||
/***********************************************************************/
|
||||
void BINCOL::ReadColumn(PGLOBAL g)
|
||||
{
|
||||
char *p;
|
||||
char *p = NULL;
|
||||
int rc;
|
||||
PTDBFIX tdbp = (PTDBFIX)To_Tdb;
|
||||
|
||||
|
||||
@@ -1034,7 +1034,6 @@ void TYPVAL<PSZ>::SetValue(char c)
|
||||
void TYPVAL<PSZ>::SetBinValue(void *p)
|
||||
{
|
||||
SetValue_char((char *)p, Len);
|
||||
Null = false;
|
||||
} // end of SetBinValue
|
||||
|
||||
/***********************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user