for (i = 0, j = 0; ptr[i]; i++)
if (ptr[i] == '.')
{
- strncpy_null(&new_string[j], lc->decimal_point, strlen(lc->decimal_point));
+ strncpy_null(&new_string[j], lc->decimal_point, cbValueMax - j);
j += strlen(lc->decimal_point);
}
else
continue;
if (sptr == str) /* the first character */
{
- if (dquote = (IDENTIFIER_QUOTE == tchar))
+ if (dquote = (IDENTIFIER_QUOTE == tchar), dquote)
continue;
if (!isalpha(tchar))
{
*/
else if (oldchar == ODBC_ESCAPE_START)
{
- int npos = F_NewPos(qb);
- BOOL addsp = TRUE;
- unsigned char tchar;
-
if (SQL_ERROR == convert_escape(qp, qb))
{
if (0 == qb->errornumber)