Searched refs:cursorname (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c1481 char *cursorname; local
1497 cursorname = emalloc(max_len + 1);
1498 rc = SQLGetCursorName(result->stmt,cursorname,(SQLSMALLINT)max_len,&len);
1509 snprintf(cursorname, max_len+1, "php_curs_%d", (int)result->stmt);
1510 if (SQLSetCursorName(result->stmt,cursorname,SQL_NTS) != SQL_SUCCESS) {
1514 RETVAL_STRING(cursorname,1);
1521 RETVAL_STRING(cursorname,1);
1523 efree(cursorname);

Completed in 11 milliseconds