Percent signs in queries (Bug #861419)

Michael Smith <[email protected]>
Newsgroups gmane.text.refdb.devel
Message-ID <20031217121415.GC2900@theThirdPoliceman>
Markus Hoenicka <[email protected]> writes:

[...]

> Finally, if I use sqlite as a backend (as I did in my preliminary test
> yesterday), all queries for partial strings require a '%'. E.g. to
> find the author entry 'Walsh,N.', you'll either have to type the full
> string or use 'Walsh%'. However, the percent sign is interpreted
> by a format call before it is sent to refdbc, and Emacs complains
> about not getting enough arguments. Can you work around this issue?

I opened up bug #861419 for this

  http://sourceforge.net/tracker/index.php?func=detail&aid=861419&group_id=26091&atid=385991

And fixed it in v1.3. Please update your sandbox and let me know if it
works as expected now. I'm only testing with the Postgres backend, and
that supports full regex syntax instead of the SQL percent-sign stuff
(as far as I can know), so I can't test myself whether queries with
percent-signs work as expected. But I pretty sure that now that percent
signs should be getting passed through to refdbc verbatim, without Emacs
choking on them or munging them.

  --Mike
signature.asc (application/pgp-signature, 155 B)
-----BEGIN PGP SIGNATURE-----

iD8DBQE/4EiXsGCNMsnBsxkRAgNNAJ4ht303JEcpvri/ZNd4bwb5foBvWQCfaVDX
kr3LjYvCZ+60A0PRmWhxLMw=
=+aLm
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.