datamapper/dm-oracle-adapter — pull request #12 by jbajor (2012-10-22 21:31:05+00:00)
Title: "AND rownum" addition fix

Fixed addition of "AND rownum" for queries without "WHERE" clause. Problem observed with Padrino 0.10.7, DataMapper 1.2.0, will_paginate 3.0.3

```
DEBUG - (0.003192) SELECT COUNT(*) FROM "PUBLICATIONS" AND rownum <= :1
ERROR - ORA-00933: SQL command not properly ended (code: 933, sql state: , query: SELECT COUNT(*) FROM "PUBLICATIONS" AND rownum <= :1, uri: oracle:***@***?fragment=&query=&path=&port=&scheme=oracle&adapter=oracle&user=***&host=***&password=***)
```