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

/PHP_TRUNK/ext/sqlite3/
H A Dsqlite3.c893 char *sql_func; local
902 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sz|l", &sql_func, &sql_func_len, &callback_func, &sql_func_num_args) == FAILURE) {
919 if (sqlite3_create_function(db_obj->db, sql_func, sql_func_num_args, SQLITE_UTF8, func, php_sqlite3_callback_func, NULL, NULL) == SQLITE_OK) {
920 func->func_name = estrdup(sql_func);
943 char *sql_func; local
952 if (zend_parse_parameters(ZEND_NUM_ARGS(), "szz|l", &sql_func, &sql_func_len, &step_callback, &fini_callback, &sql_func_num_args) == FAILURE) {
976 if (sqlite3_create_function(db_obj->db, sql_func, sql_func_num_args, SQLITE_UTF8, func, NULL, php_sqlite3_callback_step, php_sqlite3_callback_final) == SQLITE_OK) {
977 func->func_name = estrdup(sql_func);

Completed in 5 milliseconds