MySQL Forums
Forum List  »  Connector/C++

Connector 1.1.19 cpp getstring error
Posted by: Jean BEZET
Date: January 31, 2020 09:29AM

Hy

Visual studio 2019 I have a menory failed at the end off the code:
when i'm over the instruction break it's try to delete the string tt
and it's make a exeption !!!

the query extract the correclyt data from the database only one record and row.


while (result->next())
{
string tt = result->getString("date");
Mess_DATE = tt.c_str();
if (tt.c_str() != CHAINE_VIDE)
{
Error = (int)Calcul_Date::BD_OK;
Extract_Date(tt.c_str());
}
else
{
// Error MDP or password invalid
Error = (int)Calcul_Date::BD_INVALID_USER_OR_PASSWORD;
}
break;
}

Options: ReplyQuote


Subject
Views
Written By
Posted
Connector 1.1.19 cpp getstring error
961
January 31, 2020 09:29AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.