Displaying 3 results from an estimated 3 matches for "tds_process_simple_query".
2007 Nov 21
1
Problem installing Asterisk
...SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS
-fomit-frame-pointer -fPIC -DFREETDS_PRE_0_62 -c -o cdr_tds.o cdr_tds.c
cdr_tds.c:82:2: warning: #warning "You have older TDS, you should upgrade!"
cdr_tds.c: In function `tds_log':
cdr_tds.c:208: error: too many arguments to function
`tds_process_simple_query'
cdr_tds.c: In function `mssql_connect':
cdr_tds.c:326: error: `TDSCONNECTINFO' undeclared (first use in this
function)
cdr_tds.c:326: error: (Each undeclared identifier is reported only once
cdr_tds.c:326: error: for each function it appears in.)
cdr_tds.c:326: error: `connection'...
2007 Jun 27
2
Problems compiling Asterisk 1.4.5
Hi! I have this errors compiling Asterisk 1.4.5
cdr_tds.c:86:2: warning: #warning "You have older TDS, you should upgrade!"
cdr_tds.c: In function `tds_log':
cdr_tds.c:213: error: too many arguments to function
`tds_process_simple_query'
cdr_tds.c: In function `mssql_connect':
cdr_tds.c:326: error: `TDSCONNECTINFO' undeclared (first use in this
function)
cdr_tds.c:326: error: (Each undeclared identifier is reported only once
cdr_tds.c:326: error: for each function it appears in.)
cdr_tds.c:326: error: `connection'...
2005 Aug 25
2
Custom Application For Asterisk
...strncpy(myretnumber, (const char *) (value+4), strlen((const char *) value)-4);
}
}
if(!strcmp(resulttype,"NEW")){
sprintf(mysqlcmd, "Execute MyStoredProc \'%s\'\0",((char *) data));
if ((tds_submit_query(tds, mysqlcmd) != TDS_SUCCEED) || (tds_process_simple_query(tds) != TDS_SUCCEED)) {
ast_verbose(VERBOSE_PREFIX_3 "Failed to query database.\n");
ast_mutex_unlock(&tdslock);
res = -1;
return res;
}
sprintf(mysqlcmd, "Select MyFunction(\'%s\') As result \0",((char *) data));
if ((td...