Hi there,

I'd like to use sqlite3 as a database for my system.  I'm using
the actual version of sqlite3 driver found at ticket #3003.

I'm calling saveAll and getting the following error:

Call to undefined method PDOStatement::beginTransaction at line
dbo_sqlite3.php line 287
...

In that  file, I'm suspecting the line...

if ($this->pdo_statement->beginTransaction()) {

...should  be...

if ($this->connection->beginTransaction()) {

Doing this, gave me "cannot open a transaction within a transaction"
errors.  I've included the condition
$this->_transactionStarted
in the previous test but without success.

Also, was happening an error in the dbo's describe method
that seems not found the table and tablePrefix keys at database
configurations.  I've made a bypass fix, hardcoding an empty
prefix.

I'm still a Cake's newbie and I don't know exactly to help to fix
these issues.  But I hope this kind of feedback could help.  I
think the sqlite3 support is a very nice improvement to CakePHP.

That's it.

Best regards.

--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105

http://mfandrade.wordpress.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

<<attachment: dbo_sqlite3.php>>

Reply via email to