sql: use _rowid_ instead of rowid

This doesn't really solve the problem, but reduces the chance
to have a nameclash with rowid, until we come up with something better
we can't fully support tables with a column name _rowid_ but that should
be very seldom
This commit is contained in:
Peinthor Rene
2014-08-22 23:21:44 +02:00
parent 3b907df8e3
commit 55678bb945
4 changed files with 6 additions and 6 deletions

View File

@@ -57,7 +57,7 @@ bool Field::isInteger() const
void Table::clear()
{
m_fields.clear();
m_rowidColumn = "rowid";
m_rowidColumn = "_rowid_";
}
Table::~Table()