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

/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c1459 char *cursorname; local
1475 cursorname = emalloc(max_len + 1);
1476 rc = SQLGetCursorName(result->stmt,cursorname,(SQLSMALLINT)max_len,&len);
1487 snprintf(cursorname, max_len+1, "php_curs_%d", (int)result->stmt);
1488 if (SQLSetCursorName(result->stmt,cursorname,SQL_NTS) != SQL_SUCCESS) {
1492 RETVAL_STRING(cursorname,1);
1499 RETVAL_STRING(cursorname,1);
1501 efree(cursorname);

Completed in 7 milliseconds