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

/PHP_5_3/ext/sqlite3/
H A Dsqlite3.c915 char *sql_func, *callback_name; local
923 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz|l", &sql_func, &sql_func_len, &callback_func, &sql_func_num_args) == FAILURE) {
940 if (sqlite3_create_function(db_obj->db, sql_func, sql_func_num_args, SQLITE_UTF8, func, php_sqlite3_callback_func, NULL, NULL) == SQLITE_OK) {
941 func->func_name = estrdup(sql_func);
965 char *sql_func, *callback_name; local
973 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "szz|l", &sql_func, &sql_func_len, &step_callback, &fini_callback, &sql_func_num_args) == FAILURE) {
997 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) {
998 func->func_name = estrdup(sql_func);

Completed in 7 milliseconds