Cosmetic: rename function escape_string to EscapeString

This commit is contained in:
Spp- committed 2011-06-30 14:52:44 +02:00
1 parent 6fd41ae50e
commit e9aa72cc7b
21 files changed
+43 -43

No files matched your search

+1 -1
View File
@@ -233,7 +233,7 @@ public:
else
{
std::string name = cId;
WorldDatabase.escape_string(name);
WorldDatabase.EscapeString(name);
result = WorldDatabase.PQuery(
"SELECT guid, id, position_x, position_y, position_z, orientation, map, phaseMask, (POW(position_x - %f, 2) + POW(position_y - %f, 2) + POW(position_z - %f, 2)) AS order_ "
"FROM gameobject, gameobject_template WHERE gameobject_template.entry = gameobject.id AND map = %i AND name "_LIKE_" "_CONCAT3_("'%%'", "'%s'", "'%%'")" ORDER BY order_ ASC LIMIT 1",