예제 #1
0
파일: mysql.cpp 프로젝트: sequoiar/SilkJS
static JSVAL field_tell(JSARGS args) {
	HandleScope scope;
	MYSQL_RES *result = (MYSQL_RES *) args[0]->IntegerValue();
	return scope.Close(Integer::New(mysql_field_tell(result)));
}
예제 #2
0
파일: mysql_common.cpp 프로젝트: 2bj/hhvm
int64_t MySQLResult::tellField() {
  if (!m_localized) {
    return mysql_field_tell(m_res);
  }
  return m_current_field;
}
예제 #3
0
/*	field_tell()		*/
static VALUE field_tell(VALUE obj)
{
    check_free(obj);
    return INT2NUM(mysql_field_tell(GetMysqlRes(obj)));
}