Opened 13 years ago

Closed 13 years ago

#2921 closed patch (fixed)

Quote (") as string delimiter breaks MySQL 5

Reported by: havoc2@… Owned by: greg
Priority: minor Milestone: unknown
Component: mythgame Version: 0.20
Severity: medium Keywords:
Cc: Ticket locked: no

Description

All SQL queries uses the " character as string delimiter, this breaks (at least) MySQL 5. This patch changes the \" to the standard apostrophes '

Attachments (2)

noquotes.tar.gz (2.4 KB) - added by havoc2@… 13 years ago.
svn diff, 3 files
noquotes.1.patch (10.2 KB) - added by havoc2@… 13 years ago.
this one might suit better :)

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by havoc2@…

Attachment: noquotes.tar.gz added

svn diff, 3 files

Changed 13 years ago by havoc2@…

Attachment: noquotes.1.patch added

this one might suit better :)

comment:1 Changed 13 years ago by greg

Resolution: fixed
Status: newclosed

(In [12542])

Closes #2921 and changes instances of \" to ' to avoid problems

with some versions of MySQL.

Note: See TracTickets for help on using tickets.