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

/PHP_5_4/ext/interbase/
H A Dinterbase.c108 ZEND_ARG_INFO(0, generator)
1410 /* {{{ proto int ibase_gen_id(string generator [, int increment [, resource link_identifier ]])
1411 Increments the named generator and returns its new value */
1415 char query[128], *generator; local
1425 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lr", &generator, &gen_len,
1431 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid generator name");
1437 snprintf(query, sizeof(query), "SELECT GEN_ID(%s,%ld) FROM rdb$database", generator, inc);
1456 /* don't return the generator value as a string unless it doesn't fit in a long */

Completed in 13 milliseconds