zabbix-agent2/src/libs/zbxdbcache/dbsync.c
/******************************************************************************
 *                                                                            *
 * Function: dbsync_check_row_macros                                          *
 *                                                                            *
 * Purpose: checks if the specified column in the row contains user macros    *
 *                                                                            *
 * Parameter: row    - [IN] the row to check                                  *
 *            column - [IN] the column index                                  *
 *                                                                            *
 * Comments: While not definite, this check is used to filter out rows before *
 *           doing more precise (and resource intense) checks.                *
 *                                                                            *
 ******************************************************************************/
dbsync_check_row_macros

Purpose: checks if the specified column in the row contains user macros

Parameter: row    - [IN] the row to check
column - [IN] the column index

Comments: While not definite, this check is used to filter out rows before
doing more precise (and resource intense) checks.
dbsync_check_row_macros Purpose : checks if the specified column in the row contains user macros Parameter : row - [ IN ] the row to check column - [ IN ] the column index Comments : While not definite this check is used to filter out rows before doing more precise ( and resource intense ) checks .
static int	dbsync_check_row_macros(char **row, int column)
{
	if (NULL != strstr(row[column], "{$"))
		return SUCCEED;
	return FAIL;
}
static int dbsync_check_row_macros ( char * * row , int column ) { if ( NULL != strstr ( row [ column ] , " " ) ) return SUCCEED ; return FAIL ; }
Function: dbsync_check_row_macros                                          
                                                                            
 Purpose: checks if the specified column in the row contains user macros    
                                                                            
 Parameter: row    - [IN] the row to check                                  
            column - [IN] the column index                                  
                                                                            
 Comments: While not definite, this check is used to filter out rows before 
           doing more precise (and resource intense) checks.
Function : dbsync_check_row_macros Purpose : checks if the specified column in the row contains user macros Parameter : row - [ IN ] the row to check column - [ IN ] the column index Comments : While not definite this check is used to filter out rows before doing more precise ( and resource intense ) checks .