PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » DB » Bug #4281

PEAR - nextID

Details

Submitted2005-05-04 20:45 UTC
Fromrodrigo_brancaglion at terra dot com dot br
Assigneddanielc
StatusBogus
PackageDB
PHP VersionIrrelevant
OSlinux
Roadmaps(Not assigned)

Comments

[2005-05-04 20:45 UTC] rodrigo_brancaglion at terra dot com dot br

Description:
------------
Ao executar o 'nextID', obtenho o erro:

"Call to undefined function: getcode()"

..., constatei que o PEAR não esta criando a tabela '_seq', uma vez que se eu cria-la direto no banco de dados, afunção nextID funciona somente incrementando os 'id´s', mais o que no caso a propria função 'nextID' deveria criar tanto a tabela quanto incrementar os 'id´s'.

Reproduce code:
---------------
Call to undefined function: getcode()

[2005-05-05 02:04 UTC] rodrigo_brancaglion at terra dot com dot br

When executing 'nextID', I get the error:

"Call to undefined function: getcode()"

..., I evidenced more that the PEAR this not creating the table '_seq', a time that if I it direct in the data base creates, the function nextID only functions developing 'id's', what in the case the only function 'nextID' would have to create in such a way the table how much to develop 'id's'.

[2005-05-05 12:19 UTC] rodrigo_brancaglion at terra dot com dot br

It will be that the problem would be associated with the type of permission of 'data base'?

[2005-05-05 15:50 UTC] rodrigo_brancaglion at terra dot com dot br

I am using the function thus:

//------------>
$id_acessos = $db->nextID('acessos');
//------------>

exactly thus this not being created the table.