+ small fix
This commit is contained in:
parent
f4f1cd4c59
commit
7537c14d77
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ sqlite_datasource::sqlite_datasource(parameters const& params)
|
|||
{
|
||||
std::ostringstream s;
|
||||
s << "select count (*) from sqlite_master";
|
||||
s << " where lower(name) = lower('idx_" << table_ << "_" << geometry_field_ << "')";
|
||||
s << " where lower(name) = lower('idx_" << table_name << "_" << geometry_field_ << "')";
|
||||
boost::scoped_ptr<sqlite_resultset> rs (dataset_->execute_query (s.str()));
|
||||
if (rs->is_valid () && rs->step_next())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue