Permalink
Switch branches/tags
Commits on Apr 18, 2012
  1. Prepare release 1.0.2.

    lcastelli committed Apr 18, 2012
  2. support for php 5.4

    sebcode committed Apr 18, 2012
Commits on Nov 11, 2011
Commits on Jul 26, 2011
  1. Use RuntimeException instead of Exception for runtime errors

    lcastelli committed Jul 26, 2011
    As reported at #2 - PHP
    provides a more specific Exception class in the SPL extension for
    runtime errors. The use of this type is thus more precise.
    
    This change makes CHDB dependent on the SPL extension, but since it's
    compiled by default since PHP 5.0 and required since PHP 5.3 this
    shouldn't be a big issue.
Commits on Mar 19, 2011
  1. Prepare release 1.0.1

    lcastelli committed Mar 19, 2011
  2. Make sure to use POSIX strerror_r

    lcastelli committed Mar 19, 2011
    Apparently in some setups the PHP header files define _GNU_SOURCE,
    which has the effect of forcing the use of a variant of strerror_r
    which is different from what is expected. This works-around the problem
    by including the POSIX header files first.
  3. Bug 22600: fix possible segfault in 64 bit systems

    lcastelli committed Mar 19, 2011
    Because of a missing include the compiler was implicitly declaring the
    PHP functions for throwing exceptions. This could segfault in a 64-bit
    system because the pointer returned from zend_exception_get_default was
    being truncated to a 32-bit value.
    
    This fixes the problem, enables all compiler warnings, and cleans-up
    some other code a bit.
Commits on Mar 10, 2011
Commits on Jul 21, 2010
  1. Bump chdb version.

    lcastelli committed Jul 21, 2010
Commits on Jul 7, 2010
  1. Removed user-space caching of open chdb files.

    lcastelli committed Jul 7, 2010
    While this modification can make some artificial benchmarks slower, it
    is unlikely that it will significantly affect any realistic workload,
    since the time it takes to load and unload a chdb file is in the order
    of 10 microseconds.
    
    On the other hand by avoiding user-space caching, the newest version of
    a file can be loaded each time a PHP chdb instance is created, thus
    allowing the use of chdb for slowly changing data. Chdb files are now
    also unloaded as soon as the corresponding chdb object is destroyed,
    making better use of memory in certain scenarios.
    
    Kernel-level caching should still provide reuse of the same physical
    pages across multiple requests.
Commits on Jun 17, 2010
  1. Fix spelling mistake.

    lcastelli committed Jun 17, 2010
Commits on Jun 16, 2010
  1. Update INSTALL instructions.

    lcastelli committed Jun 16, 2010
  2. Fix config.m4 glitches.

    lcastelli committed Jun 16, 2010
  3. Add PEAR support.

    lcastelli committed Jun 16, 2010
Commits on Jun 3, 2010
  1. Initial commit.

    lcastelli committed Jun 3, 2010