Changeset 11197
- Timestamp:
- 04/03/07 20:12:30 (2 years ago)
- Files:
-
- trunk/autotest/ogr/ogr_sql_test.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/autotest/ogr/ogr_sql_test.py
r11065 r11197 315 315 316 316 ############################################################################### 317 # Verify that selecting with filtering by FID works properly. 318 319 def ogr_sql_15(): 320 321 expect = [ 7 ] 322 323 sql_lyr = gdaltest.ds.ExecuteSQL( 'select fid,eas_id,prfedea from poly where fid = %d' % expect[0] ) 324 325 tr = ogrtest.check_features_against_list( sql_lyr, 'fid', expect ) 326 327 gdaltest.ds.ReleaseResultSet( sql_lyr ) 328 329 if tr: 330 return 'success' 331 else: 332 return 'fail' 333 334 335 ############################################################################### 317 336 318 337 def ogr_sql_cleanup(): … … 339 358 ogr_sql_13, 340 359 ogr_sql_14, 360 ogr_sql_15, 341 361 ogr_sql_cleanup ] 342 362
