[asterisk-dev] SQL_ESC func_odbc.c

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Sun Nov 12 15:48:19 MST 2006


On Sunday 12 November 2006 15:27, Martin Vít wrote:
> it should be if (....) *out = '\\' instead of '\'' or am I missing
> something?

Nope.  To escape ticks portably, you double them.  Backslashing
ticks works only in MySQL, not in most databases.

-- 
Tilghman


More information about the asterisk-dev mailing list