Add DB_BACKEND_INMEMORY; deprecate InMemory::open()
commit946ffd8544be84b5eac15805316af06381d1a46f
authorOlly Betts <olly@survex.com>
Fri, 1 Apr 2016 04:26:12 +0000 (1 17:26 +1300)
committerOlly Betts <olly@survex.com>
Fri, 1 Apr 2016 04:26:12 +0000 (1 17:26 +1300)
treee3b43c606a51f6630604d6806a781ae3526eba29
parentf3a471c517f2bdfdb536697fbd8bb996949cca06
Add DB_BACKEND_INMEMORY; deprecate InMemory::open()

This makes inmemory more consistent with how other non-remote backends
are handled, and makes backend selection more easily parameterisable.

The filename argument in the constructors is currently unused with
DB_BACKEND_INMEMORY, but could be useful for future expansion (e.g.
to support named inmemory backends).
26 files changed:
xapian-bindings/csharp/SmokeTest.cs
xapian-bindings/csharp/docs/index.rst
xapian-bindings/java/SmokeTest.java
xapian-bindings/lua/docs/index.rst
xapian-bindings/lua/smoketest.lua
xapian-bindings/perl/perl.i
xapian-bindings/php/docs/index.rst
xapian-bindings/php/smoketest.php
xapian-bindings/python/docs/introduction.rst
xapian-bindings/python/pythontest.py
xapian-bindings/python/smoketest.py
xapian-bindings/python3/docs/introduction.rst
xapian-bindings/python3/pythontest.py
xapian-bindings/python3/smoketest.py
xapian-bindings/ruby/docs/index.rst
xapian-bindings/tcl8/docs/index.rst
xapian-bindings/xapian-headers.i
xapian-core/backends/dbfactory.cc
xapian-core/docs/deprecation.rst
xapian-core/include/xapian/constants.h
xapian-core/include/xapian/dbfactory.h
xapian-core/include/xapian/enquire.h
xapian-core/tests/api_anydb.cc
xapian-core/tests/generate-api_generated
xapian-core/tests/harness/backendmanager.cc
xapian-core/tests/queryparsertest.cc