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


  •  
     
     
    sesam_settransaction

    sesam_settransaction

    (PHP 3 CVS only)

    sesam_settransaction __ Set SESAM transaction parameters

    Description

    bool sesam_settransaction ( int isolation_level, int read_only)

    Returns: TRUE if the values are valid, and the settransaction() operation was successful, FALSE otherwise_

    sesam_settransaction() overrides the default values for the "isolation level" and "read_only" transaction parameters (which are set in the SESAM configuration file), in order to optimize subsequent queries and guarantee database consistency_ The overridden values are used for the next transaction only_

    sesam_settransaction() can only be called before starting a transaction, not after the transaction has been started already_

    To simplify the use in php scripts, the following constants have been predefined in php (see SESAM handbook for detailed explanation of the semantics):

    Tabla 1_ Valid values for "Isolation_Level" parameter

    ValueConstantMeaning
    1SESAM_TXISOL_READ_UNCOMMITTEDRead Uncommitted
    2SESAM_TXISOL_READ_COMMITTEDRead Committed
    3SESAM_TXISOL_REPEATABLE_READRepeatable Read
    4SESAM_TXISOL_SERIALIZABLESerializable

    Tabla 2_ Valid values for "Read_Only" parameter

    ValueConstantMeaning
    0SESAM_TXREAD_READWRITERead/Write
    1SESAM_TXREAD_READONLYRead_Only

    The values set by sesam_settransaction() will override the default setting specified in the SESAM configuration file_

    Ejemplo 1_ Setting SESAM transaction parameters

    <?php
    sesam_settransaction (SESAM_TXISOL_REPEATABLE_READ,
                         SESAM_TXREAD_READONLY);
    ?>

     
       



    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