php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #63080 [FR] Support databases with <= 1 keys
Submitted: 2012-09-13 12:21 UTC Modified: -
From: jille at hexon dot cx Assigned:
Status: Open Package: chdb (PECL)
PHP Version: 5.4.6 OS: n/a
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jille at hexon dot cx
New email:
PHP Version: OS:

 

 [2012-09-13 12:21 UTC] jille at hexon dot cx
Description:
------------
It would be nice if we also supported databases without any keys or with only a single key.

Test script:
---------------
<?php
  chdb_create("test.db", array("a" => "b"));
?>

Actual result:
--------------
Fatal error: Uncaught exception 'RuntimeException' with message 'Error generating 'test.db': Invalid argument'

Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC