File tree 1 file changed +10
-5
lines changed
1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -1413,17 +1413,22 @@ void QgsPostgresProvider::findColumns(tableCols& cols)
1413
1413
<< " refers to.\n " ;
1414
1414
#endif
1415
1415
1416
- ii = columnRelations.find (QString (ii->second .table_schema + ' .' +
1417
- ii->second .table_name + ' .' +
1418
- ii->second .column_name ));
1419
- if (ii == columnRelations.end ())
1416
+ columnRelationsType::const_iterator
1417
+ jj = columnRelations.find (QString (ii->second .table_schema + ' .' +
1418
+ ii->second .table_name + ' .' +
1419
+ ii->second .column_name ));
1420
+
1421
+ if (jj == columnRelations.end ())
1420
1422
{
1421
- std::cerr << " ERROR : Failed to find the column that "
1423
+ std::cerr << " WARNING : Failed to find the column that "
1422
1424
<< ii->second .table_schema .local8Bit ().data () << ' .'
1423
1425
<< ii->second .table_name .local8Bit ().data () << " ."
1424
1426
<< ii->second .column_name .local8Bit ().data ()
1425
1427
<< " refers to.\n " ;
1428
+ break ;
1426
1429
}
1430
+
1431
+ ii = jj;
1427
1432
++count;
1428
1433
}
1429
1434
You can’t perform that action at this time.
0 commit comments