Skip to content

Quick Symbian Factoid #5 : Fix for DBMS-TABLE 14 panic.

This panic is caused by calling successive commits on a single transaction or calling a commit when no transaction has taken place.
So the offending code would look something like this :


The PutL function will perform the db operation like insert or update and then perform a commit as well. Hence the Commit() call is redundant.
The undocumented panic codes are listed here in the S60 wiki.
If you find information to share about other DBMS error codes, feel free to comment about it here.

Update : This has been a bit of a wrong diagnosis. The DBMS-TABLE 14 is caused by calling a RDbNamedDatabase::Commit() when no RDbNamedDatabase::Begin() has been called. So remember every Begin() has to end with a Commit().