libdrizzle drizzle_escape_string does not function correctly

Bug #661431 reported by Andrew Hutchings
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
Medium
Andrew Hutchings
7.0
Fix Released
Medium
Andrew Hutchings

Bug Description

drizzle_escape_string is simply adding the '\' character before the value. So \n becomes the characters '\' and '\n' whereas it should become '\' and 'n'.

See escape_string_for_mysql in MySQL's mysys/charset.c for a more correct solution

Related branches

Changed in drizzle:
importance: Undecided → Medium
milestone: none → 2010-10-25
status: New → Triaged
Changed in drizzle:
status: Triaged → Fix Committed
Changed in drizzle:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.