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

/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c1475 char *cursorname; local
1493 cursorname = emalloc(max_len + 1);
1494 rc = SQLGetCursorName(result->stmt,cursorname,(SQLSMALLINT)max_len,&len);
1505 snprintf(cursorname, max_len+1, "php_curs_%d", (int)result->stmt);
1506 if (SQLSetCursorName(result->stmt,cursorname,SQL_NTS) != SQL_SUCCESS) {
1510 RETVAL_STRING(cursorname);
1517 RETVAL_STRING(cursorname);
1519 efree(cursorname);

Completed in 7 milliseconds