Hosting de Calidad
  • Inicio
  • Precios y servicios
  • F.a.q y ayudas
  • Realizar pedido
  • Webs alojadas
  • Quienes somos
  • Foro HyD
  • Contacto

    Zona Dominios

    Entrar
    registro de dominios


    Zona Hosting

    Entrar
    alojamiento web


    5 Métodos de Pago
    Tarjeta de crédito
    Domiciliación
    Transferencia
    Soporte Epagado
    Soporte Paypal

    Liberalización .es

    Ver mas
    dominios .es


  •  
     
     
    DB++ Functions

    XXI_ DB++ Functions

    Aviso

    Esta extensión es EXPERIMENTAL_ Esto significa que el comportamiento de esta extensión, los nombre de sus funciones y en definitiva TODO lo documentado sobre esta extensión, puede cambiar en una futura versión de PHP SIN AVISO_ La advertencia queda hecha, y utilizar esta extensión queda bajo su propia responsabiliad_

    Introducción

    db++, made by the German company Concept asa, is a relational database system with high performance and low memory and disk usage in mind_ While providing SQL as an additional language interface, it is not really a SQL database in the first place but provides its own AQL query language which is much more influenced by the relational algebra then SQL is_

    Concept asa always had an interest in supporting open source languages, db++ has had Perl and Tcl call interfaces for years now and uses Tcl as its internal stored procedure language_

    Requerimientos

    This extension relies on external client libraries so you have to have a db++ client installed on the system you want to use this extension on_

    Concept asa provides db++ Demo versions and documentation for Linux, some other UNIX versions_ There is also a Windows version of db++, but this extension doesn't support it (yet)_

    Instalación

    In order to build this extension yourself you need the db++ client libraries and header files to be installed on your system (these are included in the db++ installation archives by default)_ You have to run configure with option __with_dbplus to build this extension_

    configure looks for the client libraries and header files under the default paths /usr/dbplus, /usr/local/dbplus and /opt/dblus_ If you have installed db++ in a different place you have add the installation path to the configure option like this: __with_dbplus=/your/installation/path_

    Configuración en tiempo de ejecución

    Esta extensión no tiene directivas de configuración en php_ini_

    Tipos de recursos

    dbplus_relation

    Most db++ functions operate on or return dbplus_relation resources_ A dbplus_relation is a handle to a stored relation or a relation generated as the result of a query_

    Constantes predefinidas

    Estas constantes están definidas por esta extensión y estarán disponibles solamente cuando la extensión ha sido o bien compilada dentro de PHP o grabada dinámicamente en tiempo de ejecución_

    db++ error codes

    Tabla 1_ DB++ Error Codes

    PHP Constantdb++ constantmeaning
    DBPLUS_ERR_NOERR (integer) ERR_NOERRNull error condition
    DBPLUS_ERR_DUPLICATE (integer) ERR_DUPLICATETried to insert a duplicate tuple
    DBPLUS_ERR_EOSCAN (integer) ERR_EOSCANEnd of scan from rget()
    DBPLUS_ERR_EMPTY (integer) ERR_EMPTYRelation is empty (server)
    DBPLUS_ERR_CLOSE (integer) ERR_CLOSEThe server can't close
    DBPLUS_ERR_WLOCKED (integer) ERR_WLOCKEDThe record is write locked
    DBPLUS_ERR_LOCKED (integer) ERR_LOCKEDRelation was already locked
    DBPLUS_ERR_NOLOCK (integer) ERR_NOLOCKRelation cannot be locked
    DBPLUS_ERR_READ (integer) ERR_READRead error on relation
    DBPLUS_ERR_WRITE (integer) ERR_WRITEWrite error on relation
    DBPLUS_ERR_CREATE (integer) ERR_CREATECreate() system call failed
    DBPLUS_ERR_LSEEK (integer) ERR_LSEEKLseek() system call failed
    DBPLUS_ERR_LENGTH (integer) ERR_LENGTHTuple exceeds maximum length
    DBPLUS_ERR_OPEN (integer) ERR_OPENOpen() system call failed
    DBPLUS_ERR_WOPEN (integer) ERR_WOPENRelation already opened for writing
    DBPLUS_ERR_MAGIC (integer) ERR_MAGICFile is not a relation
    DBPLUS_ERR_VERSION (integer) ERR_VERSIONFile is a very old relation
    DBPLUS_ERR_PGSIZE (integer) ERR_PGSIZERelation uses a different page size
    DBPLUS_ERR_CRC (integer) ERR_CRCInvalid crc in the superpage
    DBPLUS_ERR_PIPE (integer) ERR_PIPEPiped relation requires lseek()
    DBPLUS_ERR_NIDX (integer) ERR_NIDXToo many secondary indices
    DBPLUS_ERR_MALLOC (integer) ERR_MALLOCMalloc() call failed
    DBPLUS_ERR_NUSERS (integer) ERR_NUSERSError use of max users
    DBPLUS_ERR_PREEXIT (integer) ERR_PREEXITCaused by invalid usage
    DBPLUS_ERR_ONTRAP (integer) ERR_ONTRAPCaused by a signal
    DBPLUS_ERR_PREPROC (integer) ERR_PREPROCError in the preprocessor
    DBPLUS_ERR_DBPARSE (integer) ERR_DBPARSEError in the parser
    DBPLUS_ERR_DBRUNERR (integer) ERR_DBRUNERRRun error in db
    DBPLUS_ERR_DBPREEXIT (integer) ERR_DBPREEXITExit condition caused by prexit() * procedure
    DBPLUS_ERR_WAIT (integer) ERR_WAITWait a little (Simple only)
    DBPLUS_ERR_CORRUPT_TUPLE (integer) ERR_CORRUPT_TUPLEA client sent a corrupt tuple
    DBPLUS_ERR_WARNING0 (integer) ERR_WARNING0 The Simple routines encountered a non fatal error which was corrected
    DBPLUS_ERR_PANIC (integer) ERR_PANIC The server should not really die but after a disaster send ERR_PANIC to all its clients
    DBPLUS_ERR_FIFO (integer) ERR_FIFOCan't create a fifo
    DBPLUS_ERR_PERM (integer) ERR_PERMPermission denied
    DBPLUS_ERR_TCL (integer) ERR_TCLTCL_error
    DBPLUS_ERR_RESTRICTED (integer) ERR_RESTRICTEDOnly two users
    DBPLUS_ERR_USER (integer) ERR_USER An error in the use of the library by an application programmer
    DBPLUS_ERR_UNKNOWN (integer) ERR_UNKNOWN 

    Tabla de contenidos
    dbplus_add __ Add a tuple to a relation
    dbplus_aql __ Perform AQL query
    dbplus_chdir __ Get/Set database virtual current directory
    dbplus_close __ Close a relation
    dbplus_curr __ Get current tuple from relation
    dbplus_errcode __  Get error string for given errorcode or last error
    dbplus_errno __ Get error code for last operation
    dbplus_find __ Set a constraint on a relation
    dbplus_first __ Get first tuple from relation
    dbplus_flush __ Flush all changes made on a relation
    dbplus_freealllocks __ Free all locks held by this client
    dbplus_freelock __ Release write lock on tuple
    dbplus_freerlocks __ Free all tuple locks on given relation
    dbplus_getlock __ Get a write lock on a tuple
    dbplus_getunique __ Get an id number unique to a relation
    dbplus_info __ ???
    dbplus_last __ Get last tuple from relation
    dbplus_lockrel __ Request write lock on relation
    dbplus_next __ Get next tuple from relation
    dbplus_open __ Open relation file
    dbplus_prev __ Get previous tuple from relation
    dbplus_rchperm __ Change relation permissions
    dbplus_rcreate __ Creates a new DB++ relation
    dbplus_rcrtexact __ Creates an exact but empty copy of a relation including indices
    dbplus_rcrtlike __ Creates an empty copy of a relation with default indices
    dbplus_resolve __ Resolve host information for relation
    dbplus_restorepos __ ???
    dbplus_rkeys __ Specify new primary key for a relation
    dbplus_ropen __ Open relation file local
    dbplus_rquery __ Perform local (raw) AQL query
    dbplus_rrename __ Rename a relation
    dbplus_rsecindex __  Create a new secondary index for a relation
    dbplus_runlink __ Remove relation from filesystem
    dbplus_rzap __ Remove all tuples from relation
    dbplus_savepos __ ???
    dbplus_setindex __ ???
    dbplus_setindexbynumber __ ???
    dbplus_sql __ Perform SQL query
    dbplus_tcl __ Execute TCL code on server side
    dbplus_tremove __ Remove tuple and return new current tuple
    dbplus_undo __ ???
    dbplus_undoprepare __ ???
    dbplus_unlockrel __ Give up write lock on relation
    dbplus_unselect __ Remove a constraint from relation
    dbplus_update __ Update specified tuple in relation
    dbplus_xlockrel __ Request exclusive lock on relation
    dbplus_xunlockrel __ Free exclusive lock on relation
     
       



    registro de dominios | alojamiento web | hosting por publicidad

       

     

    Manual de linux Manual de apache Manual de php Manual de mysql Manual de SQL Manual del Plesk Como funciona Paypal Manual de html