Make Xapian initialization easier to read
Jeremy@kerneltr... - June 1, 2008 - 16:52
| Project: | xapian |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Define constants to make code more readable, specifically to make it more clear what _xapian_init_database() parameters mean.
If opening a writable database we call _xapian_init_database(XAPIAN_WRITABLE) instead of _xapian_init_database(TRUE). If flushing the database, we call _xapian_init_database(XAPIAN_WRITABLE, XAPIAN_FLUSH) instead of xapian_init_database(TRUE, TRUE). Purely cosmetic to make the code easier to follow.
| Attachment | Size |
|---|---|
| xapian.module.patch | 1.6 KB |

#1
#2
Automatically closed -- issue fixed for two weeks with no activity.