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

/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c1503 char *cursorname; local
1521 cursorname = emalloc(max_len + 1);
1522 rc = SQLGetCursorName(result->stmt,cursorname,(SQLSMALLINT)max_len,&len);
1533 snprintf(cursorname, max_len+1, "php_curs_%d", (int)result->stmt);
1534 if (SQLSetCursorName(result->stmt,cursorname,SQL_NTS) != SQL_SUCCESS) {
1538 RETVAL_STRING(cursorname);
1545 RETVAL_STRING(cursorname);
1547 efree(cursorname);

Completed in 7 milliseconds